Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (18 loc) · 418 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 418 Bytes

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