Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including node-cooperhewitt with all npm packages installed. Try it out:

var nodeCooperhewitt = require("node-cooperhewitt")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-cooperhewitt v0.0.2

a little node module to talk to the cooper-hewitt api


A little node module to call into the cooperhewitt api

You can get a API TOKEN pretty easily right here.

To install it, just do this:

$ npm install node-cooperhewitt

And then in your project somewhere, do something like this:

var cooperhewitt = require('node-cooperhewitt')

var api_token = '<YOUR API TOKEN>';

var method = 'cooperhewitt.objects.getRandom';
var args = {'access_token': api_token};, args, function(rsp){   
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free