npm.md 363 B

NPM

package.json {#package}

{
  ...
  "dependencies": {
    ...
    "rapidjson": "git@github.com:miloyip/rapidjson.git"
  },
  ...
  "gypfile": true
}

binding.gyp {#binding}

{
  ...
  'targets': [
    {
      ...
      'include_dirs': [
        '<!(node -e \'require("rapidjson")\')'
      ]
    }
  ]
}