πŸš€Β Β Astro β€” Packages licenses report generator


Give credits to the awesome JS open-source community with this component. It will generate a table with important informations about packages used by your project.

Keywords:

  • astro
  • astro-component
  • license
  • npm
  • registry
  • dependencies
  • attributions
  • generate
  • table
  • report
  • author
  • developer
  • credits

Component live demo

Comes unstyled.
This component is easily stylable, and fully accessible.


Dependencies of the current website you are visiting (depth is set to 1):
Nom
Auteur
License
URL
@docsearch/react
Algolia, Inc.
MIT
@fontsource/exo-2
Lotus <declininglotus@gmail.com>
MIT
@julian_cataldo/astro
Julian Cataldo
ISC
@julian_cataldo/astro-base
Julian Cataldo
ISC
@julian_cataldo/astro-breakpoints
Julian Cataldo
ISC
@julian_cataldo/astro-color-mode
Julian Cataldo
ISC
@julian_cataldo/astro-licenses-report
Julian Cataldo
ISC
@julian_cataldo/astro-lightbox
Julian Cataldo
ISC
@julian_cataldo/astro-link
Julian Cataldo
ISC
@julian_cataldo/astro-media-map
Julian Cataldo
ISC
@julian_cataldo/astro-prefetch
Julian Cataldo
ISC
@julian_cataldo/astro-resets
Julian Cataldo
ISC
@julian_cataldo/astro-scroll-observer
Julian Cataldo
ISC
@julian_cataldo/astro-seo
Julian Cataldo
ISC
@julian_cataldo/astro-tooltips
Julian Cataldo
ISC
@julian_cataldo/astro-transition
Julian Cataldo
ISC
@wbmnky/license-report-generator
Sebastian Roming
MIT
asciinema-player
Marcin Kulik
Apache-2.0
astro
withastro
MIT
core-util-is
Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)
MIT
glob
Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)
ISC
glob-promise
Ahmad Nassri <ahmad@ahmadnassri.com> (https://www.ahmadnassri.com/)
MIT
heroicons
-
MIT
is-fullwidth-code-point
Sindre Sorhus
MIT
leaflet
-
BSD-2-Clause
mermaid.cli
Tyler Long <tyler4long@gmail.com>
MIT
p-try
Sindre Sorhus
MIT
path-is-absolute
Sindre Sorhus
MIT
pseudomap
Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)
ISC
react-dom
-
MIT
sass
Natalie Weizenbaum
MIT
tsparticles
Matteo Bruni <matteo.bruni@me.com>
MIT
tsparticles-preset-stars
Matteo Bruni
MIT

πŸš€Β Β Astro β€” Packages licenses report generator

Give credits to the awesome JS open-source community with this component.
It will generate a table with important informations about packages used by your project.

Uses Sebastian Roming’ license-report-generator under the hood (see @wbmnky/license-report-generator).

πŸ“¦Β Β Installation

pnpm i @julian_cataldo/astro-licenses-report

πŸ› Β Β Usage

---
import LicensesReport from '@julian_cataldo/astro-licenses-report/LicensesReport.astro';
// ...
---
<!-- ... -->
<body>
  <!-- Place component inside BODY tag -->

  <!-- All properties are optional -->
  <LicensesReport
    useDevDependencies={true}
    depth={2}
    nameText={'Nom'}
    authorText={'Auteur'}
    licenseText={'License'}
    linkText={'URL'}
  />

  <!-- ... -->
</body>
<table class="licenses-report">
  <thead class="table-header">
    <tr class="row">
      <th class="header name">Package</th>
      <th class="header author">Author</th>
      <th class="header license">License</th>
      <th class="header link">URL</th>
    </tr>
  </thead>

  <tbody class="table-body">
    <tr class="row">
      <td class="column name">@astrojs/compiler</td>

      <td class="column author">withastro</td>

      <td class="column license">MIT</td>

      <td class="column link">
        <a
          class="link is-external"
          href="https://astro.build"
          target="_blank"
          rel="noopener nofollow"
        >
          https://astro.build
        </a>
      </td>
    </tr>

    <!-- ... -->
  </tbody>
</table>

TypeScript API

Extends: astroHTML.JSX.TableHTMLAttributes


name
type
required
default
depth
number
false
2
useDev
boolean
false
true
nameText
string
false
'Package'
authorText
string
false
'Author'
licenseText
string
false
'License'
linkText
string
false
'URL'

Changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.13.1 (2022-07-24)

Note: Version bump only for package @julian_cataldo/astro-licenses-report

0.13.0 (2022-07-18)

Features

  • ts properties extractor for docs (9a8e65e)

0.12.0 (2022-06-28)

Features

  • better defaults for licenses report (09e1e42)

0.11.1 (2022-06-26)

Note: Version bump only for package @julian_cataldo/astro-licenses-report

0.11.0 (2022-06-25)

Features

  • add more classes + fix html structure (97edd0c)

0.10.1 (2022-06-25)

Note: Version bump only for package @julian_cataldo/astro-licenses-report

0.10.0 (2022-06-24)

Features

  • init licenses report component (ce3dbef)

Bug Fixes

  • auto-formatter bug with table dom (bcfad42)
...