Packages

ansis

4.5.0 · 1 Nov 2026ISC56.7M / weekRepositoryHomepagenpmAtom feed

Your version

62 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.3.5

    27 Apr 2022
    • DEPRECATED: this version is broken

  2. 1.3.4

    30 Jan 2022
    • Optimize distributed code size to smaller than 4 KB

  3. 1.3.3

    24 Jan 2022

    Only updates dependencies, nothing else changes.

  4. 1.3.2

    30 Dec 2021
    • Add bundle generation for ESM

  5. 1.3.1

    29 Dec 2021
    • Usage for CommonJS: const ansis = require('ansis').default; --> const ansis = require('ansis');

  6. 1.3.0

    29 Dec 2021
    • Add support CommonJS (now supported ESM and CommonJS)

    • Add aliases: .fg() for .ansi256() and .bg() for .bgAnsi256() methods. DEPRECATED methods: ansi, ansi256, bgAnsi,bgAnsi256 - use fg and bg instead.

    • Some inner param types

  7. 1.2.2

    28 Dec 2021
    • Added supports the environment variables NO_COLOR FORCE_COLOR and flags --no-color --color

    • Added aliases .ansi() for .ansi256() and .bgAnsi() for .bgAnsi256() methods

    • Added support for the use of open and close properties for each style

  8. 1.2.1

    28 Dec 2021

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  9. 1.2.0

    28 Dec 2021
    • Add supports the environment variables NO_COLOR FORCE_COLOR and flags --no-color --color

    • Add aliases ansi for ansi256 and bgAnsi for bgAnsi256

  10. 1.1.1

    27 Dec 2021
    • Add the class Ansis to create more independent instances to increase the performance by benchmark

    • Improve performance

  11. 1.1.0

    25 Dec 2021
    • Add supports the use of open and close properties for each style

    • Codes for methods ansi256() and bgAnsi256()

  12. 1.0.0

    24 Dec 2021

    First release