node-promise icon indicating copy to clipboard operation
node-promise copied to clipboard

How do I install node-promise?

Open ghost opened this issue 15 years ago • 3 comments

How do I install node-promise?

ghost avatar Nov 29 '10 17:11 ghost

Like any node package, you can add it to your package mapping if you are using nodules, or you can download it into your module path. If you are wanting promise based IO, I'd recommend using promised-io instead though.

kriszyp avatar Nov 29 '10 18:11 kriszyp

npm install promise

in your file

var promise = require('promise');

drusellers avatar May 31 '13 19:05 drusellers

could you please sync with https://www.npmjs.org/package/node-promise ?

tojocky avatar Oct 17 '14 05:10 tojocky