Skip to content

Create project without express generator

Vikas Tiwari edited this page May 5, 2018 · 1 revision

Use below command to create project without using express npm init

First create a project folder then change the current location to created folder.

run the above mentioned command.

it asks for basic project properties and creates package.json file.

Later folders can be created manually.

run below command to install required modules, which will be saved in node_modules folder, not globally.

npm install 'module name' --save to install and

This will add dependency section by default to your package.json file.

above command install the latest module version, so before adding it to our production environment we have to check the package is working properly and bug free.


Note: express generates package.json with it's default dependencies.

Clone this wiki locally