Objeneric is a library that lets you manipulated objects and cast them to many data-types/resources.
By npm:
npm install objeneric --save
You can use CommmonJS require such as follow:
var objeneric = require("objeneric");
Then use it's API.
Useful for example when sending HTTP requests with URL params.
var uri = objeneric.toURI({ foo: "some object" });
That will set uri to foo=some%20object