JSPM

cartodb-es6-data-backend

0.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q33124F
  • License MIT

Standalone data backend for fetching cartodb data with elastic-search-like syntax

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
    });