Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

log-gen

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

log-gen - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

package.json
{
"name": "log-gen",
"version": "1.0.0",
"version": "1.0.1",
"description": "This is a configurable script for generating dummy log file output.",

@@ -9,3 +9,3 @@ "main": "bin/start.js",

"bin": {
"log-gen": "bin/app.js"
"log-gen": "bin/start.js"
},

@@ -12,0 +12,0 @@ "scripts": {

@@ -42,5 +42,5 @@ # Log Gen

### Generator Function Names and Parameters
- `{date(format)}` - The date at time of output formatted based on the parameter
- `{ip()}` - Generates an IP
- `{choices(some,options)}` - Randomly selected one of the parameters passed
- `{date(format)}` - The date at time of the line output, formatted based on the parameter
- `{ip()}` - Generates an IP address
- `{choices(some,options)}` - Randomly selects one of the parameters passed
- `{range(min,max)}` - Generates a number in the range min..max

@@ -47,0 +47,0 @@ - `{lorem(min,max)}` - Generates a sentence with an amount of words based on min and max

@@ -31,3 +31,3 @@ import program from 'commander';

export default () => {
program.version('1.0.0')
program.version('1.0.1')
.option('-a, --amounts [amounts]', 'Array of amounts of lines to be output in the specified invertval')

@@ -34,0 +34,0 @@ .option('-i, --interval [interval]', 'Length of time in ms for the average amounts to be output during')

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