Skip to content

kysadro/brainfog-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brainfog-js

Brainfog-JS is an Open-Source NodeJS module that generates random strings (and that includes license keys)

Example code:

const brainfog = require("brainfog-js");

// License key generation
const licenseCode = brainfog.generateLicense(); // (Has optional arguments)
console.log(licenseCode);  // Outputs out "ZSDmR-rkyhf-drdzm-PqiMB", "oxatN-JTvFO-aGMWV-Bqbvj", etc

// Random string arrays
const array = brainfog.run(
    /* times: */ 3,
    /* complexity: */ 8,
    /* randomCase: */ false
);
console.log(array);  // Outputs out: ["ltzwidsb", "edwwgvqh", "onexotym"]

// Random strings
const string = brainfog.runOnce(
    /* Complexity: */ 10,
    /* randomCase: */ false
);
console.log(string); // Outputs out random strings like "rhviwucmcx", "xtgltfjmzt", and etc'

1. Installing Brainfog-JS:

npm install brainfog-js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published