Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lts

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lts

Generate the Node.js LTS schedule

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
629
decreased by-36.08%
Maintainers
1
Weekly downloads
 
Created
Source

lts

Current Version Build Status via Travis CI Dependencies

belly-button-style

A command line utility that generates the Node.js LTS schedule as a graph. Accepts JSON LTS data and a date range as inputs. Writes the LTS graph as HTML, SVG, and PNG files.

Example Usage

node bin/lts.js -s 2017-04-01 -e 2019-04-01 -h output.html -g output.svg -p output.png

Options

  • -d, --data - The path of the input JSON file. The JSON file should be of the same format as the one in Node's LTS repo. If this option is not provided, lts uses its own bundled JSON file.

  • -s, --start - The start date of the graph. Internally, this option is passed to new Date(). Optional. Defaults to the current date.

  • -e, --end - The end date of the graph. Internally, this option is passed to new Date(). Optional. Defaults to one year from the current date.

  • -h, --html - The location to write the HTML output file. Optional.

  • -g, --svg - The location to write the SVG output file. Optional.

  • -p, --png - The location to write the PNG output file. Uses svg2png under the hood. Optional.

  • -a, --animate - Animate the bars of the graph on load.

Keywords

FAQs

Package last updated on 10 Apr 2017

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