Yiff-Rocks
A module for the yiff.rocks url shortener.
This module is used for shortening urls using yiff.rocks.
How To Use:
const YiffRocks = ; // Shorten URL// see "Result of all functions" for result// This one should *not* throw an error under normal circumstances// Warning: Image is NSFW// This function can take between 1 and 3 parameters// 1 - URL// 2 - Credit (You can provide your name here for it to be tracked that you created the short url)// 3 - Code (Override the random generated code, will throw an error if it's already used) YiffRocks;YiffRocks;YiffRocks; // Get Info By URL// see "Result of all functions" for result// This one should *not* throw an error under normal circumstances// Warning: Image is NSFW// this function takes 1 parameter// 1 - URLYiffRocks; // Get Info By Code// see "Result of all functions" for result// This one will throw an error if the code is not used// this function takes 1 parameter// 1 - CodeYiffRocks;
Result of all functions:
If you don't know how to read typescript, just pretend it's an object with all of those properties.