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

Readme

Keywords

Package Sidebar

Install

npm i @rukien/tests-npm-packages

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

1.63 kB

Total Files

6

Last publish

Collaborators

  • rukien