JSPM

  • Created
  • Published
  • Downloads 79
  • Score
    100M100P100Q84953F
  • License GPL-3.0-or-later

npm module required to fetch static data required for recipe search

Package Exports

  • @groceristar/groceristar-fetch

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 (@groceristar/groceristar-fetch) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Groceristar-fetch module

Table of Contents

Synopsis

This is a module for using API like wrappers for getting food data for use in many projects. Just Like an database and fetch API in JS

Build Status npm version Coverage Status

Additional information

Trello board with current tasks

Documentation Website

Sandbox Editor

Installation

npm install @groceristar/groceristar-fetch

or

yarn add @groceristar/groceristar-fetch

Code Example

const { groceristar } = require('@groceristar/groceristar-fetch')
const departments = groceristar.getDepartments();

// returns an array of all departments

example
[
  {
    "name": "Fresh vegetables",
    "type": "food"
  },
  {
    "name": "Condiments / sauces",
    "type": "food"
  }
]

The above code can be re-written as

const { groceristar, search, chiCkenKyiv, mealCalendar } = require('@groceristar/groceristar-fetch');
console.log(groceristar.getDepartments());
console.log(search.getAttribute('diets'));

import { groceristar, mealCalendar } from '@groceristar/groceristar-fetch'

To Find out about all the functionality use https://groceristar.github.io/groceristar-fetch/.


Tasks:

Explore tools that community has


nodejs github automation stuff

routes

  "code-fix": "standard --fix"

Tests

npm test

Contributors

@vadim9999, @MinkoJ2, @chauhannishith, @atherdon, @GuiFSs, @kraftaa, @aanchirinah

List of plugins related to this universe:

https://github.com/sheerun/babel-plugin-file-loader

Credits

Created with help of this articles: