Skip to content

💊 1kb tiny convert null value from any type of value to undefined.

License

Notifications You must be signed in to change notification settings

rohmanhm/nullfined

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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