README #1

  • //
  • guest/
  • matt_attaway/
  • p4nodeapi/
  • README
  • View
  • Commits
  • Open Download .zip Download (450 B)
To install:
    just run `npm install`

To change the version of the p4 c++ api:
    run `npm config set p4:apiVersion [version (eg: 10.2, 12.2, etc)]` 
    (default is currently 12.2)

To run the test: run `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
#2 16457 Liz Lam Change readme to markdown format.
#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.