Socket
Socket
Sign inDemoInstall

waaai

Package Overview
Dependencies
20
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    waaai

API and CLI tool for waa.ai


Version published
Weekly downloads
41
increased by1266.67%
Maintainers
1
Install size
837 kB
Created
Weekly downloads
 

Readme

Source

travis

Setup

Use sudo npm -g install waaai to install the CLI program

CLI Usage

$ waaai https://github.com/underr/waaai/http://waa.ai/4giF

Private link: $ waaai http://yuruyuri.com/ -p http://waa.ai/4gh7/9cf648

Custom link: $ waaai http://420.moe/ -c smokeeveryday http://waa.ai/smokeeveryday

Info from short code: $ waaai -i 4giF

API Usage

npm install waaai

var waaai = require('waaai');
// Using promises:
waaai.link({
  url: 'http://rei-ayanami.com/rei/',
  custom: 'ayanami-rei'
})
.then(function(result) {
  console.log(result) + '\n' // outputs http://waa.ai/ayanami-rei
});

// Or the hated yet traditional callbacks:
waaai.link({url: 'http://rei-ayanami.com/rei/'}, function(error, result) {
  if (!error) console.log(result)
});

// Get info from a short code
waaai.info('4iLm')
.then(function (result) {
  console.log(result)
});
  • url: string (required)
  • custom: string
  • private: boolean

Python version

Here.

Keywords

FAQs

Last updated on 09 May 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc