A small library for gathering data and creating reports.
This project requires NodeJS (version 8 or later) and NPM. Node and NPM are really easy to install. To make sure you have them available on your machine, try running the following command.
$ npm -v && node -v
8.1.2
v16.13.2
Install Node.js Notebooks (REPL) as this will be the required notebook where you will perform the data analysis.
Start with creating a folder where you will work on your reporting tasks:
Open your folder with vscode.
Run the following commands on a Terminal.
$ npm init
It will prompt you for input for a few aspects of the project in the following order:
- The project's name,
- The project's initial version,
- The project's description,
- The project's entry point (meaning the project's main file),
- The project's test command (to trigger testing with something like Standard)
- The project's git repository (where the project source can be found)
- The project's keywords (basically, tags related to the project)
- The project's license (this defaults to ISC - most open-source Node.js projects are MIT)
Complete as needed, you can simply hit Return or Enter to accept the suggestion and move on to the next prompt.
To install and set up the library, run:
$ npm i --local datalibjs
To create the working folders, run:
$ npm i --local datalibjs
You are ready to start working on you reporting tasks.