@richardpickett/node-app
v1.5.4
Published
Base node app that utilizes logging, async dependencies, and commander
Downloads
31
Readme
Node App
Install
npm i @richardpickett/node-app --save-dev
Example App
Then extract the sample app, which will create a folder example-app
with all the example files:
node-app_example-app.sh
Example Files
example-app/
├── .nvmrc # set the version of node for the app
├── src
│ ├── commands # example commands
│ │ ├── globals.js # global settings
│ │ ├── index.js
│ │ └── sampleCommand.js # sample command
│ ├── components # example component
│ │ ├── index.js
│ │ └── registerSampleComponent.js
│ ├── debug.js # put debug commands here and hit F5
│ ├── index.js # this is the standard program entry
│ └── lib # sample lib files
│ ├── application.js # example application, including overriding built-in logger
│ └── asyncQueue.js # example async queue instance
└── .vscode # vscode for debugging
└── launch.json