npm.io
2.2.3 • Published 1 month ago

@jsopen/objects

Licence
MIT
Version
2.2.3
Deps
1
Size
21 kB
Vulns
0
Weekly
0

@jsopen/objects

NPM Version NPM Downloads CI Tests Test Coverage

A 'swiss army knife' solution for working with javascript objects.

Functions

merge

Is a powerful, flexible tool for merging objects, arrays, and their nested properties.

clone / deepClone

Easy ways to create shallow or deep copies of objects and arrays.

omit / omitUndefined / omitNull / omitNullish

Easily exclude specific keys or nullish values from objects.

updateErrorMessage

Update an Error object's message while correctly refreshing the stack trace.

Utilities

Various utility functions for object and type checking.

Installation

$ npm install @jsopen/objects

Node Compatibility

  • node >= 16;
License

MIT

Keywords