Useful abstractions over JavaScript's native collections (Map and Set) for Deno, Node.js and browsers.
Repository
Current version released
4 years ago
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/binlingo@0.0.3/dist/supersets.js"></script>
Usage
// commonjs module
const { Supermap } = require('supersets')
// esmodules
import { Supermap } from 'supersets'
// deno
import { Supermap } from 'https://deno.land/x/supersets@0.0.3/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.