cartodb-es6-data-backend
v0.0.5
Published
Standalone data backend for fetching cartodb data with elastic-search-like syntax
Downloads
6
Maintainers
Readme
CSV Backend for es6
Fetch and query cartodb data from using elastic-search-like syntax.
Quickstart
npm install cartodb-es6-data-backend
import Cartodb from 'cartodb-es6-data-backend';
const config = {
user: 'username',
table: 'table.name'
}
Cartodb.fetch(config)
.then(data => {
// use your data wisely
})
.catch(e => {
// handle exception
});