tech-tip-cyber
v1.2.8
Published
Making Your Discord.JS Bot Coding Easier With Lots Of Features!
Downloads
62
Maintainers
Readme
Tech Tip Cyber
Making Your Discord.JS Bot Coding Easier With Lots Of Features! We Have Made This Package To Make Your Coding Easy. You Can Check Out Our Tutorials Videos Of Discord.JS On YouTube And Join Our Discord Server For All Kind Of Help And Hangout.
Contents
Installation
npm install tech-tip-cyber
To Install Latest Version Use:
npm install tech-tip-cyber@latest
Usages
- Capitalize: Convert Fisrt Alphabet Of String To Capital
- IP Address: Get Random IP Address
- Random Email: Get Random Email With Personalized Domain
- Random Name: Get Random Name From Over 600+ Different Names
- Random Number: Get Random Number With Your Personalized Minimum And Maximum Range
- Random Password: Get Random Random Password With Personalized Password Lenght
- MS: Convert MilliSeconds To Days, Hours, Minutes, Seconds And More
- Hex Color Check: Check If Provided Hex Color Code Is Valid Or Not
- More Coming Soon™
Examples
Capitalize
const { Capitalize } = require('tech-tip-cyber') // Importing Package
const text = Capitalize({
Capital: 'tech Tip Cyber'
}) // Text To Capital
console.log(text) // Output: Tech Tip Cyber
IP Address
const { ipAddress } = require('tech-tip-cyber') // Importing Package
console.log(ipAddress()) // Output: 250.52.169.98, 165.215.159.165, 94.246.4.97
Random Email
- Without Personalized Domain
const { randomEmail } = require('tech-tip-cyber') // Importing Package
console.log(randomEmail()) // Output: [email protected], [email protected], [email protected]
- With Personalized Domain
const { randomEmail } = require('tech-tip-cyber') // Importing Package
console.log(randomEmail({ domain: 'techtipcyber.com' })) // Output: [email protected],
Random Name
const { randomName } = require('tech-tip-cyber') // Importing Package
console.log(randomName()) // Output: Kristen Ortiz, Cally Arias, Wallace Grave
Random Number
const { randomNumber } = require('tech-tip-cyber') // Importing Package
const number = randomNumber({
Minimum: 5,
Maximum: 45,
}) // Will Show Output From 5(Minimum) To 50(Minimum+Maximum)
console.log(number) // Output: 5, 49, 50, 17, 29
Random Password
const { randomPassword } = require('tech-tip-cyber') // Importing Package
console.log(randomPassword(7)) // password(<7>) <7> Is Length Of PassWord // Output: u0cQD4H, WOJst!z, *I$^hPR, 11eT%!C
MS
const { ms } = require('tech-tip-cyber') // Importing Package
console.log(ms(656488035.042049)) // ms(<656488035.042049>) <656488035.042049> Is MilliSeconds
console.log(ms(656488035.042049).days) // Output: 7 Days
console.log(ms(656488035.042049).hours) // Output: 14 Hours
console.log(ms(656488035.042049).minutes) // Output: 21 Minutes
console.log(ms(656488035.042049).seconds) // Output: 28 Seconds
console.log(ms(656488035.042049).milliseconds) // Output: 35 MilliSeconds
console.log(ms(656488035.042049).microseconds) // Output: 42 MicroSeconds
console.log(ms(656488035.042049).nanoseconds) // Output: 49 NanoSeconds
Hex Color Check
const { hexCheck } = require('tech-tip-cyber') // Importing Package
console.log(hexCheck().test('#ffff')) // Output: true // Color Valid
console.log(hexCheck().test('ffff')) // Output: false // Color Not Valid
console.log(hexCheck().test('#fff')) // Output: true // Color Valid
console.log(hexCheck().test('fff')) // Output: false // Color Not Valid
console.log(hexCheck().test('#4g1')) // Output: false // Color Not Valid
console.log(hexCheck().test('zY1')) // Output: false // Color Not Valid
console.log(hexCheck().test('#7f68ZY')) // Output: false // Color Not Valid
console.log(hexCheck().test('ffffff')) // Output: false // Color Not Valid
console.log(hexCheck().test('#afebe3')) // Output: true // Color Valid
console.log(hexCheck().test('#AFEBE3')) // Output: true // Color Valid
console.log(hexCheck().test('#ffffff')) // Output: true // Color Valid
console.log(hexCheck().test('#FFFFFF')) // Output: true // Color Valid
console.log(hexCheck().test('#3cb')) // Output: true // Color Valid
console.log(hexCheck().test('#3CB')) // Output: true // Color Valid
console.log(hexCheck().test('#FFF')) // Output: true // Color Valid
console.log(hexCheck().test('#fff')) // Output: true // Color Valid