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 geode with all npm packages installed. Try it out:

var geode = require("geode")

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

geode v1.0.0

wrapper for api


locations api in node from


npm install geode


you will need an account ~ its free #####Signup

var geo = new geode('username', {language: 'en', country : 'US'}){name :'Riverside'}, function(err, results){
    console.log([err, results])


Heres a simple Express App throwing up an api


The express code is just

var api = new Geode('username', {country: "US", language: 'en'});

app.get('/:collection.:format', function(req, res){
  if(req.params.collection && req.params.format){
    api[req.params.collection](req.query, function(err, collection){
      res[req.params.format]({status : 200, results : collection});


Make sure to install the development dependecies npm install --dev and then run.

USER=yourusername npm test


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