{"_id":"checkout","_rev":"10-5b3b1434baf566803887de283a315332","name":"checkout","description":"Pull down local or remote repositories to local directories.","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.0":{"name":"checkout","description":"Pull down local or remote repositories to local directories.","repository":{"type":"git","url":"https://github.com/bmeck/node-checkout.git"},"dependencies":{"ncp":"~0.2.6","tar":"~0.1.13"},"devDependencies":{"vows":"~0.6.4","tmp":"~0.0.14"},"scripts":{"test":"vows test/*/*.js"},"version":"0.0.0","main":"./lib/index.js","readme":"# checkout\n\nSimple unpacking of repositories to local directories.\n\n## Git Repositories\n\n```javascript\ncheckout({\n    type: 'git',\n    url: 'git@github.com:bmeck/ruffian',\n    destination: 'my-apps/ruffian'\n}, function (err) {\n    console.error(err)\n});\n```\n\n## Streams from .tar files\n\n```javascript\ncheckout({\n    type: 'tar-stream',\n    stream: req,\n    destination: 'my-apps/ruffian'\n}, function (err) {\n    console.error(err)\n});\n```\n\n## Local directories\n\n```javascript\ncheckout({\n    type: 'directory',\n    directory: 'my-repos/ruffian',\n    destination: 'my-apps/ruffian'\n}, function (err) {\n    console.error(err)\n});\n```\n\n## Custom Handler\n\n```javascript\ncheckout({\n  type: function (description, callback) {\n    // PERFORM THE CHECKOUT HERE\n    // @description matches the first argument to checkout\n  },\n}, function (err) {\n    console.error(err)\n})\n```\n\n## Registering a generic handler\n\n```javascript\ncheckout.handlers.myHandler = function (description, callback) {\n  // Same as Custom Handler\n}\n```","readmeFilename":"Readme.md","_id":"checkout@0.0.0","dist":{"shasum":"ac30bb59c9b6c2843bdbecf22657511c35a028b7","tarball":"https://registry.npmjs.org/checkout/-/checkout-0.0.0.tgz","integrity":"sha512-FuvN5dC9Za17JUORngoK7yDElHdgbru6zP4ly+sVn6KrDyaw9ZewCD/LZGHj+Oug2nWPhhTqIwfYb8gfbjd6Og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnorGi/poCAIQT6AaLxLGAnalMFdAWD8HAwhOHUjfCawIhAMjptAJ5yFE/AGhoCAtqX1wyXBvk9srZp0MAyh9B9IHq"}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"bradleymeck","email":"bradley.meck@gmail.com"},"maintainers":[{"name":"bradleymeck","email":"bradley.meck@gmail.com"}]},"1.0.0":{"name":"checkout","author":{"name":"Bradley Meck","email":"radley.meck@gmail.com"},"contributors":[{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"}],"description":"Pull down local or remote repositories to local directories.","dependencies":{"ncp":"~0.2.6","request":"~2.27.0","tar":"~0.1.13"},"devDependencies":{"tmp":"~0.0.21","vows":"~0.6.4"},"scripts":{"test":"vows test/handlers/*-test.js --spec"},"version":"1.0.0","main":"./lib/index.js","repository":{"type":"git","url":"git://github.com/bmeck/node-checkout"},"readme":"# checkout\n\nSimple unpacking of repositories to local directories.\n\n## Git Repositories\n\n``` js\ncheckout({\n  type: 'git',\n  url: 'git@github.com:bmeck/ruffian',\n  destination: 'my-apps/ruffian'\n}, function (err) {\n  console.error(err)\n});\n```\n\n## Streams from .tar files\n\n``` js\ncheckout({\n  type: 'tar-stream',\n  stream: req,\n  destination: 'my-apps/ruffian'\n}, function (err) {\n  console.error(err)\n});\n```\n\n## Local directories\n\n``` js\ncheckout({\n  type: 'directory',\n  directory: 'my-repos/ruffian',\n  destination: 'my-apps/ruffian'\n}, function (err) {\n  console.error(err)\n});\n```\n\n## npm packages\n\n``` js\ncheckout({\n  type: 'npm',\n  package: 'ruffian',\n  version: '0.0.0',\n  destination: 'my-apps/ruffian',\n  //\n  // Optional\n  //\n  protocol: 'https',\n  proxy: 'http://outbound-proxy.com',\n  registry: 'registry.npmjs.org',\n  'strict-ssl': false,\n  headers: {\n    // Custom HTTP headers\n    'user-agent': 'node-checkout'\n  }\n}, function (err) {\n  console.error(err)\n})\n```\n\n## Custom Handler\n\n``` js\ncheckout({\n  type: function (description, callback) {\n    // PERFORM THE CHECKOUT HERE\n    // @description matches the first argument to checkout\n  },\n}, function (err) {\n  console.error(err)\n})\n```\n\n## Registering a generic handler\n\n``` js\ncheckout.handlers.myHandler = function (description, callback) {\n  // Same as Custom Handler\n}\n```","readmeFilename":"README.md","_id":"checkout@1.0.0","dist":{"shasum":"dd7db44be97d38158eed6f680cc623366e99f790","tarball":"https://registry.npmjs.org/checkout/-/checkout-1.0.0.tgz","integrity":"sha512-wdRgdmvEd5vUyLhdAfAP7xJ1VSIuBCobBnE42NG1blcnggnu4qc9TAzmxqYUYfTubJq+xDgbOGl7tR/JJYW0aA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/oUwktlPgndmtqpoiVMrxWOcv1yhicHb45j6bvWjgBAiEAx0RkeETDQ8kvmk/43L3jW2zv6jc2SJk8EFE3VGQhTJE="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"indexzero","email":"charlie.robbins@gmail.com"},"maintainers":[{"name":"bradleymeck","email":"bradley.meck@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"}]},"1.0.1":{"name":"checkout","author":{"name":"Bradley Meck","email":"radley.meck@gmail.com"},"contributors":[{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"}],"description":"Pull down local or remote repositories to local directories.","dependencies":{"ncp":"~0.2.6","request":"~2.27.0","tar":"~0.1.13"},"devDependencies":{"tmp":"~0.0.21","vows":"~0.6.4"},"scripts":{"test":"vows test/handlers/*-test.js --spec"},"version":"1.0.1","main":"./lib/index.js","repository":{"type":"git","url":"git://github.com/bmeck/node-checkout"},"readme":"# checkout\n\nSimple unpacking of repositories to local directories.\n\n## Git Repositories\n\n``` js\ncheckout({\n  type: 'git',\n  url: 'git@github.com:bmeck/ruffian',\n  destination: 'my-apps/ruffian'\n}, function (err) {\n  console.error(err)\n});\n```\n\n## Streams from .tar files\n\n``` js\ncheckout({\n  type: 'tar-stream',\n  stream: req,\n  destination: 'my-apps/ruffian'\n}, function (err) {\n  console.error(err)\n});\n```\n\n## Local directories\n\n``` js\ncheckout({\n  type: 'directory',\n  directory: 'my-repos/ruffian',\n  destination: 'my-apps/ruffian'\n}, function (err) {\n  console.error(err)\n});\n```\n\n## npm packages\n\n``` js\ncheckout({\n  type: 'npm',\n  package: 'ruffian',\n  version: '0.0.0',\n  destination: 'my-apps/ruffian',\n  //\n  // Optional\n  //\n  protocol: 'https',\n  proxy: 'http://outbound-proxy.com',\n  registry: 'registry.npmjs.org',\n  'strict-ssl': false,\n  headers: {\n    // Custom HTTP headers\n    'user-agent': 'node-checkout'\n  }\n}, function (err) {\n  console.error(err)\n})\n```\n\n## Custom Handler\n\n``` js\ncheckout({\n  type: function (description, callback) {\n    // PERFORM THE CHECKOUT HERE\n    // @description matches the first argument to checkout\n  },\n}, function (err) {\n  console.error(err)\n})\n```\n\n## Registering a generic handler\n\n``` js\ncheckout.handlers.myHandler = function (description, callback) {\n  // Same as Custom Handler\n}\n```","readmeFilename":"README.md","_id":"checkout@1.0.1","dist":{"shasum":"86264df5c3b6ec1becb2f0f115ed3a737414d7c1","tarball":"https://registry.npmjs.org/checkout/-/checkout-1.0.1.tgz","integrity":"sha512-gDs1g2CK0xAFE0TcOiqCA7GkqfFsF45/qa0UAUyXZbW3oYgh4XZ+C7UKgzUV7HA170m8/jF5EngzGn0/+Aog1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPVg43auviL6l2H35+PEoja4OkDChTCjVv8PACqXJn4QIgSY/ttXjm24gVUpc+4wXdj1LYfoWAYPOB7eFKyA+8ZG4="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"indexzero","email":"charlie.robbins@gmail.com"},"maintainers":[{"name":"bradleymeck","email":"bradley.meck@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"}]}},"readme":"# checkout\n\nSimple unpacking of repositories to local directories.\n\n## Git Repositories\n\n```javascript\ncheckout({\n    type: 'git',\n    url: 'git@github.com:bmeck/ruffian',\n    destination: 'my-apps/ruffian'\n}, function (err) {\n    console.error(err)\n});\n```\n\n## Streams from .tar files\n\n```javascript\ncheckout({\n    type: 'tar-stream',\n    stream: req,\n    destination: 'my-apps/ruffian'\n}, function (err) {\n    console.error(err)\n});\n```\n\n## Local directories\n\n```javascript\ncheckout({\n    type: 'directory',\n    directory: 'my-repos/ruffian',\n    destination: 'my-apps/ruffian'\n}, function (err) {\n    console.error(err)\n});\n```\n\n## Custom Handler\n\n```javascript\ncheckout({\n  type: function (description, callback) {\n    // PERFORM THE CHECKOUT HERE\n    // @description matches the first argument to checkout\n  },\n}, function (err) {\n    console.error(err)\n})\n```\n\n## Registering a generic handler\n\n```javascript\ncheckout.handlers.myHandler = function (description, callback) {\n  // Same as Custom Handler\n}\n```","maintainers":[{"name":"bradleymeck","email":"bradley.meck@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"time":{"modified":"2022-06-13T05:56:15.746Z","created":"2013-03-07T16:22:52.044Z","0.0.0":"2013-03-07T16:22:52.548Z","1.0.0":"2013-09-25T00:00:08.707Z","1.0.1":"2013-09-27T08:56:54.092Z"},"repository":{"type":"git","url":"git://github.com/bmeck/node-checkout"},"author":{"name":"Bradley Meck","email":"radley.meck@gmail.com"}}