rohmanhm / nullfined

πŸ’Š 1kb tiny convert null value from any type of value to undefined.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

πŸ’Š 1kb tiny convert null value from any type of value to undefined.

License:MIT License


Languages

Language:JavaScript 92.1%Language:TypeScript 7.9%