object-trim

0.0.2-1 • Public • Published

Object Trim

Sometimes objects are too big...

Usage

var objectTrim = require('object-trim');
 
var obj = {
  "this": "Object",
  "is" : "just",
  "too": "darn",
  "big": "ya know?"
};
 
var newObj = objectTrim(obj, 2);  // { "this": "Object", "is": "just" }

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i object-trim

Weekly Downloads

149

Version

0.0.2-1

License

MIT

Last publish

Collaborators

  • taterbase