This package has been deprecated

Author message:

Service ended

cb0tcc

0.0.1 • Public • Published

cb0tcc.js

TotalDownloads GitHub commit activity m Node.js CI License

An official cb0t.cc api package.

install

npm i cb0tcc

Usage

shorten(url)

Function

URL

The url to create shortened url.

shorten(`https://google.com`).then(res => {
  console.log(`Url created: ${res.url}`)
}).catch(console.error)

returns

Object

{
  url: String, //URL (E.g.: "https://cb0t.cc/1")
  code: String, //code (E.g.: "1")
  message: String //message (E.g.: "URL Created: https://cb0t.cc/1")
}

Example usage

const { shorten } = require("cb0tcc");

shorten(`https://google.com`);

License

© chasyumen 2021. Released under the MIT license

Package Sidebar

Install

npm i cb0tcc

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

9.51 kB

Total Files

8

Last publish

Collaborators

  • chasyumens
  • googlefan