New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fabernovel/heart-greenit

Package Overview
Dependencies
Maintainers
7
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fabernovel/heart-greenit

Analysis module of Heart, which analyses URLs with GreenIT

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
Maintainers
7
Weekly downloads
 
Created
Source

Description

Heart GreenIT is an analysis module of Heart, which analyses URLs with GreenIT.

Read more about the description and design of Heart.

Usage

Standalone

  1. Install the package

    npm install @fabernovel/heart-greenit
    

    If you are using Yarn, npm < 7 or PNPM < 8, you also have to install Heart CLI (which is automatically installed in more recent versions of these packages managers):

    npm install @fabernovel/heart-cli
    
  2. Start an analysis

    npx heart greenit --config '{"url":"https://www.fabernovel.com/"}'
    

    OR

    npx heart greenit --config config.json
    

    The analysis configuration follows the JSON format and has the following keys:

    {
        "url": "https://www.fabernovel.com/",
        // optional - default: 3000
        "timeout": 1000,
        // optional - default: 2
        "retry": 2,
        // optional - default: "desktop"
        // possible values: "desktop", "galaxyS9", "galaxyS20", "iPhone8", "iPhone8Plus", "iPhoneX", "iPad"
        "device": "galaxyS20"
    }
    

Github Action

If you're using Github, you can simplify the integration of Heart in your CI scripts by using the Github Action.

Disclaimer

The LCA values used by GreenIT to evaluate environmental impacts are not under free license - © Frédéric Bordage

Please also refer to the mentions provided in the code files for specifics on the IP regime.

Keywords

FAQs

Package last updated on 08 Oct 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc