You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ultrax

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ultrax - npm Package Compare versions

Comparing version

to
1.0.7

functions/passGen.js

5

index.js

@@ -1,1 +0,4 @@

module.exports.sleep = require('./functions/sleep')
module.exports.sleep = require('./functions/sleep')
module.exports.passGen = require('./functions/sleep')

2

package.json
{
"name": "ultrax",
"version": "1.0.5",
"version": "1.0.7",
"description": "This package is used to make stuff easier by using simple functions, its not fully released yet!",

@@ -5,0 +5,0 @@ "main": "index.js",

# ℹ️ About
ultrax is a simple package make by [UltraX](https://youtube.com/UltraX1), it's simply made to make your coding process faster by some functions, it's not fully released yet only 1 function is available right now!
ultrax is a simple package make by [UltraX](https://youtube.com/UltraX1), it's simply made to make your coding process faster by some functions, it's not fully released yet, only 2 function is available right now!

@@ -27,9 +27,9 @@ <div align="center">

## ➡️ Functions
Right now the package is beta, that mean it is not fully released yet.
Right now the package is beta, that mean it is not fully released yet.
The available function is:
The available functions are:
- [**sleep**](https://www.npmjs.com/package/ultrax#sleep) - Function to set timeouts easily
- [**passGen**](https://www.npmjs.com/package/ultrax#passGen) - Function to create passwords made by words and numbers randomly with specified length
----

@@ -59,2 +59,17 @@

## passGen
this is a simple function that can generate passwords using letters and numbers and the password length is custom so you can change it to any length you want!
**Example:**
```js
// Importing the package
const ultrax = require('ultrax')
// Destructure the passGen function from the package
const passGen = ultrax.passGen
// this will log the randomly generate password in your terminal
console.log(passGen(6)) // passGen(6) that mean it will generate a password from 6 characters.
// you can change it by changing passGen(here will be the length of the password)
```