fulmination
v1.1.28
Published
Command line output formatting tool.
Readme
Fulmination
Add styles and colors to terminal text programmatically in new ways.
Why use fulmination?
| Brief | Details | | --- | --- | | Refining | Syntax refinement makes development more effecient and suitable for lager project. | | Semantic | The semantic syntax is easier to read and is suitable for long-term development project. | | Beautiful | Beautiful syntax provides a new way to adapt to complex projects. |
You will be able to.
Text type:
fulmination.scan('(+) bold: hello fulmination text.');Paragraph type:
fulmination.scan(`
[+] bold:
| hello fulmination passage.
| hello fulmination passage.
| hello fulmination passage.
`);Complex situation:
fulmination.scanAll([
[`
[+] bold:
|
`, 1],
['(+) dim: This is the fulmination transfer text.', 2],
['(+) dim: This is the original text fulmination.', 0],
]);Complex situation:
fulmination.generateAll([
['(+) blue: when using multiple scan', 0],
['(+) yellow: the syntax becomes redundant', 0],
['(+) green: you can use scanAll', 0],
])Quick start
Install fulmination using yarn:
yarn add fulminationInstall fulmination using pnpm:
pnpm add fulminationInstall fulmination using npm:
npm install fulminationUsing the syntax of fulmination:
import Fulmination from 'fulmination';
const fulmination = new Fulmination();Get in touch
If you find a bug or request a new feature,or have better suggestions,please contact the author. leoely@[email protected]
