Installing a Module #

From NPM #

Deployd modules are 100% compatible with node modules. This means you can install a module with npm from your project's root directory.

cd my-dpd-project
mkdir -p node_modules
npm install my-dpd-module

To find deployd modules available on npm search for dpd.

If you used the Deployd installer, you will need to download node.js in order to use npm.

From Source #

You can also install a module from source by putting it in your project's node_modules folder. Even a single file is valid (eg: /node_modules/foo.js).

More

Other docs in "Using Modules"