Advanced plain object handling, manipulation and extraction.
# npm i @squirrel-forge/node-objection
Get the module reference.
const objm = require( '@squirrel-forge/node-objection' );
Following methods/functions are available:
objm.cloneObject( source, recursive = false ) : Object
objm.isPojo( obj ) : boolean
objm.mergeArray( [ unique, clone,] array1, array2[, ...] ) : Array
objm.mergeObject( target, changes, extend = false, recursive = false, arrayClone = false, noArray = false ) : Object
objm.strAccess( strpath, subject, exact = true, debug = console ) : *
objm.strCreate( strpath, value, target, replace = false, any = false, debug = console ) : Object