Home - Documentation - Chat
> 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'
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/potential_octo_meme@0.1.0/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';
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>