1.0.8 • Published 3 years ago

i4i-main v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

⚡ 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-main
  • Then Start define it like this:
const i4i = require('i4i-main')

💡 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-main');
i4i("https://google.com").then(url =>{
console.log(url);
});

Shorten with specific slug (custom code)

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

i4i site !

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago