{"_id":"p4-oo","_rev":"29-32983cfbc4c462627ff856defee3db70","name":"p4-oo","description":"A small object-oriented utility library for dealing with Perforce","dist-tags":{"latest":"2.0.3"},"versions":{"1.0.0":{"name":"p4-oo","version":"1.0.0","description":"A small utility library for dealing with Perforce","main":"p4.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4.git"},"bugs":{"url":"https://github.com/gcochard/p4/issues"},"keywords":["p4","perforce"],"gitHead":"2db275eb4636bed5ef88e76a6e68d564e8446834","homepage":"https://github.com/gcochard/p4","_id":"p4-oo@1.0.0","scripts":{},"_shasum":"9f3ad15af72c700757b728413e2712b85a31d965","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"9f3ad15af72c700757b728413e2712b85a31d965","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-1.0.0.tgz","integrity":"sha512-vRtzmTHf9TK7SPAD67RoSUrxo/WKzRNTo2/Oh80LMNEdGFHmEF1JerIiDKRaVXWPE/uEhNHVJFgVLy35hydyQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG7N/nfYV4CYnVVbpRyuz85U8hi5RmHCM62f6/I0C6YNAiAF85XjWQrcRQLJVCDyFvPpXPQ04q3e9UzNVa0VKyC7vA=="}]}},"1.0.1":{"name":"p4-oo","version":"1.0.1","description":"A small utility library for dealing with Perforce","main":"p4.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4.git"},"bugs":{"url":"https://github.com/gcochard/p4/issues"},"keywords":["p4","perforce"],"gitHead":"8bcb65c17d59c5385aa6c70999e3b62f0ab92c28","homepage":"https://github.com/gcochard/p4","_id":"p4-oo@1.0.1","scripts":{},"_shasum":"30f978936e3c6b74be0cf57ce62cc9ff34126841","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"30f978936e3c6b74be0cf57ce62cc9ff34126841","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-1.0.1.tgz","integrity":"sha512-VS2o89vXir8sv8HOzsxNw5JOARG0nAPuidXS77rR8N8ttHujGgUGMP9tvLCSXSCPe50lVKYckNT7LZsWpGzj9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnRZUYiQDR8I7KwyfuRJ7DbYZqGlbfgi/q4+hK+UPwtwIhAMpneQfqUf+WAwdx8L/W77M6tWUwh+dMpVwGUNYZXxXi"}]}},"1.0.2":{"name":"p4-oo","version":"1.0.2","description":"A small utility library for dealing with Perforce","main":"p4.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4.git"},"bugs":{"url":"https://github.com/gcochard/p4/issues"},"keywords":["p4","perforce"],"gitHead":"053b23e366c29aa97ac43b6599899d7513a70348","homepage":"https://github.com/gcochard/p4","_id":"p4-oo@1.0.2","scripts":{},"_shasum":"658974b06faebeb28286a946dc4e6da7cb0a58d3","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"658974b06faebeb28286a946dc4e6da7cb0a58d3","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-1.0.2.tgz","integrity":"sha512-bmyigZpkr/OAQUi6wODtqNHKop3Xzo/lRoy+MC8XlaUnghKWCB/DXTXfFMjaQYL69n8M0vGcpbjDMI3upDjxSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqifQ3RZlaNiFSuKU1GRy3TGYh32//Sx5aw49uJjy91AiAyyeoQ0meQxIBHT6d+uJ4XvHBPkFd8OXvsVa7mlgxI3g=="}]}},"1.1.1":{"name":"p4-oo","version":"1.1.1","description":"A small object-oriented utility library for dealing with Perforce","main":"index.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4.git"},"bugs":{"url":"https://github.com/gcochard/p4/issues"},"keywords":["p4","perforce"],"devDependencies":{"eslint":"^0.8.2","eslint-plugin-mocha":"^0.2.0","istanbul":"^0.3.2","mocha":"^1.21.4","rewire":"^2.1.0","underscore":"^1.7.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha"},"gitHead":"5f0b354fed6e11e988fa0575ad8bb8a4e6465d58","homepage":"https://github.com/gcochard/p4","_id":"p4-oo@1.1.1","_shasum":"49e994ba413708a6c5164ddfe6565c7a4d336cc6","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"49e994ba413708a6c5164ddfe6565c7a4d336cc6","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-1.1.1.tgz","integrity":"sha512-cHtVpyXhR0xFjEhdrDBJSG84rf0FNW2PNV4nj6diyFydsgvjlA6PSo0oDPT2u4yah3vFqKD7NCbdxtNrzi77GA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiVmY4DPhA5Qxxli9DV8ZIDCWE2C7Xi15AjMqgPbMCxQIgHkUsFAZz3Wfxx4Gi55lZAkeL2N+eCi7yfFnV6sEOtmw="}]}},"1.1.4":{"name":"p4-oo","version":"1.1.4","description":"A small object-oriented utility library for dealing with Perforce","main":"index.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4.git"},"bugs":{"url":"https://github.com/gcochard/p4/issues"},"keywords":["p4","perforce"],"devDependencies":{"eslint":"^0.8.2","eslint-plugin-mocha":"^0.2.0","istanbul":"^0.3.2","mocha":"^1.21.4","rewire":"^2.1.0","underscore":"^1.7.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha"},"gitHead":"e880ea6dc060fd5243659ccba82b1e7c5643b68a","homepage":"https://github.com/gcochard/p4","_id":"p4-oo@1.1.4","_shasum":"34aecb27ec746e7be3285cdc489bb3a3a10f3edc","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"34aecb27ec746e7be3285cdc489bb3a3a10f3edc","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-1.1.4.tgz","integrity":"sha512-r8n0hlXCiRmVUhhkM7Vh/N4Zl5dVElF75Vj6ielvMat1WhbjHN2zOm+Fk0VySyEH7mOCmPWsmXGHKwOMbNbeZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD57ACW5xyh8aq9MmxZ2OyaeOKXRY9pbbO5a/OKK8xb1AIhAPZOwZz+BsH9JUKElUKQmmuk1OAt0q9OI/PUcHEcK+d+"}]}},"1.1.5":{"name":"p4-oo","version":"1.1.5","description":"A small object-oriented utility library for dealing with Perforce","main":"index.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4-oo.git"},"bugs":{"url":"https://github.com/gcochard/p4-oo/issues"},"keywords":["p4","perforce"],"devDependencies":{"chai":"^1.9.2","eslint":"^0.8.2","eslint-plugin-mocha":"^0.2.0","grunt":"^0.4.5","grunt-eslint":"^1.1.0","grunt-github-pages":"0.0.4","grunt-jsdoc":"^0.5.7","istanbul":"^0.3.2","mocha":"^1.21.4","underscore":"^1.7.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha"},"gitHead":"1e020bb16149eb93dc0d480a7337fd08072e8a8c","homepage":"https://github.com/gcochard/p4-oo","_id":"p4-oo@1.1.5","_shasum":"118d489c11bc032cf0838209527d42e055b0d9b5","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"118d489c11bc032cf0838209527d42e055b0d9b5","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-1.1.5.tgz","integrity":"sha512-eHGEDpusvZAmoBd9kGeTfR59yeRUTUgPKLLPCUSiCP0X0d2MvwHPe8t/k+wn7HIHpYG8YNhGVomcjrRjWqI51g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFl4cfduC02yWyj3pxRoSoW7SYRPCEImX4x6280XkR34AiEA5+pC3E/dsj0jm4zJ1EMlhDa2omy0fmC2oUCKUZac0Tk="}]}},"1.1.6":{"name":"p4-oo","version":"1.1.6","description":"A small object-oriented utility library for dealing with Perforce","main":"index.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4-oo.git"},"bugs":{"url":"https://github.com/gcochard/p4-oo/issues"},"keywords":["p4","perforce"],"devDependencies":{"chai":"^1.9.2","eslint":"^0.8.2","eslint-plugin-mocha":"^0.2.0","grunt":"^0.4.5","grunt-eslint":"^1.1.0","grunt-github-pages":"0.0.4","grunt-jsdoc":"^0.5.7","istanbul":"^0.3.2","mocha":"^1.21.4","underscore":"^1.7.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha","lint":"grunt lint"},"gitHead":"b7ea16e6ac4d960c017318bdcdf8290a5d5816a6","homepage":"https://github.com/gcochard/p4-oo","_id":"p4-oo@1.1.6","_shasum":"455304967a1f87a8c6401fc8fd67d8f60580adef","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"455304967a1f87a8c6401fc8fd67d8f60580adef","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-1.1.6.tgz","integrity":"sha512-4s2Xt7lPyo6z4AlwBry35WJzhBpBaib6XVNou1uFl3WjVY8kasGxeCIFw/t4Lw54a4O9QiZMsF4vPX0xGbOQ2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDhsi8ogSKZk5rCh0DiTrYq8cTqE2NVy47a4yShC/RV6AiB6aILywXT8yeIb95/Ett9FximZoT0yR4L6XVgKlrD8NA=="}]}},"1.1.7":{"name":"p4-oo","version":"1.1.7","description":"A small object-oriented utility library for dealing with Perforce","main":"index.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4-oo.git"},"bugs":{"url":"https://github.com/gcochard/p4-oo/issues"},"keywords":["p4","perforce"],"devDependencies":{"chai":"^1.9.2","coveralls":"^2.11.2","eslint":"^0.8.2","eslint-plugin-mocha":"^0.2.0","grunt":"^0.4.5","grunt-eslint":"^1.1.0","grunt-github-pages":"0.0.4","grunt-jsdoc":"^0.5.7","istanbul":"^0.3.2","mocha":"^1.21.4","underscore":"^1.7.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha","lint":"grunt lint"},"homepage":"https://github.com/gcochard/p4-oo","_id":"p4-oo@1.1.7","_shasum":"9358fa92a7ddb7a37813d4836d89ec94e026b0df","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"9358fa92a7ddb7a37813d4836d89ec94e026b0df","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-1.1.7.tgz","integrity":"sha512-MVnjlWhav2EDrNxU9uTGCd9FaDx9HPxoi9i23GcyRBjkDTqjWmbG0Yy0rWTczoZ1hAYN/zNGsJkdY29AnRpufQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHSJ74/lgoA8oWQM5a7I5WC8csPfQ0S98qZ2AiNoyzvTAiAkwcLmgqTz/TT5leJCxTS5JTqiXvCBKqWCLaLrcjZcvw=="}]}},"1.2.0":{"name":"p4-oo","version":"1.2.0","description":"A small object-oriented utility library for dealing with Perforce","main":"index.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4-oo.git"},"bugs":{"url":"https://github.com/gcochard/p4-oo/issues"},"keywords":["p4","perforce"],"devDependencies":{"chai":"^1.9.2","coveralls":"^2.11.2","eslint":"^0.8.2","eslint-plugin-mocha":"^0.2.0","grunt":"^0.4.5","grunt-eslint":"^1.1.0","grunt-github-pages":"0.0.4","grunt-jsdoc":"^0.5.7","istanbul":"^0.3.2","mocha":"^1.21.4","underscore":"^1.7.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha","lint":"grunt lint"},"gitHead":"3e6aa51c15a7a8339d80b1f63f1e5b0b53c04569","homepage":"https://github.com/gcochard/p4-oo","_id":"p4-oo@1.2.0","_shasum":"c57c58645d4cbdb8e0fdfe3934f0f342227a9245","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.32","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"c57c58645d4cbdb8e0fdfe3934f0f342227a9245","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-1.2.0.tgz","integrity":"sha512-Akw3NcTikTZrwyY9z2z745di3GhT8An4szc3IixeqrdViZ2txOiuswAIvyBFUZIYivTd2nvvYTSBQB7GFPA9yQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6nV0Yhfqar8hCHGUrq5BU4SQvKdPATNdMFqof/1aHoAiAY0aRXkBkDADcUbm9HWJVIvCfwB5pjN0OKuA0+w/Eu6Q=="}]}},"1.2.1":{"name":"p4-oo","version":"1.2.1","description":"A small object-oriented utility library for dealing with Perforce","main":"index.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4-oo.git"},"bugs":{"url":"https://github.com/gcochard/p4-oo/issues"},"keywords":["p4","perforce"],"devDependencies":{"chai":"^1.9.2","coveralls":"^2.11.2","eslint":"^0.8.2","eslint-plugin-mocha":"^0.2.0","grunt":"^0.4.5","grunt-eslint":"^1.1.0","grunt-github-pages":"0.0.4","grunt-jsdoc":"^0.5.7","istanbul":"^0.3.2","mocha":"^1.21.4","underscore":"^1.7.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha","lint":"grunt lint"},"gitHead":"37b23159045057d8a188d142c6b8f7504ebf7ba3","homepage":"https://github.com/gcochard/p4-oo","_id":"p4-oo@1.2.1","_shasum":"b57ae4970ef1bb4ac9ffb2086ffcf2525a12baef","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"b57ae4970ef1bb4ac9ffb2086ffcf2525a12baef","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-1.2.1.tgz","integrity":"sha512-/gzsiYUflCeV7M+lzAu4SDlMSTwZOYMYvoa5MJTkE6/tO5z6Yq9+FcgqbDLbafsy2OdP5FKsdhokprNfP7QICg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFpTbPTKc40rqo5U5tSi7H4SJaOo6qEqSsbhOgurTnABAiAeBbB9I78fCtA52aWgKqCcXU53ppBWe9793jwgOZYyVQ=="}]}},"2.0.0":{"name":"p4-oo","version":"2.0.0","description":"A small object-oriented utility library for dealing with Perforce","main":"index.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4-oo.git"},"bugs":{"url":"https://github.com/gcochard/p4-oo/issues"},"keywords":["p4","perforce"],"devDependencies":{"chai":"^1.9.2","coveralls":"^2.11.2","eslint":"^0.8.2","eslint-plugin-mocha":"^0.2.0","grunt":"^0.4.5","grunt-eslint":"^1.1.0","grunt-github-pages":"0.0.4","grunt-jsdoc":"^0.5.7","istanbul":"^0.3.2","mocha":"^1.21.4","underscore":"^1.7.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha","lint":"grunt lint"},"gitHead":"f80f1d7dd333604041bdd808232a7abcca328a83","homepage":"https://github.com/gcochard/p4-oo","_id":"p4-oo@2.0.0","_shasum":"3d60d3c71c9f1d729bb2eb9486b2c81575d0e212","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.36","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"3d60d3c71c9f1d729bb2eb9486b2c81575d0e212","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-2.0.0.tgz","integrity":"sha512-WvC5Lm0wlQjwRtKA1ikT8lyAv+Qz4G838UlFxNn1VR10Q8gyguZ2NITQJcIZGNBYnt8KE5twMDCkrseKrFNmqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHT2qNdzfTJoikv9JOW/bkw9WBhlyRoWmDjhJu/mGLcYAiEA8BnZ354Yrxpcbolx6ShghsDNIyqnjmxzyi5A7QaGSbg="}]}},"2.0.1":{"name":"p4-oo","version":"2.0.1","description":"A small object-oriented utility library for dealing with Perforce","main":"index.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4-oo.git"},"bugs":{"url":"https://github.com/gcochard/p4-oo/issues"},"keywords":["p4","perforce"],"devDependencies":{"chai":"^1.9.2","coveralls":"^2.11.2","eslint":"^0.8.2","eslint-plugin-mocha":"^0.2.0","grunt":"^0.4.5","grunt-eslint":"^1.1.0","grunt-github-pages":"0.0.4","grunt-jsdoc":"^0.5.7","istanbul":"^0.3.2","mocha":"^1.21.4","underscore":"^1.7.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha","lint":"grunt lint"},"gitHead":"6c4ec7a2c1a2ffe09d6c2aaa8d82aa58d716f5b8","homepage":"https://github.com/gcochard/p4-oo","_id":"p4-oo@2.0.1","_shasum":"f278b040212218539708d28349bb56514a278aa8","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.10.36","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"f278b040212218539708d28349bb56514a278aa8","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-2.0.1.tgz","integrity":"sha512-t8fUbNiNVtl88wnXeCQ91m8MUEJTcV6QSvNXrpEmEzbw1VeJMA5HhwxI+IRcb3eQSWapo+19arbn6McLHDQ9oA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfYJASC2zSSPPzbCOJkq07kMVEIJELap8nBQwYYRKYPgIhAIW2FcO5TrPFuru943tqLI3sK/h91zHoh+BJPIC8KX+z"}]}},"2.0.2":{"name":"p4-oo","version":"2.0.2","description":"A small object-oriented utility library for dealing with Perforce","main":"index.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/gcochard/p4-oo.git"},"bugs":{"url":"https://github.com/gcochard/p4-oo/issues"},"keywords":["p4","perforce"],"devDependencies":{"chai":"^1.9.2","coveralls":"^2.11.2","eslint":"^0.8.2","eslint-plugin-mocha":"^0.2.0","grunt":"^0.4.5","grunt-eslint":"^1.1.0","grunt-github-pages":"0.0.4","grunt-jsdoc":"^0.5.7","istanbul":"^0.3.2","mocha":"^1.21.4","underscore":"^1.7.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha","lint":"grunt lint"},"gitHead":"a12e08341d8a736c6c44744650e116e92acb7290","homepage":"https://github.com/gcochard/p4-oo","_id":"p4-oo@2.0.2","_shasum":"5f3ae13922a0ff94ffbab0d35b12cb469dc5ad44","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.10.36","_npmUser":{"name":"gcochard","email":"greg@gregcochard.com"},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"}],"dist":{"shasum":"5f3ae13922a0ff94ffbab0d35b12cb469dc5ad44","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-2.0.2.tgz","integrity":"sha512-smwS0JSRgP1H/1L/3rVDc8dXjnrBlo4LxJRcSU//DVDG65GVdipYCXk0OSfXDKVlIdbKQQQD+tc7S0qfRTz66A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU4/n4dEuZbOC/uMPTECq0L3FFPz6g6yKrZxhq9MCOqgIgclXOheJpCaom0lofqkDU8roNlhcXQYIWCRTbGqBdOV0="}]}},"2.0.3":{"name":"p4-oo","version":"2.0.3","description":"A small object-oriented utility library for dealing with Perforce","main":"index.js","author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"contributors":"Ryan Milbourne <ryanbmilbourne@gmail.com>","license":"MIT","repository":{"type":"git","url":"git+https://github.com/gcochard/p4-oo.git"},"bugs":{"url":"https://github.com/gcochard/p4-oo/issues"},"keywords":["p4","perforce"],"devDependencies":{"chai":"^1.9.2","coveralls":"^2.11.2","eslint":"^0.8.2","eslint-plugin-mocha":"^0.2.0","grunt":"^0.4.5","grunt-eslint":"^1.1.0","grunt-github-pages":"0.0.4","grunt-jsdoc":"^0.5.7","istanbul":"^0.3.2","mocha":"^1.21.4","underscore":"^1.7.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha","lint":"grunt lint"},"gitHead":"99af86052737e492d76a577c90843a361ae8a6ac","homepage":"https://github.com/gcochard/p4-oo#readme","_id":"p4-oo@2.0.3","_shasum":"f2b7ca45036897b22aeaed7344d4888d45e05683","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"rmilbourne","email":"ryanbmilbourne@gmail.com"},"dist":{"shasum":"f2b7ca45036897b22aeaed7344d4888d45e05683","tarball":"https://registry.npmjs.org/p4-oo/-/p4-oo-2.0.3.tgz","integrity":"sha512-S4mvKnMYKYssiqjjOs0Tw0JxNEnQoannhGQ36xwDdUinWKxUf/cphp7yssFYNgx6G+ynKQwFIqVTW/12qAOEjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGA3DJdn00ck/xLoAaP96+C8gOJnuXkXcSmVhRDAYg7NAiEAxs4uuK9HaUqNhGZ04Yc9OzfuAX7dz/InTD4uBQWjvYY="}]},"maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"},{"name":"rmilbourne","email":"ryanbmilbourne@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/p4-oo-2.0.3.tgz_1460675259702_0.7259931594599038"}}},"readme":"# p4-oo [![Build Status](https://travis-ci.org/gcochard/p4-oo.svg)](https://travis-ci.org/gcochard/p4-oo) [![Coverage Status](https://img.shields.io/coveralls/gcochard/p4-oo.svg?style=flat)](https://coveralls.io/r/gcochard/p4-oo)\n[![NPM](https://nodei.co/npm/p4-oo.png?compact=true)](https://nodei.co/npm/p4-oo/)\n\np4-oo is a tiny object-oriented library for dealing with Perforce. Since Perforce sets all files in its workspace as read-only, and expects you to check out any file before editing, automated build processes and whatnot can stumble when trying to write to the file system. This library gives you a simple module to get Perforce out of the way. It saves its state across commands, so you can change working directories and set environment variables, and those will persist for subsequent commands. This is very helpful if you have a centralized system which is running perforce commands on behalf of users.\n\n## Installation\nGet the module from NPM\n```shell\n$ npm install p4-oo --save\n```\nInclude it in your project\n```js\nvar P4 = require(\"p4-oo\");\nvar p4 = new P4();\n```\n\n## API Reference\n### p4.edit(path, done)\nTell Perforce to open a file for editing\n```js\np4.edit(\"output.css\", function(err, stdout) {\n    if(err) console.error(err.message);\n    console.log(stdout);\n});\n```\n\n### p4.add(path, done)\nTell Perforce to add a file to the default pending changelist\n```js\np4.add(\"output.css\", function(err, stdout) {\n    if(err) console.error(err.message);\n    console.log(stdout);\n});\n```\n\n### p4.smartEdit(path, done)\nStart by asking Perforce (nicely) to open a file for editing. If that doesn't work, try adding the file.\n\nThis is really meant to be a catch-all for automated output from tools. If you're generating files, there's a good chance that they don't exist yet in the workspace, but they might.\n\n>Note: Since you're sending requests to your Perforce server with each of these commands, don't just run this willy-nilly on every file in your project or something silly like that.\n\n```js\np4.smartEdit(\"output.css\", function(err, stdout) {\n    if(err) console.error(err.message);\n    console.log(stdout);\n});\n```\n\n### p4.runCommand(command, [args], done)\nRun a command directly, rather than through a proxying function. You can use this to call arbitrary commands, but if you find yourself using this often, feel free to submit a pull request updating the API or an issue describing the command and what you'd like to see returned.\n\n```js\np4.runCommand(\"edit\", \"path/to/file\", function(err, stdout) {\n    if(err) console.error(err.message);\n    console.log(stdout);\n});\n\n// With optional \"args\" arg\np4.runCommand(\"info\", function(err, stdout) {\n    if(err) console.error(err.message);\n    console.log(stdout);\n});\n\n// Without optional \"args\" arg\np4.runCommand(\"info\", function(err, stdout) {\n    if(err) console.error(err.message);\n    console.log(stdout);\n});\n```\n\n### p4.setOpts(options)\nSet options for the child_process, these options persist across commands.\nAlso supports chaining.\n\n```js\np4.setOpts({env:{P4PORT:'perforce:1666',P4USER:'username',P4CONFIG:'.p4config'}});\np4.edit(\"output.css\", function(err, stdout) {\n    if(err) console.error(err.message);\n    console.log(stdout);\n    //user 'username' now has 'output.css' checked out\n});\n```\n\n### p4.cd(dir)\nChange working directory for the perforce child_process. This persists across commands.\nAlso supports chaining.\n\n```js\np4.cd('/').cd('dir');\np4.pwd();\n//returns '/dir'\n```\n\n### p4.stat(file,done)\nStats a file and returns a JSON object with the file's properties.\n\nShould look like the following:\n\n```json\n{ \n    \"depotFile\": \"//depot/output.css\",\n    \"clientFile\": \"/Users/username/workspace/output.css\",\n    \"isMapped\": true,\n    \"headAction\": \"edit\",\n    \"headType\": \"xtext\",\n    \"headTime\": \"1410890900\",\n    \"headRev\": \"25\",\n    \"headChange\": \"1184\",\n    \"headModTime\": \"1410890778\",\n    \"haveRev\": \"25\",\n    \"other\": [ { \n        \"Open\": \"user@other_workspace\",\n        \"Action\": \"edit\",\n        \"Change\": \"1189\" \n    } ] \n}\n```\n\nExample:\n```js\np4.stat('output.css', function(err,stats){\n    if(err) console.error(err.message);\n    console.dir(stats);\n});\n```\n\n### p4.statDir(directory,done)\nRuns p4 fstat * in the directory. Ignores errors regarding subdirectories not being in workspace. Output matches `p4.stat` schema.\n\n### p4.recursiveStatDir(directory,done)\nRuns p4.fstat ... in the directory. Does not ignore errors, as it is running using perforce's `under this dir` rather than shell glob.\n\n### p4.sync(filename,done)\nRuns p4 sync filename in cwd.\nIf file is already at latest revision, is not under client, or perforce errors otherwise, error object will be set.\nIf sync is successful, data will look like this:\n\n> //depot/output.css#25 - updating /Users/username/workspace/output.css\n\n```js\np4.sync('output.css',function(err,data){\n    if(err) console.error(err);\n    console.log(data);\n});\n```\n\n## Tests\nTests are written in mocha and have child_process.exec mocked in order to test all output. Test coverage is tracked with istanbul.\n\n## Contribution\nSend me a pull request!\n\nOriginally forked from [natelong/p4](https://github.com/natelong/p4)\n","maintainers":[{"name":"gcochard","email":"greg@gregcochard.com"},{"name":"rmilbourne","email":"ryanbmilbourne@gmail.com"}],"time":{"modified":"2022-06-23T06:05:55.492Z","created":"2014-09-23T22:49:13.817Z","1.0.0":"2014-09-23T22:49:13.817Z","1.0.1":"2014-09-23T22:51:28.759Z","1.0.2":"2014-09-23T22:57:21.756Z","1.1.1":"2014-10-10T22:39:31.857Z","1.1.4":"2014-10-10T23:05:49.706Z","1.1.5":"2014-10-15T23:37:03.301Z","1.1.6":"2014-10-16T00:04:45.524Z","1.1.7":"2014-10-22T17:17:11.580Z","1.2.0":"2014-12-08T21:04:45.873Z","1.2.1":"2014-12-29T18:30:40.815Z","2.0.0":"2015-02-06T06:16:51.248Z","2.0.1":"2015-04-01T16:50:20.901Z","2.0.2":"2015-04-18T03:18:52.500Z","2.0.3":"2016-04-14T23:07:41.902Z"},"homepage":"https://github.com/gcochard/p4-oo#readme","keywords":["p4","perforce"],"repository":{"type":"git","url":"git+https://github.com/gcochard/p4-oo.git"},"author":{"name":"Greg Cochard","email":"greg.cochard@gmail.com","url":"https://gregcochard.com"},"bugs":{"url":"https://github.com/gcochard/p4-oo/issues"},"license":"MIT","readmeFilename":"README.md","users":{"rmilbourne":true},"contributors":"Ryan Milbourne <ryanbmilbourne@gmail.com>"}