0.0.1 • Published 4 years ago

shiny_waffle v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Install / Import

Node:

$ npm install --save shiny_waffle
import { 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/shiny_waffle@0.1.0/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>
0.0.1

4 years ago