New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

random-string-simple

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

random-string-simple - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

3

index.js
module.exports = function(length, symbols) {
length = length || 7;
symbols = symbols || 'abcdefghijklmnopqrstuvwxyz';
symbols =
symbols || 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';

@@ -5,0 +6,0 @@ var string = '';

{
"name": "random-string-simple",
"version": "0.0.1",
"version": "0.0.2",
"description": "Generate a random string",

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

@@ -21,3 +21,3 @@ # Random string simple

// Simple using
randomString(); // eyuzolu
randomString(); // Sg9xFOo

@@ -24,0 +24,0 @@ // With params - length and symbols

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