New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

unshorter

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unshorter

Minimalist and lightweight URL unshortener for Node.js

latest
Source
npmnpm
Version
1.2.2
Version published
Maintainers
1
Created
Source

unshorter

Promise-based, Minimalist and Lightweight URL unshortner for Node.js

Installation

npm install unshorter --save

Usage


// ES6 Modules
import unshorter from 'unshorter';

// CommonJS Modules
const unshorter = require('unshorter');

const shortUrl = 'https://s.id/aliazhar-github' //Example

unshorter(shortUrl)
 .then((longUrl) => console.info('Result:', longUrl))
 .catch((err) => console.error('Oops!'));

License

This project is licensed under MIT License.

Keywords

unshort

FAQs

Package last updated on 23 Oct 2022

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