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

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.

主站蜘蛛池模板: 迁安市| 綦江县| 九江县| 玛曲县| 武威市| 河池市| 兖州市| 湖南省| 镇沅| 鸡泽县| 阿克苏市| 衡东县| 新河县| 长宁县| 修文县| 寻乌县| 阿图什市| 贵溪市| 北海市| 沁源县| 宜阳县| 太仆寺旗| 泽普县| 富锦市| 海伦市| 富锦市| 江源县| 潢川县| 攀枝花市| 上饶县| 六枝特区| 和林格尔县| 盐城市| 岳阳市| 枣阳市| 墨脱县| 波密县| 巩义市| 南汇区| 南川市| 吉首市|