create-nodejs-structure

1.0.23 • Public • Published

Create Nodejs Structure

NPM Version Node Version NPM Downloads NPM License

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 start

npx 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/v1

npx

npx create-nodejs-project-module <module name>

npm

npm init nodejs-project-module <module name>

yarn

yarn create nodejs-project-module <module name>

Package Sidebar

Install

npm i create-nodejs-structure

Weekly Downloads

1

Version

1.0.23

License

MIT

Unpacked Size

16.1 MB

Total Files

88

Last publish

Collaborators

  • rahul21dev