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

qwala

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qwala

a client library for Qwa.la, the open-source link shortener

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Qwala JS Library

NPM Download

The Qwala JS Library is a quick and easy way to interact with the Qwala API.

Installation

You can install the JS Library from NPM:

npm install --save qwala

Usage

Using the library is as easy as using require('qwala') and calling its methods.

let qwala = require('qwala');

let short = await qwala.shorten('https://example.com');
console.log('https://qwa.la/' + short); // https://qwa.la/y7e6j6

let long = await qwala.lengthen('y7e6j6');
console.log(long); // https://example.com

let views = await qwala.statistics('y7e6j6');
console.log(views) // [{ ipAddress: '123.456.789', viewed: January 5, 2019 } . . . ]

To learn more about the Qwala JS Library, please see the full documentation.

Keywords

FAQs

Package last updated on 08 Jan 2019

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