0.1.1 • Published 5 years ago
structs v0.1.1
structs
Installation
Using npm:
$ npm i structsUsing yarn:
$ yarn add structsUsing jsDelivr CDN:
<script src="https://cdn.jsdelivr.net/npm/structs"></script>Using unpkg CDN:
<script src="https://unpkg.com/structs"></script>Usage
In Node.js:
// Load a specific class using destructuring (recommended)
const { HashSet } = require('structs')
const set = new HashSet([7, 69, 999, 'chidori', 7, 'chidori'])
// > [ 7, 69, 999, 'chidori' ]
// Load full build
const structs = require('structs')
const set = new structs.HashSet([7, 69, 999, 94, 69, 420])
// > [ 7, 69, 94, 420, 999 ]With TypeScript:
import { HashSet } from 'structs'
const set = new HashSet<string>(['rick', 'patrick', 'madara', 'bulma'])
// > [ 'rick', 'patrick', 'madara', 'bulma' ]License
structs is MIT licensed
0.1.1
5 years ago
0.1.0
5 years ago
0.0.0-alpha.4
5 years ago
0.0.0-alpha.2
5 years ago
0.0.0-alpha.6
5 years ago
0.0.0-alpha.1
5 years ago
0.0.0-alpha
5 years ago
0.0.0
5 years ago