Convert null value from any type of value to undefined.
Using NPM
npm install --save nullfined
or you may consider using Yarn
yarn add nullfined
nullfined(value)
// ES6 import module
import nullfined from 'nullfined';
nullfined(null) // return undefined
it also support object and array recursively. Like
Vaper
does
- Vaper ~ 1kb Value Replacer any type recursively
MIT © Roman Masyhar