Coder Social home page Coder Social logo

openfoodfacts / openfoodfacts-nodejs Goto Github PK

View Code? Open in Web Editor NEW
130.0 14.0 25.0 5.25 MB

Official Node package for Open Food Facts

Home Page: https://openfoodfacts.github.io/openfoodfacts-nodejs/

License: Apache License 2.0

TypeScript 99.71% JavaScript 0.29%
nodejs food openfoodfacts hacktoberfest

openfoodfacts-nodejs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openfoodfacts-nodejs's Issues

Re-add tests

Migrating to TypeScript, I had to delete tests as they were not working anymore. We should reintroduce them.

Story

Part of

  • (Insert Story issue number here)

Require a custom user agent to use the SDK

What

  • Require a custom user agent to use the SDK
  • Using the SDK and the API in general will remain as of today: free and accessible for everyone.
    IN the same way, we don't want to implement an API key mechanism and all that kind of stuff.
  • However, due to misuse of the API through various SDKs, we will now force all language clients to have a valid User Agent so that we can reach out in case of problems.
  • For now, We will only require an app name for the user agent.

Copy Writing Proposal

Hello, i just checked your lovely project and i discovered you have some sections missing out like FAQ, about us, contact us and privacy policy. If you dont mind i will like to write that for you.
My email: [email protected]

Handle URL problem

URL is modified on country call and then can't be reset properly, find a solution to change that.

Idea of solution: OFF should probably be immutable.

IMPORTANT: npm package not up to date

What

The npm package corresponding to this repo is not up to date to the latest development.
See here for more info.

Steps to reproduce the behavior:

  1. Run pnpm add openfoodfacts-nodejs in your terminal (or npm i ...
  2. Go to the node_modules folder
  3. Search for the openfoodfacts-nodejs package folder
  4. Open the README and see the version.
  5. The error can occur when consuming the package in TypeScript for example. => it works when using require but no IntelliSense.

Expected behavior

To have the latest code of this repo in the package.

Screenshots

image

Platform (Desktop, Mobile, Hunger Games)

  • OS: Desktop
  • Platform: NodeJS, Desktop

Part of

๐ŸŽฏ What can I work on ? (NodeJS SDK)

For developers

  1. github_actions ๐ŸŽฏ P0

Maintenance

Features

GENERAL

READ

PERSONALIZATION

SEARCH

WRITE

ML

Roadmap

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.