{"_id":"travis-ci","_rev":"57-3728b01936e7f4d182d388ad6f1f9153","name":"travis-ci","description":"node library to access the Travis-CI API","dist-tags":{"latest":"2.2.0","canary":"1.1.2","2.0.0":"2.0.0"},"versions":{"0.0.1":{"name":"travis-ci","version":"0.0.1","description":"node library to access the Travis-CI API","main":"lib/index","repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2"},"_id":"travis-ci@0.0.1","dist":{"shasum":"48c9f32899a3f887dded96db992bfbc4a63f181e","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-0.0.1.tgz","integrity":"sha512-hi24UKQrOAVLsJKb917VbecBtjIr4P6cddvVxzOtvA9MAJe/x5PBl9IKnuy+Lq5OxM8QYGY3ZKM9qXWGjcq/eA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCU8OrhnENy7U0uDCj9QYjq/TdTICFe8MrSdUuBBMoysAIhAKuM4+eE7sczEZGGyjHb4oaKGYjyQvq3DWOoQrz/dcU3"}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{}},"0.1.0":{"name":"travis-ci","version":"0.1.0","description":"node library to access the Travis-CI API","main":"lib/index","repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@0.1.0","dist":{"shasum":"f002a095197f7d6da7688fd3110007153d1421cc","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-0.1.0.tgz","integrity":"sha512-TfxARmIbXhS2RzwYl9esIEpqwjTQXWn+/Gs6/U7wCQufa2mtRdS8CokCeXeWGwokK2wjycSUNjVmjpOoFLHgJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICh7KfkPO0k1tAU/fqiXUBI7HOdEUK2n1a619D6CUTRwAiEAuzSDtZIKrFa2pkwD/JRW7NWJMjtD6fwBV+AgHf7MUyA="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{}},"0.1.1":{"name":"travis-ci","version":"0.1.1","description":"node library to access the Travis-CI API","main":"lib/index","repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@0.1.1","dist":{"shasum":"c8c156e225ebc6ef173ffa98645261a34846d139","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-0.1.1.tgz","integrity":"sha512-xsJvMVpuDRCG8y5me98Z00avk5IkUZtBESu6XDWDFC52pcG+Vqh1NXC6LFi7ZfQxz7riWyd9+cUslUG9abadkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCl/UOHjEWGM7EUCzNm+PUx2T51t3isd6NhdpLVd6mMkgIgQ1tFMG39ek2eLFYrrnutVSODAQpBlf65XxQ2K7VEA+o="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{}},"0.1.2":{"name":"travis-ci","version":"0.1.2","description":"node library to access the Travis-CI API","main":"lib/index","repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@0.1.2","dist":{"shasum":"9cb01137502179bcb0523811b576f307daa689a9","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-0.1.2.tgz","integrity":"sha512-fe6oWEBQz2LafGEtkVjpmvRcDzzzCExXFAD6RoctX57Gd2wVlx1B98+tlp9/utSOvsaZMEl53xMccTPYtGHqww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwm5KyRqUsNO3LAiiXGhbj8/ezVv3/90dRJNz21dgA8gIhAP+i6gd0F4JZHS1ns677oRonpCexjE0tHgkXPqMJMNAp"}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{}},"0.1.3":{"name":"travis-ci","version":"0.1.3","description":"node library to access the Travis-CI API","main":"lib/index","repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@0.1.3","dist":{"shasum":"bc26e6d4448ad0d282fd32eca295b2c8a3628ddb","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-0.1.3.tgz","integrity":"sha512-ZRfdcapR9e0mOORyUcxxgieqS5y+4NZwv8FyUowDpCr6ZlO/M41yL2WDmp0ssfdOHY8UqNe5OVQAKCg+7qOK+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8tr7i9MsRWtH3eLBRYgkkzrze4qSdWbQ4T5feKL086AiBAn/Vdv+lUc9d9QPKRy6VU3SuJ8TmP/46LaTdMydlP9g=="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{}},"0.1.4":{"name":"travis-ci","version":"0.1.4","description":"node library to access the Travis-CI API","main":"lib/index","repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@0.1.4","dist":{"shasum":"8d133561fedb59185eb8865e655c61ef82848b66","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-0.1.4.tgz","integrity":"sha512-W2WESzIFKtEts70BVspuXEWBJeoPzJC8IFlTm7XlbU3aMKT6og1fP5g9Vm03/jnFnc9rs3eqjnPw092XvvcmDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAnSTQCxHGrLqJIUH3Hbz1oB0rMwKBoUocL2VxQivTWmAiBXQeOWd5xdBpNyGK+dRqLAtZaf5wSoUcWB8yIcaRZ0iA=="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{}},"1.0.0":{"name":"travis-ci","version":"1.0.0","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@1.0.0","dist":{"shasum":"78140017b4b4e91958ba64f8894b96bc6bf72a3b","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-1.0.0.tgz","integrity":"sha512-C9/CSjLXY87+SqUd6hZNOogl4k4myLMNLPcNt95l6M9tF1VaezZRWIj35jexfkntnTuu97WFJhDk7K/h7ZWCkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPZa1wS/HQDYQ42GNqACya6oLuWnLfv7er0bJ9nzBwqAIhAOjJrmBbGUeIuk5zn8+MBi/dVmjuUNGhm2pieYqmPQ75"}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{}},"1.0.1":{"name":"travis-ci","version":"1.0.1","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@1.0.1","dist":{"shasum":"736320d9d2cec0fa8a010b2ba00c8a75b1c81e5e","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-1.0.1.tgz","integrity":"sha512-yAd1FHwOTwwDIT1W1XTPVNsWhJkWg3ktJDAZu9vOUI2FgGgs7yhWuAeZVafwnC2htEqzri8EiUxk4Op+azjdVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHN195xfjNGW4satuwJ233H6qn3avEK0O6XZ0x0Mo9C0AiEA/FHVtN2drMaV1AXvvpVA8xtgFYHbHwGkkZmlRcM52qc="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{}},"1.1.0":{"name":"travis-ci","version":"1.1.0","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@1.1.0","dist":{"shasum":"8fd3b1bd9fc6f0452ddc20605c4d58db1524fc0c","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-1.1.0.tgz","integrity":"sha512-yDtpMzv7QgepHR7w3/hF84D/0h0qknmwKQ7Eqso0G7RM//VdUCb1f1F/oXMABjSmwnaTx5+ClXq2VuGJncmpkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC24To+VGcN7NiOV/8NKPXxIkujtEyEQsH01jkLOkQQ3gIhAIU1ETO9G8YBhXFz8BAupVY+pVd4Qm2pPJN6T40uq2VU"}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{}},"1.1.1":{"name":"travis-ci","version":"1.1.1","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@1.1.1","dist":{"shasum":"7d1ac74670e73a8111ccf7d2a7afc4cac1d3058f","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-1.1.1.tgz","integrity":"sha512-eS2mDOHdmKlZxrQS+mhXt1kF5vXhqaryj3oLtlhXJb0fB4cC/PkZu4OlI38UkCHYtM+MdKmDeCUzf8wetG+f9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGm+t6hGNBuyoniGZbAMhFy7otijyekQMUKtlTKOmAqDAiEAxFlqs1MzFE97BV/sLCgfRDQedWl+Xxk47ZsNjf0LHnQ="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{}},"1.2.0":{"name":"travis-ci","version":"1.2.0","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9","q":"~1.0.0"},"_id":"travis-ci@1.2.0","dist":{"shasum":"727240a23986239e3d30e474a92ee3a42c47e942","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-1.2.0.tgz","integrity":"sha512-j19zr25rWwPSVz+Em5msmwgfLDC5rbh/+ppMH8EOUuQ4Emq9NL47BkXFPcFX9IthifuUHQPaqXz3mbqH0bdDvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFQseTSWXO+3hyKihTJoKo5/6yvTrrU+WZrifbMm0n5QIgQfTCrWiC+FWuR/xtmEzuiJfGQjBA5QfwtJm2Drr2L0Y="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{}},"1.1.2":{"name":"travis-ci","version":"1.1.2","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"^0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"^0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"gitHead":"4a5d1f5af97aed075c876d44dd322fa3879f6880","_id":"travis-ci@1.1.2","scripts":{},"_shasum":"a9c2070a8f39d4b358de297cbd15759bd909c3d5","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"dist":{"shasum":"a9c2070a8f39d4b358de297cbd15759bd909c3d5","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-1.1.2.tgz","integrity":"sha512-asUdWfGkug3NOQv8Ra2c/mVpe4nn5Jfn9Z7x4kBa32uaT+DN1i8NSW1kxF7/iFIJPZ9TJs3mBha/18ejhKnKgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICsq/nl23P6b+Vwx5m2Q73dDbJpY7VbdZKANpJIEuL1WAiBpOtGFXitzQZGEUulguk4Xu+Apsg62jsGCZs6QJSn+fw=="}]},"directories":{}},"2.0.0":{"name":"travis-ci","version":"2.0.0","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"^0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"^0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"gitHead":"024179948702cc35feb9884bc258dd77a5b6a0dd","_id":"travis-ci@2.0.0","scripts":{},"_shasum":"5af074c5e4ac6f0c2238c07dd26b026b70816d94","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"dist":{"shasum":"5af074c5e4ac6f0c2238c07dd26b026b70816d94","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-2.0.0.tgz","integrity":"sha512-je1WDimVYrkzSp3j37eyt49hoOzAPc2qusKTSz5ESHW2K/lRhQj3KVgmZfh+x7i3WhSv2X0hJ1CxoN1gbRdZXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHoea60W51/gxcf9Mhkpwa+xQEr9sF8vTh6LKduBDw5qAiALFverGmE83r6BcZ/cfPkaqV0TSBk3n5Gml2T+VWk+aA=="}]},"directories":{}},"2.0.1":{"name":"travis-ci","version":"2.0.1","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"^0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"^0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"gitHead":"6f82e76b88ba26d9d43bed64cac5ea30a5cb4960","_id":"travis-ci@2.0.1","scripts":{},"_shasum":"fe997dd7fe321f1cffa9b05ac8801b0ebe23ba24","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"dist":{"shasum":"fe997dd7fe321f1cffa9b05ac8801b0ebe23ba24","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-2.0.1.tgz","integrity":"sha512-+LT1bOnkVpmNZYALVArn67K8BPo+ZGrEx3VrxnXeQRE0GXv7LTGfR13sEx29IiMIURu5DVNIke97sAifr2Octg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAoxjmi5uKT86xuBNEOaMNKWiPUvVHa0gd3C3AS1OiowAiBCgK0lS+lUyHytbPsQF3koNaiH33Qvv4/4nztn3TB/PA=="}]},"directories":{}},"2.0.2":{"name":"travis-ci","version":"2.0.2","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"github":"~0.1.10","lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"~0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"~0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"gitHead":"38c472764a6882e2d336c76847ad5a3d46c51516","_id":"travis-ci@2.0.2","scripts":{},"_shasum":"23671242e022ba23c9d39f2b4262d08e0a5ba14f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"dist":{"shasum":"23671242e022ba23c9d39f2b4262d08e0a5ba14f","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-2.0.2.tgz","integrity":"sha512-wR2jRXBH0qExprCBzedP+h5V95DOWvAGGevPyo/fPFzLc9kpqoPrMi7+dd3x9Ep6y2pDX/hx/Tg3HIqdK8cNrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNeY41F33Mf8rMaGaVtim9N1gEFReuvFsm0WgUMa0A+AiAtLWhtlwrhw30IrVdTYR7zKOarizo9FH7D1HXNlX0a9w=="}]},"directories":{}},"2.0.3":{"name":"travis-ci","version":"2.0.3","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"github":"~0.1.10","lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"~0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"~0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"gitHead":"9fd5869d3195e96d19d605a0ff9a97d5706dd470","_id":"travis-ci@2.0.3","scripts":{},"_shasum":"5654c004f354a027565a0349c9c53da3c2e4efd1","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"dist":{"shasum":"5654c004f354a027565a0349c9c53da3c2e4efd1","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-2.0.3.tgz","integrity":"sha512-BZ7GmLXcPoA3dkrX1zIsywjJC4DnNgaE4nV02dnKYS+EBBS6kszkShFiZz7UMR4ukyFjVXWSf86rqRxryBC0yw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwLEIehyX3Z09kqF15owPX2BlYiGu/xuJaYUjgGDWc9AiA2x9PJLoSmADUHPG+THvAqBFw8hTh0dMe7IGPawSYrGQ=="}]},"directories":{}},"2.1.0":{"name":"travis-ci","version":"2.1.0","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"github":"~0.1.10","lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"~0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"~0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"gitHead":"335fed5ce7c1f841aa6dc838b3726fbf4faec189","_id":"travis-ci@2.1.0","scripts":{},"_shasum":"949b8249f157329430baa1b20f151044cf1936df","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.2","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"dist":{"shasum":"949b8249f157329430baa1b20f151044cf1936df","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-2.1.0.tgz","integrity":"sha512-J96q96/TWBC5wjeildnrZuQizAdCerEQYL4WRzItZ4OPm1hkxI5HJi9HiLi1tFeoDhQM1FUpYk33AYTXpOlbdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICsHKYjv8Pg5Pz9hCiZvCuk+8FRrIE0b6ENNTP3Qr9bsAiEAzPsoEmKW+QSA9sRsBEz7U/ocH3yPTYfl8O+0KqVo7MQ="}]},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{}},"2.1.1":{"name":"travis-ci","version":"2.1.1","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"github":"~0.1.10","lodash":"~1.3.1","request":"~2.74.0","underscore.string":"~2.2.0rc"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"~0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"~0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"scripts":{"test":"mocha --recursive test"},"gitHead":"490b3b041b399733600c715d8f6d931694e42a29","_id":"travis-ci@2.1.1","_shasum":"98696265af827ae3576f31aa06d876e74b4b082e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"98696265af827ae3576f31aa06d876e74b4b082e","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-2.1.1.tgz","integrity":"sha512-NWgugtuCiOQltd3knXM0YPmA+nGMswLx6lMpu2+7Oq9d7cSpx9DwPqXTtio25zdJTgwkpEr7L2hh4QMy/46ehQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIVMBzEWW8L2j+vHy4Dok4O9RAfedS5mOdlgkgj7r8oAIgAV44l7Mtb4FEnTOaSe1Az+9TuBS+kjdKfJX0lamIfBE="}]},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/travis-ci-2.1.1.tgz_1472793485387_0.8006377501878887"},"directories":{}},"2.2.0":{"name":"travis-ci","version":"2.2.0","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"github":"~0.1.10","lodash":"~1.3.1","request":"^2.87.0","underscore.string":"~2.2.0rc"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"~0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"~0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"scripts":{"test":"mocha --recursive test"},"gitHead":"75204638777ae5f0fba6ba889f4b085277ae21b9","_id":"travis-ci@2.2.0","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"integrity":"sha512-6m+VoKD/va53D4O8I1SLtoLXKLHVUoEL2GksMKLUR0yUqYqco2kj5QB4gdBdFAMw3XL0VBozFsGw8jb6MrrIEQ==","shasum":"0efdfdc1c2572a1294f2637c6a55a3394697604e","tarball":"https://registry.npmjs.org/travis-ci/-/travis-ci-2.2.0.tgz","fileCount":6,"unpackedSize":49173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbb02MCRA9TVsSAnZWagAA0EEP/3RVJN7bcJ+Jfh5P30/y\n5ifTbQ8OLDQNox6rJZxvLA865illO367W2WXj+zqR2tOZLDk4sOKnE7Js2i4\nOueQpV/dsZgvRsM2l7126w3Iag+t6/x6La0DU7mla6pKWR31JZjy7CgRGDsv\nJ5HAX6w8iF7gU3YgU26zMlhpe4eYzFzEzpspm9OXr7FtjDyos+g/HfU+JrHa\nYkJTCOYo5vXh0cSBiE6+stO/KPt3kFjNnDD2G1NjQX7VZXxaa6XTQqZfD7gb\nuHfRiVpJuMzEkatZLs7MWS46AwVqnsJKHUPKAcTKuCrekGgvJECoZmSaG5Re\nssGGj+lmCsoDMkr1UzM0HSkTdonsEzMwo7iZqjls6xrufPWNmixusgH66ikI\nPFdiZJm1FuDm63+XRjcd1JUrjC9Jkh/WclYAhrf/UNdeuGHVEBGf46LxDH8S\n5DsLi+0UbOIye2kzkFYu7AmSTReMAFAiJnetaBKOsXKeWjl/oO+a/y+GH0J/\nflMEhz463Ye6jVMXbenn5Z0fWeLxsjHpprZdyTPeV1YB/agiiUvuNeNeWQWx\nb9Cb9OaDyEAdtCV/yFuTlCnqc3pAaC5xavlo1mOrGJ05TdO6+QgFfBT4QNm0\nrugCmme97bOJcucmJpz4jw6u2CWu9P1rMskLbjBcJ287VS2Zv7g0VJYkE0tR\nZhrM\r\n=Xsp4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHePR56UZ80DbF8sxLvr3HqJnDi/YTaHALBUwIm5l1NMAiEA36FxJ4H83dW3d8Fqs/dY2dMW+afagKias09jiX7vE5k="}]},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/travis-ci_2.2.0_1534021003325_0.6694791443100621"},"_hasShrinkwrap":false}},"readme":"node-travis-ci [![Build Status](https://travis-ci.org/pwmckenna/node-travis-ci.png?branch=master)](https://travis-ci.org/pwmckenna/node-travis-ci)\n==============\n\nnode library to access the [Travis-CI API](https://api.travis-ci.org/docs/)\n\n[![NPM](https://nodei.co/npm/travis-ci.png?downloads=true&stars=true)](https://npmjs.org/package/travis-ci)\n\n# Instantiation\n\n```js\nvar Travis = require('travis-ci');\nvar travis = new Travis({\n    version: '2.0.0'\n});\n\n// To access the Travis-CI Pro API\nvar travis = new Travis({\n    version: '2.0.0',\n    pro: true\n});\n\n// To access the Travis-CI Enterprise API\nvar travis = new Travis({\n    version: '2.0.0',\n    enterprise: 'https://travis.example.com'\n});\n\n// To set custom headers\nvar travis = new Travis({\n  version: '2.0.0',\n  headers: {\n    'user-agent': 'My Custom User Agent'\n  }\n});\n```\n\n# API\n\n### Upgrade Notice (Migrating to 2.x)\nDue to the expanding travis api, there were an increasing number of cases where a function could conceivably map to several http endpoints. To eliminate that complexity, and to ensure that the entire api could be exposed, the api has been rewritten to be a much more transparent layer on top of the http interface. Url path segments that are exposed as objects, unless they are followed by url parameters, in which case they are exposed as functions that consume those arguments. The function that makes the api call is now just http verbs (`get`/`post`/etc).\n\nFor instance, to use this library to call `GET /repos/:owner_name/:name/builds/:id`, you now do something like the following:\n```js\ntravis.repos(ownerName, repoName).builds(buildId).get(function (err, res) {\n   // same res as before\n});\n```\n\n### Authentication\n\nMany functions, such as [`travis.accounts`](https://api.travis-ci.org/docs/#Accounts), require authenticating as a user. \nCurrently the only way to authenticate is to start with a github oauth token, request a travis access token, and authenticate with that.\n\n```js\ntravis.auth.github.post({\n    github_token: GITHUB_OAUTH_TOKEN\n}, function (err, res) {\n    // res => {\n    //     access_token: XXXXXXX\n    // }\n    travis.authenticate({\n        access_token: res.access_token\n    }, function (err) {\n         // we've authenticated!\n    });\n});\n```\n\nAs a convenience, `authenticate` also accepts github tokens, or github credentials (which are only sent to github) and performs the necessary requests to acquire a travis access token. For example:\n\n```js\ntravis.authenticate({\n    github_token: GITHUB_OAUTH_TOKEN\n}, function (err) {\n    // we've authenticated! \n});\n```\nor\n```js\ntravis.authenticate({\n    username: GITHUB_USERNAME,\n    password: GITHUB_PASSWORD\n}, function (err) {\n    //we've authenticated!\n});\n```\n\n> __Pro Tip:__ Authentication is simply a convenience function that ensures your token has the required permissions, then appends your `access_token` to all subsequent requests. You can alternatively pass `access_token` to any request where permission is required.\n\n### [Accounts](https://api.travis-ci.org/docs/#Accounts)\n\nAccounts calls require [authentication](#Authentication).\n\n```js\ntravis.accounts.get(function (err, res) {\n    // res => {\n    //     \"accounts\": [\n    //         {\n    //             \"id\": 5186,\n    //             \"name\": \"Patrick Williams\",\n    //             \"login\": \"pwmckenna\",\n    //             \"type\": \"user\",\n    //             \"repos_count\": 48\n    //         },\n    //         {\n    //             \"id\": ***,\n    //             \"name\": \"BitTorrent Torque Labs\",\n    //             \"login\": \"bittorrenttorque\",\n    //             \"type\": \"organization\",\n    //             \"repos_count\": ***\n    //         },\n    //         {\n    //             \"id\": ***,\n    //             \"name\": null,\n    //             \"login\": \"Studyokee\",\n    //             \"type\": \"organization\",\n    //             \"repos_count\": ***\n    //         },\n    //         {\n    //             \"id\": ***,\n    //             \"name\": \"BitTorrent Inc.\",\n    //             \"login\": \"bittorrent\",\n    //             \"type\": \"organization\",\n    //             \"repos_count\": ***\n    //         }\n    //     ]\n    // }\n});\n```\n\n### [Authorization](https://api.travis-ci.org/docs/#Authorization)\n\n```js\ntravis.auth.github.post({\n    github_token: GITHUB_OAUTH_TOKEN\n}, function (err, res) {\n    // res => {\n    //     access_token: ***\n    // }\n});\n```\n\nAdditional endpoints that have not be implemented yet:\n\n* [travis.auth.authorize](https://api.travis-ci.org/docs/#/auth/authorize)\n* [travis.auth.access_token](https://api.travis-ci.org/docs/#POST%20/auth/access_token)\n\nEndpoints that exist, but are intended for brower flows:\n\n* [travis.auth.handshake](https://api.travis-ci.org/docs/#/auth/handshake)\n* [travis.auth.post_message](https://api.travis-ci.org/docs/#/auth/post_message)\n* [travis.auth.post_message.iframe](https://api.travis-ci.org/docs/#/auth/post_message/iframe)\n\n### [Branches](https://api.travis-ci.org/docs/#Branches)\n\n```js\ntravis.branches.get(function (err, res) {\n    // res => {\n    //     branches: [],\n    //     commits: []\n    // }\n});\n```\n\n### [Broadcasts](https://api.travis-ci.org/docs/#Broadcasts)\n\n```js\ntravis.broadcasts.get(function (err, res) {\n    // res => {\n    //     broadcasts: []\n    // }\n});\n```\n\n### [Builds](https://api.travis-ci.org/docs/#Builds)\n\n```js\n// to get the info for a specific build, specify the build id\n// this is data used for pages such as:\n// https://travis-ci.org/pwmckenna/node-travis-ci/builds/10380000\ntravis.builds(10380000).get(function (err, res) {\n    // res => {\n    //     \"build\": {\n    //         \"id\": 10380000,\n    //         \"repository_id\": 1095505,\n    //         \"commit_id\": 3053424,\n    //         \"number\": \"43\",\n    //         \"pull_request\": false,\n    //         \"pull_request_title\": null,\n    //         \"pull_request_number\": null,\n    //         \"config\": {\n    //             \"language\": \"node_js\",\n    //             \"node_js\": [\n    //                 \"0.10.1\"\n    //             ],\n    //             \"script\": [\n    //                 \"./node_modules/grunt-cli/bin/grunt test\"\n    //             ],\n    //             \".result\": \"configured\",\n    //             \"global_env\": [\n    //                 {\n    //                     \"secure\": \"SHezJGUSi1cc/V+AWBgmGe...\n    //                 },\n    //                 {\n    //                     \"secure\": \"opq2IxY6TquOtn4nCI75Y...\n    //                 },\n    //                 {\n    //                     \"secure\": \"f4rapdrgZJIeqUUBu3Bp/...\n    //                 }\n    //             ]\n    //         },\n    //         \"state\": \"canceled\",\n    //         \"started_at\": null,\n    //         \"finished_at\": \"2013-10-30T23:19:20Z\",\n    //         \"duration\": 0,\n    //         \"job_ids\": [\n    //             10380001\n    //         ]\n    //     },\n    //     \"commit\": {\n    //         \"id\": 3053424,\n    //         \"sha\": \"af594e5b0744e6fdd4af5c7470652286420db430\",\n    //         \"branch\": \"master\",\n    //         \"message\": \"1.0.1\",\n    //         \"committed_at\": \"2013-08-19T20:12:25Z\",\n    //         \"author_name\": \"Patrick Williams\",\n    //         \"author_email\": \"pwmckenna@gmail.com\",\n    //         \"committer_name\": \"Patrick Williams\",\n    //         \"committer_email\": \"pwmckenna@gmail.com\",\n    //         \"compare_url\": \"https://github.com/pwmckenna/node-travis-ci/...\n    //     },\n    //     \"jobs\": [\n    //         {\n    //             \"id\": 10380001,\n    //             \"repository_id\": 1095505,\n    //             \"build_id\": 10380000,\n    //             \"commit_id\": 3053424,\n    //             \"log_id\": 4540661,\n    //             \"state\": \"canceled\",\n    //             \"number\": \"43.1\",\n    //             \"config\": {\n    //                 \"language\": \"node_js\",\n    //                 \"node_js\": \"0.10.1\",\n    //                 \"script\": [\n    //                     \"./node_modules/grunt-cli/bin/grunt test\"\n    //                 ],\n    //                 \".result\": \"configured\",\n    //                 \"global_env\": \"GITHUB_OAUTH_TOKEN=[secure] ...\n    //             },\n    //             \"started_at\": null,\n    //             \"finished_at\": \"2013-10-30T23:19:19Z\",\n    //             \"queue\": \"builds.linux\",\n    //             \"allow_failure\": false,\n    //             \"tags\": \"\"\n    //         }\n    //     ]\n    // }\n});\n```\n```js\n// to cancel a build\ntravis.builds(10380000).cancel.post(function (err) {\n});\n```\n\n### [Documentation](https://api.travis-ci.org/docs/#Documentation)\n\n```js\ntravis.documentation.get(function (err, res) {\n    // res => <html>\n    //     ...\n    // </html\n});\n```\n\n### [Endpoints](https://api.travis-ci.org/docs/#Endpoints)\n\n```js\ntravis.endpoints.get(function (err, res) {\n    // res => [\n    //     {\n    //         \"name\": \"Home\",\n    //         \"doc\": \"\",\n    //         \"prefix\": \"/\",\n    //         \"routes\": [\n    //             {\n    //                 \"uri\": \"/\",\n    //                 \"verb\": \"GET\",\n    //                 \"doc\": \"Landing point...\",\n    //                 \"scope\": \"public\"\n    //             },\n    //             {\n    //                 \"uri\": \"/redirect\",\n    //                 \"verb\": \"GET\",\n    //                 \"doc\": \"Simple endpoints that redirects somewhere else...\",\n    //                 \"scope\": \"public\"\n    //             },\n    //             {\n    //                 \"uri\": \"/config\",\n    //                 \"verb\": \"GET\",\n    //                 \"doc\": \"Provides you with system info:...\",\n    //                 \"scope\": \"public\"\n    //             }\n    //         ]\n    //     },\n    //     {\n    //         \"name\": \"Accounts\",\n    //         \"doc\": \"\",\n    //         \"prefix\": \"/accounts\",\n    //         \"routes\": [\n    //             {\n    //                 \"uri\": \"/accounts/\",\n    //                 \"verb\": \"GET\",\n    //                 \"doc\": \"\",\n    //                 \"scope\": \"private\"\n    //             }\n    //         ]\n    //     },\n    //     ...\n    // ]\n});\n```\n```js\ntravis.endpoints('endpoints').get(function (err, res) {\n    // res => {\n    //     \"name\": \"Endpoints\",\n    //     \"doc\": \"Documents all available API endpoints...\",\n    //     \"prefix\": \"/endpoints\",\n    //     \"routes\": [\n    //         {\n    //             \"uri\": \"/endpoints/\",\n    //             \"verb\": \"GET\",\n    //             \"doc\": \"Lists all available API endpoints by URI prefix...\",\n    //             \"scope\": \"public\"\n    //         },\n    //         {\n    //             \"uri\": \"/endpoints/:prefix\",\n    //             \"verb\": \"GET\",\n    //             \"doc\": \"Infos about a specific controller....\",\n    //             \"scope\": \"public\"\n    //         }\n    //     ]\n    // }\n});\n```\n\n### [Hooks](https://api.travis-ci.org/docs/#Hooks)\n\nAll hook calls require [authentication](#Authentication).\n\n```js\ntravis.hooks.get(function (err, res) {\n    // res => [\n    //     {\n    //         id: 1095505,\n    //         name: 'node-travis-ci',\n    //         owner_name: 'pwmckenna',\n    //         description: 'node library to access the Travis-CI API',\n    //         active: true,\n    //         private: false,\n    //         admin: true\n    //     }\n    //     ...\n    // ]\n});\n```\n```js\ntravis.hooks(1095505).put(\n    hook: {\n        active: false\n    }\n}, function (err, res) {\n});\n```\n\n### [Jobs](https://api.travis-ci.org/docs/#Jobs)\n\n```js\ntravis.jobs(JOB_ID).get(function (err, res) {\n    // res => {\n    //     \"job\": {\n    //         \"id\": 9624444,\n    //         \"repository_id\": 1095505,\n    //         \"repository_slug\": \"pwmckenna/node-travis-ci\",\n    //         \"build_id\": 9624443,\n    //         \"commit_id\": 2836527,\n    //         \"log_id\": 3986694,\n    //         \"state\": \"failed\",\n    //         ...\n    //     },\n    //     \"commit\": {\n    //         \"id\": 2836527,\n    //         \"sha\": \"431d6e5d899f165e4786ce82c4672975cddca670\",\n    //         \"branch\": \"master\",\n    //         \"message\": \"fixing builds test\",\n    //         ...\n    //     }\n    // }\n});\n```\n```js\ntravis.jobs.log({\n    job_id: JOB_ID\n}, function (err, res) {\n    \n});\n```\n\n### [Logs](https://api.travis-ci.org/docs/#Logs)\n\n```js\ntravis.logs({\n    id: LOG_ID\n}, function (err, res) {\n    // res => {\n    //     log: {\n    //         id: 3986694,\n    //         job_id: 9624444,\n    //         type: 'Log',\n    //         body: 'Using worker: worker-linux-6-2.bb.travis-ci.org:travis-linux-15\\n\\n$ export GITHUB_OAUTH_TOKEN=[secure]...\n    //     }\n    // }\n});\n```\n\n### [Repos](https://api.travis-ci.org/docs/#Repos)\n\n```js\ntravis.repos('pwmckenna').get(function (err, res) {\n    // res => {\n    //     \"repos\": [\n    //         {\n    //         \"id\": 1095505,\n    //         \"slug\": \"pwmckenna/node-travis-ci\",\n    //         \"description\": \"node library to access the Travis-CI API\",\n    //         \"last_build_id\": 6347735,\n    //         \"last_build_number\": \"468\",\n    //         \"last_build_state\": \"started\",\n    //         \"last_build_duration\": null,\n    //         \"last_build_language\": null,\n    //         \"last_build_started_at\": \"2013-04-15T09:45:29Z\",\n    //         \"last_build_finished_at\": null\n    //         }\n    //     ]\n    // }\n});\n```\n```js\ntravis.repos('pwmckenna', 'node-travis-ci').get(function (err, res) {\n    // res => {\n    //     \"repo\": {\n    //         \"id\": 1095505,\n    //         \"slug\": \"pwmckenna/node-travis-ci\",\n    //         \"description\": \"node library to access the Travis-CI API\",\n    //         ...\n    //     }\n    // }\n});\n```\n```js\ntravis.repos(repoId).key.get(function (err, res) {\n    // res => {\n    //   key: '-----BEGIN RSA PUBLIC KEY-----\\nMIGfMA0GCSqGSIb...'    \n    // }\n});\n```\n```js\ntravis.repos('pwmckenna', 'node-travis-ci').builds.get(function (err, res) {\n    // res => {\n    //     builds: [],\n    //     commits: []\n    // }\n});\n```\n\n### [Requests](https://api.travis-ci.org/docs/#Requests)\n\nRequests calls require [authentication](#Authentication).\n\n```js\ntravis.requests.post(({\n    build_id: BUILD_ID    \n}, function (err, res) {\n    // res => {\n    //     \"result\": true,\n    //     \"flash\": [\n    //         {\n    //             \"notice\": \"The build was successfully restarted.\"\n    //         }\n    //     ]\n    // }\n});\n```\n\n### [Users](https://api.travis-ci.org/docs/#ss)\n\nAll user calls require [authentication](#Authentication).\n\n```js\ntravis.users.get(function (err, res) {\n    // res => {\n    //     \"user\": {\n    //         \"id\": 5186,\n    //         \"name\": \"Patrick Williams\",\n    //         \"login\": \"pwmckenna\",\n    //         \"email\": \"patrick@bittorrent.com\",\n    //         \"gravatar_id\": \"894f552b86b959df97353a7296baee5c\",\n    //         \"locale\": \"en\",\n    //         \"is_syncing\": false,\n    //         \"synced_at\": \"2013-10-30T22:47:49Z\",\n    //         \"correct_scopes\": true,\n    //         \"created_at\": \"2012-02-07T22:17:38Z\"\n    //     }\n    // }\n});\n```\n```js\ntravis.users.permissions.get(function (err, res) {\n    // res => {\n    //     \"permissions\": [\n    //         1446577,\n    //         107140,\n    //         1402719,\n    //         1392622,\n    //         ...\n    //     ]\n    // }\n\n});\n```\n```js\ntravis.users.sync.post(function (err, res) {\n    // res => {\n    //     \"result\": true\n    // }\n});\n```\n\n# CLI\n\nTo install as a command line utility, just install globally via npm.\n\n```bash\nnpm install -g travis-ci\n```\n\nThe entire library is available via command line interface. While it uses subcommands, the api is the same as above.\n\n```bash\ntravis-ci authenticate --username=pwmckenna --password=superSecret\n=>  {\n        \"access_token\": \"F7DlolJkD15isf4KEDuh_A\"\n    }\n# or\ntravis-ci auth github --github_token=ef7c329fb63479eb5be9719bb8b23162072bb20d\n=>  {\n        \"access_token\": \"F7DlolJkD15isf4KEDuh_A\"\n    }\n```\n\n> __Pro Tip:__ Passing OAuth tokens or github credentials via the command line will leave them in your shell history for all to see. Please shell responsibly.\n\n\nUse the `access_token` above in all subsequent commands that require authentication, such as requesting the builds for this project:\n\n```bash\ntravis-ci repos pwmckenna node-travis-ci builds --access_token=F7DlolJkD15isf4KEDuh_A\n=>  {\n        \"builds\": [\n            {\n                \"id\": 9630304,\n                \"repository_id\": 1095505,\n                \"pull_request\": false,\n                \"state\": \"passed\",\n                ...\n            },\n            ...\n        ]\n    }\n```\n","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"time":{"modified":"2022-06-27T20:38:57.438Z","created":"2013-07-13T00:37:10.068Z","0.0.1":"2013-07-13T00:58:52.267Z","0.1.0":"2013-07-16T19:05:56.810Z","0.1.1":"2013-07-17T23:11:56.819Z","0.1.2":"2013-07-18T01:06:51.524Z","0.1.3":"2013-07-24T17:29:45.288Z","0.1.4":"2013-07-25T17:17:12.674Z","1.0.0":"2013-07-30T16:56:45.192Z","1.0.1":"2013-08-19T20:16:43.771Z","1.1.0":"2013-10-30T21:50:13.087Z","1.1.1":"2013-10-30T23:45:48.524Z","1.2.0":"2014-01-10T07:45:25.203Z","1.1.2":"2014-10-24T08:09:01.856Z","2.0.0":"2014-10-24T08:11:39.809Z","2.0.1":"2014-10-24T08:40:41.556Z","2.0.2":"2014-11-04T06:39:02.634Z","2.0.3":"2014-11-04T15:41:56.865Z","2.1.0":"2015-12-27T07:09:37.996Z","2.1.1":"2016-09-02T05:18:08.709Z","2.2.0":"2018-08-11T20:56:43.452Z"},"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"users":{"parroit":true,"alexbaumgertner":true,"cedx":true,"aquafadas":true,"rochejul":true,"xinwangwang":true,"tsxuehu":true,"heineiuo":true,"leonardorb":true,"tdmalone":true},"readmeFilename":"README.md","homepage":"https://github.com/pwmckenna/node-travis-ci","keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"license":"BSD"}