New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

polls

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polls

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

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

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%

Keywords

2016

FAQs

Package last updated on 23 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts