Socket
Socket
Sign inDemoInstall

i4i

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

i4i

Easy-to-use shortening url package by interacting with https://i4i.me API!


Version published
Maintainers
1
Weekly downloads
3
increased by200%

Weekly downloads

Readme

Source

⚡ i4i

  • i4i An Easy-to-use Free URL Shortner API!

😏 Some Of Features

  • Json Api
  • Free & Simple

🔌 Getting Started

  • You can start install the package on your project:
npm i i4i
  • Then Start define it like this:
const i4i = require('i4i')

💡 Some Notes

  • This Package Use Node-Fetch Package
  • The Package Using Official i4i Api
  • Package Just Have One Method (Short) function
  • Package is working with promises means you need to resolve it using async/await or then()

🔋 Examples

Shorten URL

const i4i = require('i4i');
i4i("https://google.com").then(url =>{
console.log(url);
});

Shorten with specific slug (custom code)

const i4i = require('i4i');
i4i("https://google.com", "google").then(url =>{
console.log(url)
});

i4i site !

Keywords

FAQs

Last updated on 24 Mar 2021

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