Installation
npm install --save @v57/strip
Usage
const strip = require('@v57/strip')
let a
let b = 0
let c = '1'
console.log(strip({ a, b, c }))
// prints { b: 0, c: '1' }
npm install --save @v57/strip
const strip = require('@v57/strip')
let a
let b = 0
let c = '1'
console.log(strip({ a, b, c }))
// prints { b: 0, c: '1' }
npm i @v57/strip
2
1.0.5
MIT
1.3 kB
4