[1] Downloading NodeJS will also download and provide
npm.
Clone the project in the desired folder by executing:
git clone https://github.com/gmullerb/echo-members-names-loader
or
git clone https://gitlab.com/gmullerb/echo-members-names-loader
Run:
npm install
It will install project dependencies, as eslint, eslint-plugin-regex, any-eslint-parser, eslint-plugin-base-style-config, etc.
Recommendation: Immediately after installation, run
npm run checkto be sure that initial code is “ok”.
Npm scripts, package.json:
lint.common: checks common style of “all” files.lint.source: checks eslint style of js files.lint: runs lints.test: runs test.check: runs lints, test, pack and audit. /lib/index.js
/tests/test.js
/lib/index.js: Main file./tests/test.js: Test file.