@drmyersii/dictionary.js

0.0.0 • Public • Published

dictionary.js

A sortable Dictionary data structure for JavaScript (or Node).

usage

// include the package
var Dict = require('dictionaryjs');

// use the dictionary
var dict = new Dict();

dict.set('hello', 'world');
dict.set('rick', 'morty');

// retrieve the value of 'hello'
var hello = dict.get('hello');

Package Sidebar

Install

npm i @drmyersii/dictionary.js

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • drmyersii