Socket
Socket
Sign inDemoInstall

ctgs.js

Package Overview
Dependencies
7
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ctgs.js

A npm wrapper for https://ctgs.ga


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

ctgs.js

Creating an short url

const { CtgsClient } = require("ctgs.js");

const shortener = new CtgsClient();

//whatever ur doing

await shortener.new("tovade", "https://github.com/tovade");
//returns https://ctgs.ga/tovade if it was success

Getting the url of an slug

const { CtgsClient } = require("ctgs.js");

const shortener = new CtgsClient();

//whatever ur doing

await shortener.get("tovade");
//returns https://github.com/tovade if it exist's

❤ Shorturl made by casper and wrapper made by tovade

Keywords

FAQs

Last updated on 16 May 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc