JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q51710F
  • License ISC

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.

Package Exports

  • astro-licenses-report
  • astro-licenses-report/index.ts

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (astro-licenses-report) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

🚀  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>