DeepStrike
There's lodash, there's underscore - and there's all the little helpers I wrote for my self.
Install
The library is not available via npm
yet but you can install it directly from GitHub:
$ npm install git+ssh://git@github.com/frederikheld/deepstrike.git
Usage
Just require the package into a constant of your choice and access the functions via this constant:
const ö = require('deepstrike')
const patched = ö.patchObject({ foo: 1, bar: 2 }, { bar: 3 })
The OG constant name for DeepStrike is the ö
because it's fun to look at this guy who's so impressed about how much easier it is to work with DeepStrike than writing all the functions themselves. If this character is not available on your keyboard, I recommend to use the name ds
instead.
Features
There's one JavaScript file per available function in the lib
directory. You will find the documentation of each function in its respective file.
If you need additional details and usage examples, please look into the tests. For each function in lib
there's a corresponding test spec in tests
.