Provides a collection of lightweight helpers and utilities for Node.js projects.
Go to file
2017-07-05 14:37:30 +02:00
dist add loop tracker 2017-07-05 14:29:08 +02:00
test improve tests 2017-07-05 14:37:26 +02:00
ts add loop tracker 2017-07-05 14:29:08 +02:00
.gitignore now adhering to standard js added getStringArray method 2016-09-21 13:44:11 +02:00
.gitlab-ci.yml update ci 2017-06-17 14:45:23 +02:00
npmextra.json add loop tracker 2017-07-05 14:29:08 +02:00
package.json 1.0.38 2017-07-05 14:37:30 +02:00
README.md update README 2017-04-09 16:40:34 +02:00
tslint.json now adhering to standard js added getStringArray method 2016-09-21 13:44:11 +02:00
yarn.lock update dependencies 2017-06-30 17:19:58 +02:00

lik

light little helpers for node

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

// import any tool that you need from lik
import { Stringmap, Objectmap, Observablemap } from "lik";

class Stringmap

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

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.

class Observablemap

Event Emitters are nice. However often times you end up with registering multiple listeners for the exact same thing. Observables have a smaller footprint and a more manageable subscribe logic. Observablemap registers only one rxjs observable per event and then continues to reference the same observable that you can subscribe to.

For further information read the linked docs at the top of this README.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer