@rukien/tests-npm-packages
v1.0.3
Published
Just testing again how to publish packages on npm
Readme
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/[email protected]/dist/tnp.min.js"></script>
<script type="text/javascript">
tnp.foo()
</script>