nodedemoapp
v0.0.3
Published
This App is made to show steps to go for your own npm install
Readme
Node Demo App
Shows the world the steps to go to get proud to have your own npm install nodedemoapp
Create a package.json and commit it to this repository
Create a server.js within
console.log('Hello GitHub')Create a NPM Account either by
npm adduseror at https://npmjs.org/signuplogin by
npm loginchange directory where your
package.jsonis locatednpm initornpm publish
If you see +nodedemoapp you have done well :-)
Try it
To use your first own node module you simple create a test.js
var demo = require('nodedemoapp');
demo.hello('GitHub');Don't forget to install the module before executing node test.js
npm install nodedemoappOr you could add a dependancy to your package.json
"dependencies": {
"nodedemoapp": "^0.0.1"
}
and install your app by npm install within your directory
