curly_carnival_kay
v0.0.1
Published
so so
Downloads
3
Readme
Install / Import
curly_carnival_kay
is both a Deno and an NPM module.
Node:
$ npm install --save curly_carnival_kay
import { myFunction, myObject } from "curly_carnival_kay";
Specific import
import { myFunction } from "curly_carnival_kay/myFunction";
import { myObject } from "curly_carnival_kay/myObject";
Deno:
For the latest version:
import {
myFunction,
myObject,
} from "https://deno.land/x/curly_carnival_kay/mod.ts";
To import a specific release:
import {
myFunction,
myObject,
} from "https://deno.land/x/[email protected]/mod.ts";
Specific imports:
import { myFunction } from "https://deno.land/x/curly_carnival_kay/myFunction.ts";
import { myObject } from "https://deno.land/x/curly_carnival_kay/myObject.ts";
Import from HTML, with CDN
Import it via a bundle that creates a global ( wider browser support ):
<script src="//unpkg.com/curly_carnival_kay/bundle.min.js"></script>
<script>
const { myFunction, myObject } = curly_carnival_kay;
</script>
Or import it as an ES module:
<script type="module">
import {
myFunction,
myObject,
} from "//unpkg.com/curly_carnival_kay/zz_esm/index.js";
</script>
You can specify the version you wish to import, see unpkg.com
Contribute
npm install
npm run build
npm test