🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

openfoodfacts-nodejs

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openfoodfacts-nodejs

Open Food Facts API NodeJS Wrapper

0.1.0
latest
Version published
Weekly downloads
422
58.05%
Maintainers
1
Weekly downloads
 
Created

Open Food Facts-NodeJS

This is the official node module for Open Food Facts API.

Installation

Use npm to include package in your project:

npm i openfoodfacts-nodejs

Example code snippet:

const off = require('openfoodfacts-nodejs');
const client = new off();

client.getProduct('5000112546415').then(console.log);

Development

Clone the repository and run npm i in the directory

Contribute

Fork the repository and feel free to send a PR.

Please use the angular commit guideline.

Third party applications

If you use this SDK, feel free to open a PR to add your application in this list.

FAQs

Package last updated on 11 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts