@kadesign/toolbox-js
v0.1.4
Published
Bunch of small utility functions
Downloads
7
Readme
toolbox-js
Bunch of small utility functions
Usage
Installation
npm install @kadesign/toolbox-js
Import
From global scope
// ESM
import * as toolbox from '@kadesign/toolbox-js';
import { isObjectEmpty } from '@kadesign/toolbox-js';
// CommonJS
const toolbox = require('@kadesign/toolbox-js');
const { isObjectEmpty } = require('@kadesign/toolbox-js');
From module
// ESM
import * as obj from '@kadesign/toolbox-js/esm/object.js';
import { isObjectEmpty } from '@kadesign/toolbox-js/esm/object.js';
// CommonJS
const obj = require('@kadesign/toolbox-js/cjs/object.js');
const { isObjectEmpty } = require('@kadesign/toolbox-js/cjs/object.js');