i4i

1.1.0 • Public • Published

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 !

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    3
  • 1.0.3
    1
  • 1.0.2
    1
  • 1.0.1
    0

Package Sidebar

Install

npm i i4i

Weekly Downloads

5

Version

1.1.0

License

ISC

Unpacked Size

3.03 kB

Total Files

5

Last publish

Collaborators

  • abumaher