source: trip-planner-front/node_modules/node-releases/README.md@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.0 KB
Line 
1# Node.js releases data
2
3All data is located in `data` directory.
4
5`data/raw` contains raw data `nodejs.json` and `iojs.json`.
6
7`data/processed` contains `envs.js` with both node.js and io.js data preprocessed to be used by [browserlist](https://github.com/ai/browserslist) and other projects. Each version in this file contains only necessary info: version, release date and optionally LTS flag.
8
9## Installation
10```bash
11npm install --save node-releases
12```
13
14## Updating data
15```bash
16npm run build
17```
18This is a build script which fetches data from web, processes it and saves processed data to `data/processed/envs.json`. If you want to run this steps separately you can use commands described below.
19
20
21### Fetching data
22```bash
23npm run fetch
24```
25This npm script will download new data to `data/raw` directory. Also it'll download Node.js release schedule into `release-schedule` folder.
26
27### Processing data
28```bash
29npm run process
30```
31This script generates `envs.json` file from raw data files and saves it to `data/processed` directory.
Note: See TracBrowser for help on using the repository browser.