New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

owo.js

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

owo.js

owo.whats-th.is JavaScript API wrapper.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-16.67%
Maintainers
3
Weekly downloads
 
Created
Source

owo.js Build Status

A wrapper that was written inside of Javascript that allows for you to upload images to the owo.whats-th.is and shorten URLs through uwu.whats-th.is. This package can also be found on the NPM service if you run the command npm install owo.js

Instructions

  1. Gain a API key in order to be actually able to use the service.
  2. Run the command npm install owo.js
  3. Check the usage below to find some basic examples of how to use the script.

Usage

Image Uploading

// Import OwO.JS for use.
const owo = new (require("owo.js"))("YOUR-KEY-HERE");

// Upload the file to OwO.
owo.upload('./examples/file.png')
	.then(data => console.log(data))
    .catch(err => console.log(err));

URL Shortening

// Import OwO.JS for use.
const owo = new (require("owo.js"))("YOUR-KEY-HERE");

// Shorten the url to OwO.
owo.shorten("http://whats-th.is/")
	.then(data => console.log(data))
    .catch(err => console.log(err));

Todo

  • Add JSON Parsing.
  • Take over the world.

Contribute

  1. Fork repo.
  2. Edit code.
  3. Make a PR.
  4. Submit said PR.

License

A copy of the MIT license can be found in LICENSE.md.

Keywords

FAQs

Package last updated on 28 Mar 2017

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