{"_id":"gisty","_rev":"20-73ca7aa9642a66b7c39989f6abc2c53c","name":"gisty","description":"Wrapper for the GitHub Gists API v3","dist-tags":{"latest":"0.1.5"},"versions":{"0.0.1":{"name":"gisty","version":"0.0.1","description":"Wrapper for the GitHub gist API v3","keywords":["github","gist","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://github.com/meritt/node-gisty","main":"./lib/gisty","repository":{"type":"git","url":"git://github.com/meritt/node-gisty.git"},"engines":{"node":">= 0.4.0"},"dependencies":{"request":">=2.0.0"},"devDependencies":{"coffee-script":">= 1.0.0","everyauth":">=0.2.18","express":">=2.4.4","ejs":">=0.4.3"},"_npmJsonOpts":{"file":"/Users/simonenko/.npm/gisty/0.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"gisty@0.0.1","_engineSupported":true,"_npmVersion":"1.0.25","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"e2c672550f99d1e666de09440c47238b2f14bc31","tarball":"https://registry.npmjs.org/gisty/-/gisty-0.0.1.tgz","integrity":"sha512-oxO9Q4+InXAIJ2A0XwRLgDwt+3IMvwgl3HcMVK3Wt1dc2lFGpkXdORztdBqoLM8uaoREfltUnwr0LgrNn7Lstw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPAbp5Oh4yJpa0rj9utDCQXB8WF3PtnzjU+W4R2WeS7gIhAPsb92PYO43PmcoxpT8EDmLMbIjTahFEbULgMYkLY4RM"}]},"scripts":{},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.0.2":{"name":"gisty","version":"0.0.2","description":"Wrapper for the GitHub gist API v3","keywords":["github","gist","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://github.com/meritt/node-gisty","main":"./lib/gisty","repository":{"type":"git","url":"git://github.com/meritt/node-gisty.git"},"engines":{"node":">= 0.4.0"},"dependencies":{"request":">=2.0.0"},"devDependencies":{"coffee-script":">= 1.0.0","everyauth":">=0.2.18","express":">=2.4.4","ejs":">=0.4.3"},"_npmJsonOpts":{"file":"/Users/simonenko/.npm/gisty/0.0.2/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"gisty@0.0.2","_engineSupported":true,"_npmVersion":"1.0.25","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"cd37f346bfb9e253a54416990f46d828497c480e","tarball":"https://registry.npmjs.org/gisty/-/gisty-0.0.2.tgz","integrity":"sha512-565o1M+BI/5ZVqXe07dYG09PX4IUdvesPttXLraiD1YGkH6LzIt8CxUfnMrfZPt4ykmX7xiIb8bZ/SVFohzi4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaRjCXtm5QDD2HVRkS2smdIENTLvlI03EtHcuRdZ3ooAIgbdx1SdwRO/5LXzAqP+H2zd3Pvg1SvXrI2ghYm1OiQ60="}]},"scripts":{},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.0.3":{"name":"gisty","version":"0.0.3","description":"Wrapper for the GitHub gist API v3","keywords":["github","gist","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://github.com/meritt/node-gisty","repository":{"type":"git","url":"git://github.com/meritt/node-gisty.git"},"main":"./lib/gisty","engines":{"node":">=0.6.0 <0.7.0"},"dependencies":{"request":">=2.9"},"devDependencies":{"coffee-script":">=1.3.0","everyauth":">=0.2.32","express":">=2.5.9","ejs":">=0.7.1"},"_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"_id":"gisty@0.0.3","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.18","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"65b131d42eda5b2c1580e19b85a9355eababedcf","tarball":"https://registry.npmjs.org/gisty/-/gisty-0.0.3.tgz","integrity":"sha512-JtRMU7ygnwL17ePfB7+T7Zp4jYWv/LOmyd2MsGRxFbRQ5Lfzqo5J5OruNY1O1GJNCPC0Ry/+tm74P+zbZmhGbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGW7IizCbd6dCvzQFbb66fuQU9aVGYKtkYGVN7nFu0wXAiApNqeGMrau6TfP0YrEa37ncCjCCZE3Z6JwfQb+82mdXA=="}]},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.1.0":{"name":"gisty","version":"0.1.0","description":"Wrapper for the GitHub gist API v3","keywords":["github","gist","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-gisty","main":"./lib/gisty","repository":{"type":"git","url":"https://github.com/meritt/node-gisty.git"},"engines":{"node":">=0.6.0 <0.9.0"},"dependencies":{"request":"2.12.x"},"devDependencies":{"coffee-script":"1.4.x","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"_id":"gisty@0.1.0","dist":{"shasum":"996325095ead2840e843329cc94b27df54479b3c","tarball":"https://registry.npmjs.org/gisty/-/gisty-0.1.0.tgz","integrity":"sha512-u0un+7Ii7hVrYN2qvl1HbUVMRFKr5OILWHu8fXUlkrzTfR+WepXj6ulsTA/p1EOqn4fqeYHO0XXJHpVZvrBU0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDnXBMkGoT1o9p75HZLelmg55071n6syC0BdRy0nua5fAiAXpKTL2zjyy0iWtTlSsP2XlmqVYxXLOYTTYctQAQYV9w=="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.1.1":{"name":"gisty","version":"0.1.1","description":"Wrapper for the GitHub gist API v3","keywords":["github","gist","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-gisty","main":"./lib/gisty","repository":{"type":"git","url":"https://github.com/meritt/node-gisty.git"},"engines":{"node":">=0.8.0 <0.11.0"},"dependencies":{"request":"2.14.x"},"devDependencies":{"coffee-script":"1.6.x","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"_id":"gisty@0.1.1","dist":{"shasum":"5a0f757b4ed23d1e519468adb546640281973967","tarball":"https://registry.npmjs.org/gisty/-/gisty-0.1.1.tgz","integrity":"sha512-MVR+9qf5fzPBflw6R1mXwdw9NzmrfWtTawP5k0OmfkVd3GvbigI+NUOVk4HRySa3cS7XPrV15pPElkmHrdE0TQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGegQUzIBCKB4tzGDLnpTz3fMd8BM3c9ybQdAzcYs8CWAiEAyYyHHweuaxQIm+V77RlqOkKTVDQOwN3b+BC+6eipnbA="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.1.2":{"name":"gisty","version":"0.1.2","description":"Wrapper for the GitHub gist API v3","keywords":["github","gist","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-gisty","main":"./lib/gisty","repository":{"type":"git","url":"https://github.com/meritt/node-gisty.git"},"engines":{"node":">=0.8.0 <0.11.0"},"dependencies":{"request":"2.21.x"},"devDependencies":{"coffee-script":"1.6.x","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"_id":"gisty@0.1.2","dist":{"shasum":"6990d7f29d075ef4301d75723950b4fc8ec929c5","tarball":"https://registry.npmjs.org/gisty/-/gisty-0.1.2.tgz","integrity":"sha512-ZBVrOAS5ZtJmR0Qpbit4kqg8S1QyBrShRbspoiQxj824xuzzj7y1QF53j8qgyCM2IH3ak18JKGkaEryYPDY8oA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHtbZw9w7wL4TLH3wVCH6mOiKGNkAG31RLmJMaLgLKuvAiA0leklSxQENnnxUdVzqvBfkqK1igqPoRHUHjkdyZ+KbQ=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.1.3":{"name":"gisty","version":"0.1.3","description":"Wrapper for the GitHub gist API v3","keywords":["github","gist","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-gisty","main":"./lib/gisty","repository":{"type":"git","url":"https://github.com/meritt/node-gisty.git"},"engines":{"node":">=0.8.0 <0.11.0"},"dependencies":{"request":"2.27.x"},"devDependencies":{"coffee-script":"1.6.x","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"bugs":{"url":"https://github.com/meritt/node-gisty/issues"},"_id":"gisty@0.1.3","dist":{"shasum":"6ed86ee81b578a5c080fe8983f03dad805c3832f","tarball":"https://registry.npmjs.org/gisty/-/gisty-0.1.3.tgz","integrity":"sha512-wtDriIxTBkkcfsvxdNmZNJTdBghhlcRNfqSCxDgZU0E7IWdjzwVOSX91tsbPMmKi0/j0DAQvPCw3NDzzMNA4SA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAn8TRyPBEI/cNrZRrqn7jVKtwrpfa0Fnokh45xppHQiAiBFTVkJRBnfBKvg/aM7CSx8j8JxZfQJ94EdF1Qc1y46UQ=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.1.4":{"name":"gisty","version":"0.1.4","description":"Wrapper for the GitHub Gists API v3","keywords":["github","gist","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-gisty","main":"./lib/gisty","repository":{"type":"git","url":"https://github.com/meritt/node-gisty.git"},"engines":{"node":">=0.8.0"},"dependencies":{"request":"2.x"},"devDependencies":{"coffee-script":"1.6.x","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"bugs":{"url":"https://github.com/meritt/node-gisty/issues"},"_id":"gisty@0.1.4","dist":{"shasum":"063e67fa91f462143930e16848fc9838950d7d6c","tarball":"https://registry.npmjs.org/gisty/-/gisty-0.1.4.tgz","integrity":"sha512-jzWbxddLn21WZKw2DZQAA5upb7V+gqj2GeH7GVbhxv/7y6BU/hKFRtvGDNOA33ioSfj2nMJ3lZQXQSdEJFpaew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBJDHHFfWj728rs/F5zktcS5AAoUR5koyvvIJHij4eq9AiBtGZd/QIfc1vb5nJapUYztvV9R9aAqdPfNwebWRhYFZQ=="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}]},"0.1.5":{"name":"gisty","version":"0.1.5","description":"Wrapper for the GitHub Gists API v3","keywords":["github","gist","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-gisty","main":"./lib/gisty","repository":{"type":"git","url":"https://github.com/meritt/node-gisty.git"},"engines":{"node":">=0.10"},"dependencies":{"request":"2.x"},"devDependencies":{"coffee-script":"~1.7.1","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"scripts":{"build":"coffee -c -o lib/ src/"},"license":"MIT","bugs":{"url":"https://github.com/meritt/node-gisty/issues"},"_id":"gisty@0.1.5","dist":{"shasum":"fc2822060656025be5a6a97646fa05cf8246c59e","tarball":"https://registry.npmjs.org/gisty/-/gisty-0.1.5.tgz","integrity":"sha512-qUrlEj0LU3PSfMRU+QM38Vkn46IoiQn/rhWjK8YOWcIadw/JjTbTVTMukwQkKoK/F0xWv2x5/BBOM3CaoAR0XA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH1cpbIgKXeQB1c9yDd/nQts9HZR7a8G6XR2+KgIWZ0IAiEAnlAnY1uwk5ig39gU9LQCdtttTVf8Ifka/RrTxPr2l2M="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}]}},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"time":{"modified":"2022-06-18T08:24:37.719Z","created":"2011-08-16T13:48:00.940Z","0.0.1":"2011-08-16T13:48:04.151Z","0.0.2":"2011-08-17T13:29:52.936Z","0.0.3":"2012-04-22T20:05:04.556Z","0.1.0":"2013-01-08T18:06:41.964Z","0.1.1":"2013-03-16T16:23:53.734Z","0.1.2":"2013-05-18T22:28:41.831Z","0.1.3":"2013-11-03T16:52:41.314Z","0.1.4":"2013-12-24T23:58:06.784Z","0.1.5":"2014-04-05T11:45:58.176Z"},"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"repository":{"type":"git","url":"https://github.com/meritt/node-gisty.git"},"readme":"# gisty\n\n[![NPM version](https://badge.fury.io/js/gisty.svg)](http://badge.fury.io/js/gisty) [![Dependency Status](https://david-dm.org/meritt/node-gisty.svg?theme=shields.io)](https://david-dm.org/meritt/node-gisty)\n\nA node.js wrapper for the GitHub [Gists API v3](http://developer.github.com/v3/gists/).\n\n## Installation\n\n```bash\n$ npm install gisty\n```\n\n## Examples\n\n```js\nvar Gisty = require('gisty');\n\nvar gist = new Gisty({\n  username: 'meritt'\n});\n\ngist.fetch('1111422', function(error, gist) {\n  if (error) {\n    throw new Error(error);\n  }\n\n  for (filename in gist.files) {\n    console.log(filename + \"\\n\" + gist.files[filename].content + \"\\n\\n\");\n  }\n});\n```\n\n```coffeescript\nGisty = require 'gisty'\n\ngist = new Gisty username: 'meritt'\n\ngist.fetch '1111422', (error, gist) ->\n  throw new Error error if error\n  console.log \"#{filename}\\n#{file.content}\\n\\n\" for filename, file of gist.files\n```\n\n[See other examples](http://github.com/meritt/node-gisty/tree/master/examples)\n\n## How to retrieve github OAuth2 access_token\n\nGrab latest source code and install all dev dependencies\n\n```bash\n$ npm link\n```\n\nChange your host, client id, client secret in [examples/get-access-token.coffee](http://github.com/meritt/node-gisty/blob/master/examples/get-access-token.coffee) and after that run [examples/get-access-token.coffee](http://github.com/meritt/node-gisty/blob/master/examples/get-access-token.coffee)\n\n```bash\n$ coffee examples/get-access-token.coffee\n```\n\n## API\n\n* `fetch(gist_id, callback)`\n* `comments(gist_id, callback)`\n* `all(callback)`\n* `public(callback)`\n* `starred(callback)`\n\n## Author\n\n* [Alexey Simonenko](mailto:alexey@simonenko.su), [simonenko.su](http://simonenko.su)\n\n## License\n\nThe MIT License, see the included `license.md` file.\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/meritt/node-gisty/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")","homepage":"http://simonenko.su/projects/node-gisty","keywords":["github","gist","api","wrapper"],"bugs":{"url":"https://github.com/meritt/node-gisty/issues"},"license":"MIT","readmeFilename":"readme.md"}