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

random-file-generator

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

random-file-generator

A tool for quickly generating random binary files

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-38.46%
Maintainers
1
Weekly downloads
 
Created
Source

Description

A tool for quickly generating random binary files

Install

npm install -g random-file-generator

Example

Generate a 200MB random binary file named "200MB" in "D:\temp" folder.

$ rand-gen -d D:\temp -f 200MB -s 1024000 -n 200
Usage: rand-gen -d [num] -f [num] -s [num] -n [num]

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]
  -d         Output directory. Create if it doesn't exist             [required]
  -f         Output file name                                         [required]
  -s         Size of every chunk in bytes                             [required]
  -n         How many chunks in file                                  [required]

generating [====================] 135360212/bps 100% 0.0s
[Target File] D:temp\200MB
[MD5]: ukVfpRVN1MSyNh8bxgdNYA==

Keywords

FAQs

Package last updated on 08 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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