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
Trello board with current tasks
npm install @groceristar/groceristar-fetch
or
yarn add @groceristar/groceristar-fetch
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
- https://github.com/GoogleCloudPlatform/nodejs-repo-tools or https://github.com/GoogleCloudPlatform/nodejs-repo-tools/blob/master/src/build_packs/nodejs.js
- https://www.npmjs.com/package/download-git-repo !nice
- https://www.npmjs.com/package/github-download
- https://github.com/octokit/graphql.js
routes
npm test
@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
Created with help of this articles(they moved to awesome-dev):
- https://codeburst.io/how-to-create-and-publish-your-first-node-js-module-444e7585b738
- https://medium.com/@adrianli/the-idiot-s-guide-to-publishing-a-react-component-to-npm-2b66b1ac03e0
- https://medium.com/@jdxcode/for-the-love-of-god-dont-use-npmignore-f93c08909d8d
More details about how to build npm plugin in this collection: https://github.com/ChickenKyiv/awesome-dev-stuff/blob/master/npm-modules.md