0.0.1 • Published 2 years ago

fractals-cli v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

fractals-cli

Print fractals to the console!

Why the console? Because it's the cool way. See All Fractals

Usage

Via npx:

$ npx fractals-cli <name> <n>
$ npx fractals-cli <name> <n> <size>

Via Global Install

$ npm install --global fractals-cli
$ fractals-cli <name> <n>
$ fractals-cli <name> <n> <size>

Via Import

$ npm install fractals-cli

then:

const fractals = require('fractals-cli');
console.log(fractals.create(<name>, <n>);
console.log(fractals.create(<name>, <n>, { size: <number>, inverse: <boolean>, character: <character> }));

The config params are optional.

License