3.0.0-alpha4 • Published 9 months ago

@ansi-art/art v3.0.0-alpha4

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@ansi-art/art

The rebuild of ascii-art as a from-source executable (browser + server) in ESM which builds in CommonJS and UMD, for backward compatibility. In addition it includes WebComponent definitions for ansi-image, ansi-text, ansi-table, and ansi-layout

It remains build compatible, for those who need that.

Requirements

TBD

Usage

TBD

Roadmap

    • rebuilt fluent API
    • font support
    • style support
    • image support
    • table support
    • composite support

Testing

Run the es module tests to test the root modules

npm run import-test

to run the same test inside the browser:

npm run browser-test

to run the same test headless in chrome:

npm run headless-browser-test

to run the same test inside docker:

npm run container-test

Run the commonjs tests against the /dist commonjs source (generated with the build-commonjs target).

npm run require-test

Development

All work is done in the .mjs files and will be transpiled on commit to commonjs and tested.

If the above tests pass, then attempt a commit which will generate .d.ts files alongside the src files and commonjs classes in dist