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