nullfined
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Nullfined

Greenkeeper badge Build Status

Convert null value from any type of value to undefined.

Install

Using NPM

npm install --save nullfined

or you may consider using Yarn

yarn add nullfined

Usage

nullfined(value)

Example

// ES6 import module
import nullfined from 'nullfined';
 
nullfined(null) // return undefined

it also support object and array recursively. Like Vaper does

Related

  • Vaper ~ 1kb Value Replacer any type recursively

License

MIT © Roman Masyhar

Readme

Keywords

none

Package Sidebar

Install

npm i nullfined

Weekly Downloads

9

Version

1.1.0

License

MIT

Unpacked Size

8.26 kB

Total Files

34

Last publish

Collaborators

  • rohmanhm