{"_id":"538","_rev":"12-2ee3d7b0dc63792beabf57e96ab6055e","name":"538","time":{"modified":"2022-06-12T14:07:57.640Z","created":"2014-04-05T15:21:11.391Z","538.0.0":"2014-04-05T15:21:11.391Z","1.0.0":"2016-08-10T07:45:14.145Z","1.0.1":"2016-08-10T08:04:30.567Z","1.1.0":"2016-08-10T08:09:48.807Z","1.2.0":"2016-08-10T17:46:50.801Z","2.0.0":"2016-08-11T23:39:21.114Z","2.1.0":"2016-08-15T20:55:18.198Z"},"maintainers":[{"name":"slexaxton","email":"alexsexton@gmail.com"}],"dist-tags":{"latest":"2.1.0"},"description":"Get the latest presidential polling forecasts from fivethirtyeight.com","readme":"# 538\n\nA command line util to get the latest presidential polling odds from [fivethiryeight.com](http://projects.fivethirtyeight.com/2016-election-forecast/).\n\n*DISCLAIMER:* I have nothing to do with fivethirtyeight and this is not endorsed or supported by them\nand may break at any time if they change anything about their website. Please don't run this command\nany more than you have to, it still comes directly from their servers.\n\n## Installation\n\n`npm install -g 538`\n\n## Usage\n\nType `538` into your console.\n\n![http://f.cl.ly/items/2X2X2A341S3x2m0y3D2u/Screen%20Shot%202016-08-10%20at%2012.47.15%20AM.png](http://f.cl.ly/items/2X2X2A341S3x2m0y3D2u/Screen%20Shot%202016-08-10%20at%2012.47.15%20AM.png)\n\nNote: it's 100 characters wide, because I don't hate myself and use terminals with fewer columns,\nbut I'd probably accept a nice PR that smartly adjusted to smaller terminals if you wanted.\n\n## Show me graphs when I open my terminal\n\nJust add the `538` command to your `~/.bashrc` or `~/.zshrc` (or similar), and it'll run when you\nopen your terminal. The request isn't always fast, so I don't really recommend doing this.\n\nThis might work if you have bash:\n\n```\necho \"\\n538\" >> ~/.bashrc\n```\n\nThis might work if you have zsh:\n\n```\necho \"\\n538\" >> ~/.zshrc\n```\n\n## Thanks\n\nObviously none of the data is mine. Go to http://projects.fivethirtyeight.com/2016-election-forecast/\nand click their ads each time you use the command line tool.\n\nI pretty much stole the idea from [@nelhage](https://github.com/nelhage) - who is far, far smarter than me and also wrote this in\npython first: https://github.com/nelhage/util-scripts/blob/master/538\n","versions":{"1.0.0":{"name":"538","version":"1.0.0","description":"Get the latest presidential poll from fivethirtyeight.com","main":"index.js","repository":{"type":"git","url":"git://github.com/SlexAxton/node-538.git"},"keywords":["538","president","clinton","trump","usa"],"bin":{"538":"index.js"},"author":{"name":"Alex Sexton","email":"alexsexton@gmail.com"},"license":"MIT","dependencies":{"charm":"^1.0.1","request":"^2.74.0","right-pad":"^1.0.1"},"gitHead":"097e48637f5e3efa176042bcaff4effb52b2a8f9","bugs":{"url":"https://github.com/SlexAxton/node-538/issues"},"homepage":"https://github.com/SlexAxton/node-538#readme","_id":"538@1.0.0","scripts":{},"_shasum":"c8497ec6be5020085269176d6c30fce37e7bc36c","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"slexaxton","email":"alexsexton@gmail.com"},"maintainers":[{"name":"slexaxton","email":"alexsexton@gmail.com"}],"dist":{"shasum":"c8497ec6be5020085269176d6c30fce37e7bc36c","tarball":"https://registry.npmjs.org/538/-/538-1.0.0.tgz","integrity":"sha512-vZYKktEa9iYevIQea+uz9BF0Yhd9NFNAK7CtQ3IcplYTMUZZpy9b6J5Nmc5nVlK5p9NvzSx+iIv+ConfmaYypQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC29FsyCV23MBLfCAnDsUSFvxgOuN1MICMD2vMOjx3W7wIhAO1KyEyKRn+SlCp4XjG/6Fj7SaeJPHqQgPnBcDzDLAoK"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/538-1.0.0.tgz_1470815113883_0.1490885813254863"}},"1.0.1":{"name":"538","version":"1.0.1","description":"Get the latest presidential poll from fivethirtyeight.com","main":"index.js","repository":{"type":"git","url":"git://github.com/SlexAxton/node-538.git"},"keywords":["538","president","clinton","trump","usa"],"bin":{"538":"index.js"},"author":{"name":"Alex Sexton","email":"alexsexton@gmail.com"},"license":"MIT","dependencies":{"charm":"^1.0.1","request":"^2.74.0","right-pad":"^1.0.1"},"gitHead":"51dfe50e8653270cd179262a34556bd7867124e0","bugs":{"url":"https://github.com/SlexAxton/node-538/issues"},"homepage":"https://github.com/SlexAxton/node-538#readme","_id":"538@1.0.1","scripts":{},"_shasum":"c93f97ef960bb83c40cf93e40601e28ea46e5aed","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"slexaxton","email":"alexsexton@gmail.com"},"maintainers":[{"name":"slexaxton","email":"alexsexton@gmail.com"}],"dist":{"shasum":"c93f97ef960bb83c40cf93e40601e28ea46e5aed","tarball":"https://registry.npmjs.org/538/-/538-1.0.1.tgz","integrity":"sha512-sEwVk2gcHwv4fpdnEpwzTc/+/IksisbajirDjbdYeT4qiDdXW3iHpwCgIcnw23jHHU+N/gxcd79sS3bAtPiqog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPOBnzy+8cHcAQj/Ts0jvRcP+9J05nZySGz4ZSwYG0VgIgH7KP37sl9LJwHErXuIflGP8aBwK/MlywEWdWzmYGnUU="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/538-1.0.1.tgz_1470816266811_0.192477872595191"}},"1.1.0":{"name":"538","version":"1.1.0","description":"Get the latest presidential poll from fivethirtyeight.com","main":"index.js","repository":{"type":"git","url":"git://github.com/SlexAxton/node-538.git"},"keywords":["538","president","clinton","trump","usa"],"bin":{"538":"index.js"},"author":{"name":"Alex Sexton","email":"alexsexton@gmail.com"},"license":"MIT","dependencies":{"charm":"^1.0.1","request":"^2.74.0","right-pad":"^1.0.1"},"gitHead":"945a945630797f38b34a34b9d8bdb48aac754a16","bugs":{"url":"https://github.com/SlexAxton/node-538/issues"},"homepage":"https://github.com/SlexAxton/node-538#readme","_id":"538@1.1.0","scripts":{},"_shasum":"4c00311c4f63a5f22968213fe3db9e37a60d58c4","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"slexaxton","email":"alexsexton@gmail.com"},"maintainers":[{"name":"slexaxton","email":"alexsexton@gmail.com"}],"dist":{"shasum":"4c00311c4f63a5f22968213fe3db9e37a60d58c4","tarball":"https://registry.npmjs.org/538/-/538-1.1.0.tgz","integrity":"sha512-EeI8vtEb52xAC/5H7DwHtOLKuXA2+yyH73x8Uu+jUQvTo5ivD7mLGAyTZN8k/Zt4TXzOqwpvNYADYbM+0skFJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9WCMdpGUr5h/dvduTO4EQoaQ1zPewARdP7QdPV3x7dAIgdM+EhvJCOGhS9ZvjDvGn5ejFR/63le+9cTyZL1CqJ7o="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/538-1.1.0.tgz_1470816584650_0.2103786449879408"}},"1.2.0":{"name":"538","version":"1.2.0","description":"Get the latest presidential polling forecasts from fivethirtyeight.com","main":"index.js","repository":{"type":"git","url":"git://github.com/SlexAxton/node-538.git"},"keywords":["538","president","clinton","trump","usa"],"bin":{"538":"index.js"},"author":{"name":"Alex Sexton","email":"alexsexton@gmail.com"},"license":"MIT","dependencies":{"charm":"^1.0.1","request":"^2.74.0","right-pad":"^1.0.1"},"gitHead":"bd488859308996bcb84e36e6b076762a748df268","bugs":{"url":"https://github.com/SlexAxton/node-538/issues"},"homepage":"https://github.com/SlexAxton/node-538#readme","_id":"538@1.2.0","scripts":{},"_shasum":"edd9b6268a2b8fcbac87e360384832ed4029906a","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"slexaxton","email":"alexsexton@gmail.com"},"maintainers":[{"name":"slexaxton","email":"alexsexton@gmail.com"}],"dist":{"shasum":"edd9b6268a2b8fcbac87e360384832ed4029906a","tarball":"https://registry.npmjs.org/538/-/538-1.2.0.tgz","integrity":"sha512-lvXIHgujANQLRhz0u0aI95iEkccswUzNSHUtxY/9cpODm5QXLP1BtHDqSsjHDrsJ13Ag7GGe9KxZMaeWkYFtxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBoMt1tBLmihtqg+1V+cMMpgyqTiWQlHlmURvS00/cTEAiATUWXVvziy6p75FfzckHKrI7MZ7DpUUh0tlawGD7ydJQ=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/538-1.2.0.tgz_1470851208996_0.15795266325585544"}},"2.0.0":{"name":"538","version":"2.0.0","description":"Get the latest presidential polling forecasts from fivethirtyeight.com","main":"index.js","repository":{"type":"git","url":"git://github.com/SlexAxton/node-538.git"},"keywords":["538","president","clinton","trump","usa"],"bin":{"538":"index.js"},"author":{"name":"Alex Sexton","email":"alexsexton@gmail.com"},"license":"MIT","dependencies":{"charm":"^1.0.1","request":"^2.74.0","right-pad":"^1.0.1"},"gitHead":"4a45d55510e4f474b27dd36e2bc7720fe54865ce","bugs":{"url":"https://github.com/SlexAxton/node-538/issues"},"homepage":"https://github.com/SlexAxton/node-538#readme","_id":"538@2.0.0","scripts":{},"_shasum":"3fb1fc601cb7a343e3e74f1ff686e97f3658dded","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"slexaxton","email":"alexsexton@gmail.com"},"maintainers":[{"name":"slexaxton","email":"alexsexton@gmail.com"}],"dist":{"shasum":"3fb1fc601cb7a343e3e74f1ff686e97f3658dded","tarball":"https://registry.npmjs.org/538/-/538-2.0.0.tgz","integrity":"sha512-dQ/jC2dsEBOb51nVLPF50p0K953r6fj/eD1Q8vM+AjUwUf3ZLsUAo9zA8GJu6bRdasMPWyxoQvRXMRYI5AB7jg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCn179ywKqgsJaFICsJiE6gpeJBWVenCVLXEMs5eJgAEgIgIL9Xscuo895Z/9jmPv+1830UoLxGgiC+uxBPonYfkvA="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/538-2.0.0.tgz_1470958760881_0.062173638259992"}},"2.1.0":{"name":"538","version":"2.1.0","description":"Get the latest presidential polling forecasts from fivethirtyeight.com","main":"index.js","repository":{"type":"git","url":"git://github.com/SlexAxton/node-538.git"},"keywords":["538","president","clinton","trump","usa"],"bin":{"538":"index.js"},"author":{"name":"Alex Sexton","email":"alexsexton@gmail.com"},"license":"MIT","dependencies":{"charm":"^1.0.1","request":"^2.74.0","right-pad":"^1.0.1"},"gitHead":"b737b98f5e9dfff16ae5cc6c9a2a8ce53374e30f","bugs":{"url":"https://github.com/SlexAxton/node-538/issues"},"homepage":"https://github.com/SlexAxton/node-538#readme","_id":"538@2.1.0","scripts":{},"_shasum":"874eb4bfd1b65328c541259e3d8d793c74175f3b","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"slexaxton","email":"alexsexton@gmail.com"},"maintainers":[{"name":"slexaxton","email":"alexsexton@gmail.com"}],"dist":{"shasum":"874eb4bfd1b65328c541259e3d8d793c74175f3b","tarball":"https://registry.npmjs.org/538/-/538-2.1.0.tgz","integrity":"sha512-w0rnnKINrHB5SIWLQTG6VpX1zNsRfeBPGVgF7eScbRUO0YRg1+MMDrJDoXdVTTnQewxmWNZy1Q35HXLA6jIFgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFcUg+0I/mVH/j/3Drio83AH2lG7kGTSay8TTKt/+PlYAiA5anaI+VsKv07jUZppo//c0N/teQZY2YJeJQUTh6w25Q=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/538-2.1.0.tgz_1471294516241_0.3168284867424518"}}},"homepage":"https://github.com/SlexAxton/node-538#readme","keywords":["538","president","clinton","trump","usa"],"repository":{"type":"git","url":"git://github.com/SlexAxton/node-538.git"},"author":{"name":"Alex Sexton","email":"alexsexton@gmail.com"},"bugs":{"url":"https://github.com/SlexAxton/node-538/issues"},"license":"MIT","readmeFilename":"README.md","users":{"swider":true}}