1.0.1 • Published 7 years ago
vaper v1.0.1
💨 Vaper
Convert from x value from any type of value to z value.
Install
Using NPM
npm install --save vaperor you may consider using Yarn
yarn add vaperUsage
vaper(defaultValue, newValue)(source)Example
// es6
import vaper from 'vaper';
vaper('foo', 'bar')('foo') // return 'bar'it also support object and array recursively
Related
- Nullfined - Convert any null value to undefined
License
MIT © Roman Masyhar