npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

tech-tip-cyber

v1.2.8

Published

Making Your Discord.JS Bot Coding Easier With Lots Of Features!

Downloads

79

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