Trim your objects down.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
README.md
object-trim.js
package.json

README.md

#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