create-nodejs-structure
v1.0.23
Published
Initialize a node structure with create-nodejs-structure
Maintainers
Readme
Create Nodejs Structure
Initialize a node structure with create-nodejs-structure.
How To Start
The simplest way to get started is to use npx:
npx
npx create-nodejs-structure node_demo
cd node_demo
cp env.example .env
mkdir uploads
npm startnpx comes with npm 5.2+ and higher, see instructions for older npm versions
npm
npm init nodejs-structure <project name>npm init is available in npm 6+
yarn
yarn create nodejs-structure <project name>yarn create is available in Yarn 0.25+
Steps for creation module for this structure
cd node_demo/lib/module/v1npx
npx create-nodejs-project-module <module name>npm
npm init nodejs-project-module <module name>yarn
yarn create nodejs-project-module <module name>