https://github.com/threeletters/quickmap
A very fast map
https://github.com/threeletters/quickmap
Last synced: about 2 months ago
JSON representation
A very fast map
- Host: GitHub
- URL: https://github.com/threeletters/quickmap
- Owner: ThreeLetters
- License: other
- Created: 2016-09-04T00:56:37.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-30T19:27:55.000Z (over 9 years ago)
- Last Synced: 2025-02-23T16:23:28.686Z (over 1 year ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![NPM] (https://img.shields.io/badge/Module-Npm-blue.svg)] (https://www.npmjs.com/package/quickmap)
[![Donate] (https://img.shields.io/badge/Donate-Paypal-brightgreen.svg)] (https://paypal.me/andrews54757)
# QuickMap
A very fast map
## Installation
> npm install quickmap
### Usage
```
var Quickmap = require('quickmap');
var quickmap = new Quickmap();
```
### Functions
1. set(id,node) Inserts an item
2. get(id) Gets an item
3. delete(id) removes an item
4. toArray() Converts to an Array
5. forEach
6. every
7. forEachInteg Integritous forEach
8. everyInteg Integritous every
9. clean() cleans the system