Socket
Socket
Sign inDemoInstall

rjutils-collection

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rjutils-collection - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "rjutils-collection",
"version": "1.0.0",
"version": "1.0.1",
"description": "Easy and Lightweight Utilities",

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

@@ -13,3 +13,3 @@ <h1 align="center">Welcome to rjutils-collection 👋</h1>

Easy and Lightweight Utilitiees
Easy and Lightweight Utilities
</center>

@@ -44,2 +44,9 @@

Generating a Random Boolean
```js
const utils = require('rjutils-collection')
const boolean = utils.randomBol()
```
Generating a Random String

@@ -46,0 +53,0 @@ ```js

@@ -39,2 +39,11 @@ const path = require('node:path')

/**
* Generate a Random Boolean
*
*/
randomBol() {
const boolean = Math.floor(Math.random() * (2 - 1 + 1)) + 1
return (boolean === 1)
},
/**
* Generate a Random String

@@ -41,0 +50,0 @@ *

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc