js-object-tools
TypeScript icon, indicating that this package has built-in type declarations

0.14.8 • Public • Published

js-object-tools Build Status Coverage Status

NPM

check

test the type of a JS primitive without the usual bs between dates and objects, or strings and numbers

for example

check(new Date(), Object);
// returns false
check('0', Number);
// returns false
check(0, Number);
// returns true
check(0, undefined);
// returns false

diff

Some helpful methods for diff, merge, clone, flatten, etc ...

see test folder for examples

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.14.84latest

Version History

VersionDownloads (Last 7 Days)Published
0.14.84
0.14.70
0.14.60
0.14.40
0.13.40
0.14.50
0.14.00
0.13.20
0.13.10
0.13.00
0.12.90
0.12.80
0.12.70
0.12.60
0.12.50
0.12.40
0.12.30
0.12.20
0.12.00
0.11.20
0.11.10
0.11.00
0.9.110
0.9.100
0.9.90
0.9.80
0.9.70
0.9.60
0.9.50
0.9.40
0.9.30
0.9.20
0.9.10
0.9.00

Package Sidebar

Install

npm i js-object-tools

Weekly Downloads

4

Version

0.14.8

License

none

Last publish

Collaborators

  • 1e1f