Narcissistic Project Managers
    Have ideas to improve npm?Join in the discussion! »

    @rukien/tests-npm-packages

    1.0.3 • Public • Published

    TNP

    Just testing how using rollup to build a library exposed through npm & a CDN (jsdelivr) as an iife.

    Loading using an iife directly from CDN

    The iife expose a tnp variable.

    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@rukien/tests-npm-packages@1.0.3/dist/tnp.min.js"></script>
    <script type="text/javascript">
      tnp.foo()
    </script>

    Keywords

    Install

    npm i @rukien/tests-npm-packages

    DownloadsWeekly Downloads

    5

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    1.63 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar