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