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

i4i.me it's easy short url service, with API!

  • 1.0.2
  • 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(data=>{
   console.log(data.url); 
});

Shorten with specific slug (custom code)

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

i4i site !

Keywords

FAQs

Package last updated on 22 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