Skip to content

Hashs7/planet-score

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Planet score

Planet Score is conceived by scientists and experts concerned with the general interest, and supported by a broad civil society collective, Planet-score® is an independent and transparent methodology for the environmental labeling of foodstuffs. It mobilizes state databases (Agribalyse ADEME), and supplements them with complementary indicators to reflect all the issues, without taboos, without greenwashing, and with a high level of requirement, from the field to the plate. The Planet-score® includes impacts on the entire food life cycle: from production to packaging, energy and transport.

Learn more at planet-score.org

This library offers a React component to display the score on your website.

Usage

import { PlanetScore } from 'planet-score';

function App() {
  return <PlanetScore value="ABAC" />
}

Available / Missing animals

Planet Score offer a score for various breeding animals but we found icon for only those animals :

  • Pig
  • Cow
  • Chicken
  • Sheep
  • Goat

We are currently missing those animals :

  • Bee
  • Duck
  • Rabbit
  • Farming fish
  • Fishing fish

If you find those icons, feel free to open a pull request or send me a message.

Roadmap

  • Add configuration for custom breeding animal names, breeding conditions and separator.
  • Add components tests
  • Deploy playground website

Run Locally

Clone the project

  git clone git@github.com:Hashs7/planet-score.git

Go to the project directory

  cd planet-score

Install dependencies

  yarn install

Start the playground website

  yarn run playground:dev

About

Implementation of dynamic planet-score in React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages