Skip to content

Useful abstractions over JavaScript's native collections (Map and Set) for Deno, Node.js and browsers.

Notifications You must be signed in to change notification settings

retroscepter/supersets

Repository files navigation

supersets Deno CI Coverage Status

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 */

This module has first-class Deno support, documentation will always be available at doc.deno.land.

About

Useful abstractions over JavaScript's native collections (Map and Set) for Deno, Node.js and browsers.

Topics

Resources

Stars

Watchers

Forks

Languages