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

i4i

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

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!

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 24 Mar 2021

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