0.0.2-2SNAPSHOT • Published 5 years ago

kolorado v0.0.2-2SNAPSHOT

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

kolorado

Utility toolkit to retreive data from APIs

npm

Installation

$ npm install kolorado -S

Usage

Making a Repository instance available

import { Repository } from 'kolorado';

   const reader = {
      read: true
    }
 
 const repository = new Repository(reader)
 
 const query = {
  type: 'box',
  parameters: {
    north: 1,
    east: 2,
    south: 3,
    west: 4
  }
};

 const firstPage = repository.find(query);
 

Inspecting the returned first page

console.log(firstPage.size);

... Statey tuned...

0.0.2-2SNAPSHOT

5 years ago

0.0.2-1SNAPSHOT

5 years ago

0.0.2-SNAPSHOT

5 years ago

0.0.1-3SNAPSHOT

5 years ago

0.0.1-2SNAPSHOT

5 years ago

0.0.1-1SNAPSHOT

5 years ago

0.0.1-SNAPSHOT

5 years ago

0.0.1

5 years ago