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

Creating the sample application

The testapp folder that we just created will be the root of our sample Node application. Even though it's not necessary, it's important and also best practice that we should create the package.json file for our Node app, which will hold the necessary data regarding the application such as its version, name, description, development, and runtime dependencies. This can be done by issuing the following command from the testapp folder root:

    $ npm init 

This command will follow up by asking you a few questions, such as the name and version number of your newly created application. It is not necessary that you fill in all the details in one go, and you can skip the steps by pressing Enter and the default values will be entered, which you may update later.

主站蜘蛛池模板: 亚东县| 高阳县| 岚皋县| 永宁县| 海淀区| 太保市| 岚皋县| 徐州市| 安塞县| 夹江县| 新民市| 鹤庆县| 靖江市| 共和县| 石台县| 中宁县| 佳木斯市| 湄潭县| 嘉荫县| 筠连县| 离岛区| 陈巴尔虎旗| 泸溪县| 金川县| 观塘区| 岫岩| 平潭县| 昆山市| 布尔津县| 东乌| 赤壁市| 沅江市| 金阳县| 沈丘县| 苍南县| 新巴尔虎左旗| 沾化县| 诸城市| 高邮市| 三原县| 靖西县|