To install:
npm install
To change the version of the p4 c++ api:
npm config set p4:apiVersion [version (eg: 10.2, 12.2, etc)]
(Default is currently 12.2)
To run the test:
npm test
***NOTE: by default, the test tries to connect to a perforce depot at "perforce:1666"
to change ports, run `npm config set p4:testPort [desired P4PORT]`
(if you set it to "", it will use your P4PORT env var)***
Installation ============ To install: > `npm install` To change the version of the p4 c++ api: > `npm config set p4:apiVersion [version (eg: 10.2, 12.2, etc)]` (Default is currently 12.2) To run the test: > `npm test` ***NOTE: by default, the test tries to connect to a perforce depot at "perforce:1666" to change ports, run `npm config set p4:testPort [desired P4PORT]` (if you set it to "", it will use your P4PORT env var)***
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 16457 | Liz Lam | Change readme to markdown format. | ||
//guest/matt_attaway/p4nodeapi/README | |||||
#1 | 8517 | Matt Attaway |
Add a node.js language binding for Perforce This is fairly simple extension for node to make it easier to run Perforce commands from your node.js application. We've used this a fair amount internally, but it hasn't seen the same level of love as the other Perforce APIs. This API is not supported by Perforce support, but you are welcome to post on the forums if you have questions. |