官术网_书友最值得收藏!

Installing Node and NPM

Node is the runtime that allows us to run JavaScript code on a server. It has gained massive favor over the last few years and is powering applications in almost every sector of technology. It is also one of the runtimes that can be chosen on Lambda functions.

Along with Node, we get Node Package Manager (npm), which is the largest ecosystem of open source libraries in the world. This is great for us and we'll be using some of these packages throughout this book.

To install Node and npm you can download the installation packages from nodejs.org or through a package manager. Make sure that you install at least version 8.11.1 because we will be using async/await in our work, and this requires at least version 8. Once you have installed everything you can test that it's working by typing node -v ; you should get something like v8.11.1. You can also test npm by typing npm -v.

主站蜘蛛池模板: 安图县| 内丘县| 益阳市| 涞水县| 阳原县| 礼泉县| 合川市| 周宁县| 肥乡县| 米脂县| 攀枝花市| 聂荣县| 云霄县| 临漳县| 巨野县| 新安县| 灵台县| 色达县| 读书| 浦北县| 新巴尔虎右旗| 临漳县| 丽水市| 增城市| 满城县| 密山市| 古田县| 聊城市| 六盘水市| 农安县| 呼伦贝尔市| 武夷山市| 调兵山市| 鄂托克旗| 丹东市| 磐石市| 农安县| 武川县| 景宁| 石河子市| 大荔县|