iw6-mod/deps/rapidjson/doc/npm.md
2024-02-27 01:34:37 -05:00

363 B

NPM

package.json

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

binding.gyp

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