Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vorpal-hacker-news

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vorpal-hacker-news

Demo extension for Vorpal.js

  • 1.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by40%
Maintainers
1
Weekly downloads
 
Created
Source

vorpal-hacker-news

Build Status

Demo extension for Vorpal.js. This is used in the Vantage.js demo in tandem with vorpal-use to demonstrate how to do a live import of a Vorpal extension.

Installation
npm install vorpal-hacker-news
npm install vorpal
Programmatic use
// index.js
var Vorpal = require('vorpal')
  , hn = require('vorpal-hacker-news')
  ;

var vorpal = Vorpal();

vorpal
  .delimiter('node~$')
  .use(hn)
  .show();
$
$ node index.js
node~$ 
node~$ hacker-news --length 3

  Pulling top 3 stories on Hacker News:

  1. I Dont Believe in God, but I Believe in Lithium (nytimes.com)
     171 points by pepys 11 hours ago | 64 comments

  2. Running Lisp in Production (grammarly.com)
     300 points by f00biebletch 15 hours ago | 98 comments

  3. Philanthropy for Hackers (wsj.com)
     53 points by petethomas 5 hours ago | 14 comments

node~$
Realtime use
$
$ vorpal 192.168.0.100:4000
websvr~$ 
websvr~$ use vorpal-hacker-news
Successfully installed vorpal-hacker-news
websvr~$ 
websvr~$ hacker-news --length 10

  Pulling top 10 stories on Hacker News:

  ...

websvr~$ 

Keywords

FAQs

Package last updated on 24 Aug 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc