cleanr

0.2.5 • Public • Published

Cleanr

Installation

npm install [--save] cleanr

Usage

const clean = require('cleanr');
 
const object = {...}
 
console.log(clean(object));

This will log object without the empty parameters to the console.

What is empty

  • {}
  • []
  • '' & ' '
  • undefined

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i cleanr

Weekly Downloads

6

Version

0.2.5

License

MIT

Last publish

Collaborators

  • tobihrbr
  • tobi~