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

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.

主站蜘蛛池模板: 福建省| 饶平县| 舟曲县| 信宜市| 海城市| 红安县| 阿瓦提县| 中方县| 云龙县| 正蓝旗| 江山市| 含山县| 芜湖市| 彭阳县| 永吉县| 乌兰浩特市| 赣榆县| 新民市| 江达县| 石门县| 常山县| 汾阳市| 达尔| 麻阳| 英山县| 灵寿县| 定边县| 临澧县| 陆良县| 靖安县| 临泉县| 绥宁县| 甘洛县| 婺源县| 南郑县| 永兴县| 玛沁县| 通河县| 崇文区| 北流市| 天峻县|