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

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.

主站蜘蛛池模板: 广宗县| 姚安县| 黄平县| 华亭县| 咸宁市| 宁河县| 蕲春县| 龙泉市| 德兴市| 嘉祥县| 陇西县| 沧源| 渭南市| 怀宁县| 柘荣县| 白水县| 巩留县| 扎囊县| 宁蒗| 竹北市| 惠州市| 兴化市| 南宫市| 修水县| 洪湖市| 重庆市| 宝山区| 闽清县| 育儿| 册亨县| 抚州市| 隆子县| 沁源县| 荆州市| 郯城县| 德安县| 永济市| 莱芜市| 广安市| 旅游| 白银市|