urban_couscous_9
v0.0.2
Published
one two three
Downloads
1
Readme
Install / Import
urban_couscous_9
is both a Deno and an NPM module!
Node:
$ npm install --save urban_couscous_9
import { myFunction, myObject } from "urban_couscous_9";
Specific import
import { myFunction } from "urban_couscous_9/myFunction";
import { myObject } from "urban_couscous_9/myObject";
Deno:
For the latest version:
import {
myFunction,
myObject,
} from "https://deno.land/x/urban_couscous_9/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/urban_couscous_9/myFunction.ts";
import { myObject } from "https://deno.land/x/urban_couscous_9/myObject.ts";
Import from HTML, with CDN
Import it via a bundle that creates a global ( wider browser support ):
<script src="//unpkg.com/urban_couscous_9/bundle.min.js"></script>
<script>
const { myFunction, myObject } = urban_couscous_9;
</script>
Or import it as an ES module:
<script type="module">
import {
myFunction,
myObject,
} from "//unpkg.com/urban_couscous_9/zz_esm/index.js";
</script>
You can specify the version you wish to import: unpkg.com
Contribute
npm install
npm run build
npm test