1.3.1 • Published 5 years ago

nalunch-sdk v1.3.1

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
5 years ago

NaLunch SDK JS CircleCI

SDK for developing application based on NaLunch provided data.

Usage

Chunks

NaLunch splits world map into cacheable fixed size chunks. Example usage below

const chunkCollectionStore = createChunkCollectionStore();

await chunkCollectionStore.load(
    {
        longitude: 50.50,
        latitude: 20.53,
    },
    moment(),
    5000,
);

console.log(chunkCollectionStore.lunchOffers);

Installation

yarn add nalunch-sdk
npm install nalunch-sdk

Run tests

All of the NaLunch SDK tests are written with jest. They can be run with yarn

yarn test

Author: Michał Budziak

1.3.1

5 years ago

1.3.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago