SDK for developing application based on NaLunch provided data.
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);
yarn add nalunch-sdk
npm install nalunch-sdk
All of the NaLunch SDK tests are written with jest. They can be run with yarn
yarn test