potential_octo_meme
v0.0.2
Published
Oui
Downloads
3
Readme
Install / Import
Node:
> npm install --save potential_octo_meme
import { myFunction, myObject } from 'potential_octo_meme';
Specific import
import { myFunction } from 'potential_octo_meme/myFunction'
import { myObject } from 'potential_octo_meme/myObject'
Deno:
For the latest version:
import { myFunction, myObject } from 'https://deno.land/x/potential_octo_meme/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/potential_octo_meme/myFunction.ts';
import { myObject } from 'https://deno.land/x/potential_octo_meme/myObject.ts';
Import from CDN
Expose a global ( wilder browser support):
<script src="//unpkg.com/potential_octo_meme/umd_bundle.min.js"></script>
<script>
var { myFunction, myObject } = window['potential_octo_meme'];
</script>
Or import as an ES module:
<script type="module" src="//unpkg.com/potential_octo_meme/zz_esm/index.js"></script>
<script>
import { myFunction, myObject } from 'potential_octo_meme';
</script>