literate_octo_carnival_key
v0.0.1
Published
I sick and tired of this
Downloads
3
Readme
Install / Import
literate_octo_carnival_key
is both a Deno and an NPM module.
Node:
$ npm install --save literate_octo_carnival_key
import { myFunction, myObject } from "literate_octo_carnival_key";
Specific import
import { myFunction } from "literate_octo_carnival_key/myFunction";
import { myObject } from "literate_octo_carnival_key/myObject";
Deno:
For the latest version:
import {
myFunction,
myObject,
} from "https://deno.land/x/literate_octo_carnival_key/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/literate_octo_carnival_key/myFunction.ts";
import { myObject } from "https://deno.land/x/literate_octo_carnival_key/myObject.ts";
Import from HTML, with CDN
Import it via a bundle that creates a global ( wider browser support ):
<script src="//unpkg.com/literate_octo_carnival_key/bundle.min.js"></script>
<script>
const { myFunction, myObject } = literate_octo_carnival_key;
</script>
Or import it as an ES module:
<script type="module">
import {
myFunction,
myObject,
} from "//unpkg.com/literate_octo_carnival_key/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