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

arbita

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arbita

Flexible random redirector for sharing your favorite media.

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

arbita

Flexible random redirector for sharing your favorite media.

Installing

# npm i -g arbita

Usage

Create a links file. File extensions will be processed as:

  • .js exporting an express.Router instance
  • .json with properties:
    • links: Array of links
    • sub [optional]: Object containing route names as keys and objects of the same structure ({ links, [sub] }) as values
  • otherwise: a list of links separated by lines, ignoring # comments

For more information, visit examples/.

$ cat > search
  # Google
  https://www.google.com/
  https://www.yahoo.com/
# arbita search

A server now runs on port 80, which will randomly redirect you to Google or Yahoo.

arbita serves on port 80 by default. To serve on a different port, pass it as the second argument.

$ arbita [file] [port=80]

Keywords

FAQs

Package last updated on 26 May 2016

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