lik/README.md

44 lines
2.0 KiB
Markdown
Raw Permalink Normal View History

# @pushrocks/lik
2016-07-21 22:16:45 +00:00
light little helpers for node
## Availabililty and Links
* [npmjs.org (npm package)](https://www.npmjs.com/package/@pushrocks/lik)
* [gitlab.com (source)](https://gitlab.com/pushrocks/lik)
* [github.com (source mirror)](https://github.com/pushrocks/lik)
* [docs (typedoc)](https://pushrocks.gitlab.io/lik/)
2016-09-21 11:57:23 +00:00
## Status for master
[![build status](https://gitlab.com/pushrocks/lik/badges/master/build.svg)](https://gitlab.com/pushrocks/lik/commits/master)
[![coverage report](https://gitlab.com/pushrocks/lik/badges/master/coverage.svg)](https://gitlab.com/pushrocks/lik/commits/master)
[![npm downloads per month](https://img.shields.io/npm/dm/@pushrocks/lik.svg)](https://www.npmjs.com/package/@pushrocks/lik)
[![Known Vulnerabilities](https://snyk.io/test/npm/@pushrocks/lik/badge.svg)](https://snyk.io/test/npm/@pushrocks/lik)
[![TypeScript](https://img.shields.io/badge/TypeScript->=%203.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
[![node](https://img.shields.io/badge/node->=%2010.x.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-prettier-ff69b4.svg)](https://prettier.io/)
2016-07-21 22:16:45 +00:00
## Usage
2017-04-09 14:40:34 +00:00
Use TypeScript for best in class instellisense.
2016-07-21 22:16:45 +00:00
2017-04-09 14:40:34 +00:00
```javascript
2016-07-21 22:16:45 +00:00
// import any tool that you need from lik
2018-07-15 14:04:27 +00:00
import { Stringmap, Objectmap, Observablemap } from 'lik';
2016-09-21 11:51:37 +00:00
```
2016-09-23 08:20:20 +00:00
### class Stringmap
2016-09-23 08:20:20 +00: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
2016-09-23 08:20:20 +00: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.
For further information read the linked docs at the top of this readme.
2017-04-09 14:40:34 +00:00
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
2019-08-25 13:58:00 +00:00
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
2017-04-09 14:40:34 +00:00
2019-08-25 13:58:00 +00:00
[![repo-footer](https://lossless.gitlab.io/publicrelations/repofooter.svg)](https://maintainedby.lossless.com)