====== Node.js ====== ===== Installation ===== * Télécharger node.js sur la page : [[https://nodejs.org/fr/download/]] Tester dans un CMD avec la commande ''npm -v'': C:\Users\thierry>npm -v 6.9.0 ===== Initialisation d'un projet avec NPM ===== ''npm init -y'' créé un fichier package.json dans le répertoire de travail. X:\wiki\test>npm init -y Wrote to X:\wiki\test\package.json: { "name": "test", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC" }