Thursday, 25 May 2017

load npm module as an application?

Is there a way to load an npm module as the main application?

I'm used to using git to load some application like:

git clone https://github.com/me/myapp.git
cd myapp
npm install

npm install always puts dependency modules under the node_modules path.

How would I deploy a stand-alone application as a node module?

Is there something equivalent to:

npm install myapp
cd myapp
npm start



via eyn

No comments:

Post a Comment