node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

simplegeo-client

simplegeo

A NodeJS library for SimpleGeo with convenience methods for SimpleGeo api endpoints.

var SimpleGeo = require('simplegeo').SimpleGeo;

var sg = new SimpleGeo('key','secret');
sg.getLayers(function (err,data) { 
    for (i in data) {
        if (data.hasOwnProperty(i)) {
            console.log(data[i]);
        }
    }
});