Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.18 KB

File metadata and controls

38 lines (26 loc) · 1.18 KB

@imqueue/js

Build Status codebeat badge Coverage Status Known Vulnerabilities License

JavaScript routines used withing @imqueue framework

Docs

git clone git@github.com:imqueue/js.git
npm run docs

Usage

import { js, object } from '@imqueue/js';
import isObject = js.isObject;
import get = object.get;

const obj = { { a: { b: { c: true } } } };

if (!isObject(obj)) {
    throw new TypeError('Object required!');
}

console.log(get(obj, 'a.b.c'));

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE