ebrahim-2 / groceristar-fetch

json arrays for Food Tech projects

Home Page:https://groceristar.github.io/groceristar-fetch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/.


Explore tools that community has


nodejs github automation stuff

routes


Tests

npm test

Contributors

@vadim9999, @MinkoJ2, @chauhannishith, @atherdon, @GuiFSs, @kraftaa, @aanchirinah, @wahaj-47, @tihaami

List of plugins related to this universe:

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

Credits

Created with help of this articles(they moved to awesome-dev):

More details about how to build npm plugin in this collection: https://github.com/ChickenKyiv/awesome-dev-stuff/blob/master/npm-modules.md

About

json arrays for Food Tech projects

https://groceristar.github.io/groceristar-fetch/

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%