diff --git a/Doc/Manual/Javascript.html b/Doc/Manual/Javascript.html index cae199048..5e6540c7d 100644 --- a/Doc/Manual/Javascript.html +++ b/Doc/Manual/Javascript.html @@ -197,10 +197,10 @@ $ sudo npm install -g node-gyp
$ swig -javascript -node -c++ example.i-
Then run node-gyp
Then run node-gyp build to actually create the module:
-$ node-gyp+$ node-gyp build
This will create a build folder containing the native module. To use the extension you need to 'require' it in your Javascript source file:
Some basic examples are shown here in more detail.