🚀  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
@fontsource/exo-2
Lotus <declininglotus@gmail.com>
MIT
@julian_cataldo/astro-lightbox
Julian Cataldo
ISC
@julian_cataldo/astro-resets
Julian Cataldo
ISC
@wbmnky/license-report-generator
Sebastian Roming
MIT
asciinema-player
Marcin Kulik
Apache-2.0
astro
withastro
MIT
astro-base-document
Julian Cataldo
ISC
astro-google-analytics
Julian Cataldo
ISC
astro-page-transition
Julian Cataldo
ISC
d3-collection
Mike Bostock
BSD-3-Clause
d3-voronoi
Mike Bostock
BSD-3-Clause
glob
Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)
ISC
glob-promise
Ahmad Nassri <ahmad@ahmadnassri.com> (https://www.ahmadnassri.com/)
MIT
is-fullwidth-code-point
Sindre Sorhus
MIT
-
leaflet
-
BSD-2-Clause
mermaid
Knut Sveidqvist
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
rehype-rewrite
Kenny Wong <wowohoo@qq.com>
MIT
remark-gfm
Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)
MIT
-
sass
Natalie Weizenbaum
MIT
tr46
Sebastian Mayr <npm@smayr.name>
MIT
tsparticles
Matteo Bruni <matteo.bruni@me.com>
MIT
tsparticles-preset-stars
Matteo Bruni
MIT
unist-util-visit
Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)
MIT
-
webidl-conversions
Domenic Denicola <d@domenic.me> (https://domenic.me/)
BSD-2-Clause
-
whatwg-url
Sebastian Mayr <github@smayr.name>
MIT
-

🚀  Astro — Packages licenses report generator

NPM Downloads ISC License PRs Welcome
Astro TypeScript Prettier EditorConfig ESLint

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 @wbmnky/license-report-generator astro-licenses-report

🛠  Usage

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

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

  <!-- ... -->
</body>

🎉  Result

<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
packagePath
string
false
process.cwd()
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.8.4 (2023-03-15)

Bug Fixes

  • LicensesReport: proper fallback if no URL is defined for a package (1e6479b)

0.8.3 (2023-01-05)

Note: Version bump only for package astro-licenses-report

0.8.2 (2022-11-19)

Bug Fixes

0.8.1 (2022-10-17)

Bug Fixes

0.8.1 (2022-10-17)

Bug Fixes

0.8.0 (2022-10-17)

Features

  • add more classes + fix html structure (97edd0c)
  • add package path option + extract prop types (be90d05)
  • add smart cache capability (f0df55b)
  • better defaults for licenses report (09e1e42)
  • init licenses report component (ce3dbef)
  • ts properties extractor for docs (9a8e65e)

Bug Fixes

  • auto-formatter bug with table dom (bcfad42)
  • remove package prefix, simplify import method (73bd31b)

0.14.2 (2022-09-22)

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

0.14.1 (2022-08-20)

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

0.14.0 (2022-08-06)

Features

  • add package path option + extract prop types (be90d05)
  • add smart cache capability (f0df55b)

0.13.3 (2022-07-31)

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

0.13.2 (2022-07-30)

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

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)
...

Licenses

Package
Author
License
URL
@wbmnky/license-report-generator
Sebastian Roming
MIT
minimist
James Halliday
MIT

⚠️  Having an issue? / 🗣   Wanna share feedback or suggestion?

✍️  Open an Issue or a Pull Request   on GitHub -or-   Contact me   on my Website.