Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

miguelmota/dictnr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dictnr v0.0.1

Lightweight dictionary

Install

Available via Bower

bower install dictnr

Available via npm

npm install dictnr

Usage

var d = dictnr({
  foo: 'bar'
});

d.get('foo'); // 'bar'

d.set('baz', 'qux');

d.get('baz'); // 'qux'

d.size(); // 2

d.remove('baz');

d.get('baz'); // undefined

d.clear();

d.size(); // 0

Test

Using Jasmine for tests

gulp test

Build

gulp build

License

Released under the MIT License.

About

Lightweight JavaScript dictionary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published