2017-08-27 20:18:15 +02:00
|
|
|
# lik
|
2018-07-15 16:04:27 +02:00
|
|
|
|
2017-08-27 20:18:15 +02:00
|
|
|
light little helpers for node
|
|
|
|
|
|
|
|
## Availabililty
|
2018-07-15 16:04:27 +02:00
|
|
|
|
2017-08-27 20:18:15 +02:00
|
|
|
[](https://www.npmjs.com/package/lik)
|
|
|
|
[](https://GitLab.com/pushrocks/lik)
|
|
|
|
[](https://github.com/pushrocks/lik)
|
|
|
|
[](https://pushrocks.gitlab.io/lik/)
|
|
|
|
|
|
|
|
## Status for master
|
2018-07-15 16:04:27 +02:00
|
|
|
|
2017-08-27 20:18:15 +02:00
|
|
|
[](https://GitLab.com/pushrocks/lik/commits/master)
|
|
|
|
[](https://GitLab.com/pushrocks/lik/commits/master)
|
|
|
|
[](https://www.npmjs.com/package/lik)
|
|
|
|
[](https://david-dm.org/pushrocks/lik)
|
|
|
|
[](https://www.bithound.io/github/pushrocks/lik/master/dependencies/npm)
|
|
|
|
[](https://www.bithound.io/github/pushrocks/lik)
|
|
|
|
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
|
|
|
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
|
|
|
[](http://standardjs.com/)
|
|
|
|
|
|
|
|
## Usage
|
2018-07-15 16:04:27 +02:00
|
|
|
|
2017-08-27 20:18:15 +02:00
|
|
|
Use TypeScript for best in class instellisense.
|
|
|
|
|
|
|
|
```javascript
|
|
|
|
// import any tool that you need from lik
|
2018-07-15 16:04:27 +02:00
|
|
|
import { Stringmap, Objectmap, Observablemap } from 'lik';
|
2017-08-27 20:18:15 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
### class Stringmap
|
2018-07-15 16:04:27 +02:00
|
|
|
|
2017-08-27 20:18:15 +02:00
|
|
|
Stringmap allows you to keep track of strings. It allows you to register triggers for certain events
|
|
|
|
like when a certain string is removed or added to the map
|
|
|
|
|
|
|
|
### class Objectmap
|
2018-07-15 16:04:27 +02:00
|
|
|
|
2017-08-27 20:18:15 +02:00
|
|
|
Sometimes you need to keep track of objects, but implementing logic for removing, finding or updating is tedious.
|
|
|
|
Objectmap takes care of keeping track of objects for you.
|
|
|
|
|
|
|
|
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
2018-07-15 16:04:27 +02:00
|
|
|
> | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
|
2017-08-27 20:18:15 +02:00
|
|
|
|
|
|
|
[](https://push.rocks)
|