Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.28 KB

File metadata and controls

40 lines (28 loc) · 1.28 KB

@imqueue/js

Build Status npm version Known Vulnerabilities License

JavaScript routines used within the @imqueue framework.

Using an AI assistant? Point it at imqueue.org/llms.txt for a machine-readable index of the docs. Current version, licence and Node floor for every package: imqueue.org/status.json.

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