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

1.0.1 • Public • Published

💨 Vaper

Greenkeeper badge Build Status

Convert from x value from any type of value to z value.

Install

Using NPM

npm install --save vaper

or you may consider using Yarn

yarn add vaper

Usage

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

Readme

Keywords

none

Package Sidebar

Install

npm i vaper

Weekly Downloads

17

Version

1.0.1

License

MIT

Unpacked Size

54 kB

Total Files

175

Last publish

Collaborators

  • rohmanhm