0.0.1 • Published 4 years ago
congenial-potato-kay v0.0.1
Install / Import
$ npm install --save congenial-potato-kay
import { myFunction, myObject } from "congenial-potato-kay";
Specific imports:
import { myFunction } from "congenial-potato-kay/myFunction";
import { myObject } from "congenial-potato-kay/myObject";
Import from HTML, with CDN
Import it via a bundle that creates a global ( wider browser support ):
<script src="//unpkg.com/congenial-potato-kay/bundle.min.js"></script>
<script>
const { myFunction, myObject } = congenial_potato_kay;
</script>
Or import it as an ES module:
<script type="module">
import {
myFunction,
myObject,
} from "//unpkg.com/congenial-potato-kay/zz_esm/index.js";
</script>
You can specify the version you wish to import: unpkg.com
Contribute
npm install
npm run build
npm test
0.0.1
4 years ago