shiny_waffle
v0.0.1
Published
A cool module that does things
Downloads
5
Readme
Install / Import
Node:
$ npm install --save shiny_waffleimport { myFunction, myObject } from 'shiny_waffle'; Specific import
import { myFunction } from 'shiny_waffle/myFunction';
import { myObject } from 'shiny_waffle/myObject';Deno:
For the latest version:
import { myFunction, myObject } from 'https://deno.land/x/shiny_waffle/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/shiny_waffle/myFunction.ts';
import { myObject } from 'https://deno.land/x/shiny_waffle/myObject.ts';Import from HTML, with CDN
Expose a global (wider browser support):
<script src="//unpkg.com/shiny_waffle/umd_bundle.min.js"></script>
<script>
var myFunction = shiny_waffle.myFunction;
</script>Or import as an ES module:
<script type="module" src="//unpkg.com/shiny_waffle/zz_esm/index.js"></script>
<script>
import { myFunction, myObject } from 'shiny_waffle';
</script>