Package Exports
- cartodb-es6-data-backend
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cartodb-es6-data-backend) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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
});