0.1.1 • Published 10 years ago

polls v0.1.1

Weekly downloads
2
License
ISC
Repository
github
Last release
10 years ago

Get a quick political update for the 2016 presidential candidates without leaving the Command Line

I know what you're thinking: ‘wouldn’t it be great to check current poll %s of presidential candidates right from the command line’ - well with polls.js now you can.

Built on top of HuffPost's Pollster API and caseypt's node-pollster npm wrapper: 'http://elections.huffingtonpost.com/pollster/api', 'https://github.com/caseypt/node-pollster'

installation:

$ npm install polls -g

input-output:

$ polls

# displays both parties rankings
$ polls dem

# Clinton: 58.8%
# Sanders: 28.2%
# O'Malley: 2.4%
# Undecided: 7.4%
# Other: 2.4%
$ polls gop

# Trump: 36.7%
# Cruz: 17.7%
# Rubio: 10.9%
# Carson: 8.3%
# Bush: 5.6%
# Christie: 4.2%
# Fiorina: 2.9%
# Rand Paul: 2.3%
# Huckabee: 2.1%
# Kasich: 2.1%
# Graham: 0.6%
# Santorum: 0.6%
# Pataki: 0.2%
# Undecided: 5.9%
# Other: 0.8%
0.1.1

10 years ago

0.1.0

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago