dummy-file-generator

Generates dummy text files of the specified size for testing

Usage no npm install needed!

<script type="module">
  import dummyFileGenerator from 'https://cdn.skypack.dev/dummy-file-generator';
</script>

README

Dummy File Generator

A simple dummy file generator for testing.

Installation

npm install dummy-file-generator

Usage

dummy <filename> <size>
  • filename The filename to be generated (relative to current working directory)
  • size The size in bytes or with the following suffix: kb, mb, gb

Example

dummy test.txt 256kb