From 4e24d852aef616eabd0d2c14849dd8f3de4e6e4a Mon Sep 17 00:00:00 2001 From: Gordon Hall Date: Mon, 2 Jun 2014 17:13:38 -0400 Subject: [PATCH] update readme --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3d179c8d9..e5bec4062 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,14 @@ To open n different instances just run: node launch.js n ``` +To require Copay as a module for use within you application: + +```js +require('copay').start(3000, function(location) { + console.log('Copay server running at: ' + location); +}); + +``` About Copay ===========