sc136 Documentation

Just A Simple Utility Package!

npmjs.com | Discord | GitHub

Shorten function

Shortens The String To A Specified Length!

const sc = require('sc136'); // Importing The Package

let text = 'hi how are you'; // A String

(sc.Shorten(text, 6)); // First Argument Is The String, Second Is A Number

// returns: 'hi how...'

Reverse function

Reverses The String!

const sc = require('sc136'); // Importing The Package

let text = 'hi how are you';

console.log(sc.Reverse(text)); // First Argument Is A String

// returns: 'uoy era woh ih'

genRandomHex function

Generates A Random Hex Color Code!

const sc = require('sc136'); // Importing The Package

console.log(sc.genRandomHex()) // No Arguments Needed

// returns: '#0059ff'