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

quicker-qer

v0.0.4

Published

quick tools

Downloads

2

Readme

#F8B4B5 Including Quicker

const qer = require("quicker-qer");

#D66464 Addition Usage

let quick = qer.addition(1, 3);
qer.log(quick);
//logs 4 to the console

#BB4140 Substraction Usage

let quick = qer.substraction(5, 3);
qer.log(quick);
//logs 2 to the console

#971F20 Multiplation Usage

let quick = qer.multiplation(2, 7);
qer.log(quick);
//logs 14 to the console

#501010 Division Usage

let quick = qer.division(20, 2);
qer.log(quick);
//logs 10 to the console

#501010 Getting Date

let quick = qer.getDate();
qer.log(quick);
//logs YYYY-MM-DD XX:XX to the console

#501010 Random Number

let quick = qer.random(1, 10);
//logs a random number between 1 and 10 to the console

#501010 Console Logging

qer.log('Hello World!');
//logs "Hello World!" to the onsole.

#501010 Encryption & Decryption

//Encryption
let encrypted = qer.encrypt("text");
//Encryption

let iv = encrypted.iv;
qer.log(iv);
//logs iv of encryption

let secretKey = encrypted.secretKey;
qer.log(secretKey);
//logs secretKey of encryption

let encrypt = encrypted.encrypt;
qer.log(encrypt);
//logs encrypted text

//Decryption
let decrypted = qer.decrypt(encrypt, secretKey, iv);
//Decryption

qer.log(decrypted);
//logs decrypted text

#501010 TimeOut Usage

qer.timeOut(10000,
    function FunctionName(){
        qer.log("The Code Runs After 10 Seconds!")
    }
);
//Runs the code after 10 seconds.

#501010 TimerInterval Usage

qer.timerInterval(10000,
    function FunctionName(){
        qer.log("The Code Runs Every 10 Seconds")
    }
);
//Code Runs Every 10 Seconds

#501010 Square Root Usage

let sqrt = qer.squareroot(64);
//Calculates the square root of 64

qer.log(sqrt);
//Logs the Calculated

#501010 Calculating Circle's Circumferance

let circumferance = qer.calculateCircumferance(10);
qer.log(circumferance);
//Logs the circumference of a circle with radius 10

#501010 File System

#501010 Writing and Creating a file

qer.writeFile("C:/Users/Administrator/qer.txt", "Hello World!")
//Writes "Hello World!" to the specified file (If the file exists, this command deletes the file and creates a new one.)

#501010 Reading a file

qer.readFile("C:/Users/tsyar/qer.txt", (data)=>{
    qer.log(data)
})
//Logs the read data.

#501010 Appending to File

qer.appendFile("C:/Users/Administrator/qer.txt", "Second Message!")
//Appends "Second Message!" to the specified file (If the file does not exist, this command creates a file with the directory you specify and writes the data.)

#501010 Moving a File

qer.moveFile("C:/Users/Administrator/qer.txt", "C:/Users/Administrator/Desktop/qer.txt")
//Moves file to the specified directory. (You can change the name of the file)

#501010 Deleting a File

qer.deleteFile("C:/Users/Administrator/qer.txt")
//Deletes file in the specified directory.

#501010 Random Color

qer.getRandomColor()
//Returns Random HEX Color Code

#501010 Getting Color Code

qer.getColorCode("slategray")
//Returns "slategray"s HEX Color Code

#501010 Is Color?

qer.isColor("HEX","#708090")
//Returns "true"

#501010 Which Type

qer.whichType('#d08bea')
//Returns "HEX"


qer.whichType('rgb(208,139,234)')
//Returns "RGB"


qer.whichType('rgba(208,139,234,1)')
//Returns "RGBA"


qer.whichType('hsl(0,100%,50%)')
//Returns "HSL"


qer.whichType('hsla(0,100%,50%,1)')
//Returns "HSLA"