script-plaintext
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

script-plaintext

Convert script output with color code into plain text

npm Package Version

Usage Case

In shell, you can record the cli interaction using the script command, it will record the input to a 'typescript' file. However, this file contains lots of contain characters, e.g. <Esc>[6m;. This cli tools remove the control characters, only preserving plain-text content.

/script-plaintext/

    Package Sidebar

    Install

    npm i script-plaintext

    Weekly Downloads

    2

    Version

    1.0.2

    License

    BSD-2-Clause

    Unpacked Size

    44.1 kB

    Total Files

    20

    Last publish

    Collaborators

    • beenotung