supersets
v1.1.3
Published
Useful abstractions over JavaScript's native collections (Map and Set).
Downloads
7
Readme
supersets
Useful abstractions over JavaScript's native collections (Map and Set) for Deno, Node.js and browsers.
Installation
For Deno projects, refer to the usage example below.
For Node.js or webpack projects, install with the NPM package manager:
npm install --save supersets
For use in the browser without a bundler, include this script tag in your HTML.
<script src="https://unpkg.com/[email protected]/dist/supersets.js"></script>
Usage
// commonjs module
const { Supermap } = require('supersets')
// esmodules
import { Supermap } from 'supersets'
// deno
import { Supermap } from 'https://deno.land/x/[email protected]/mod.ts'
// in the browser
const { Supermap } = window.Supersets
/* TODO */
Documentation
This module has first-class Deno support, documentation will always be available at doc.deno.land.