Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@thi.ng/text-format
Advanced tools
This project is part of the @thi.ng/umbrella monorepo.
Customizable color text formatting with presets for ANSI & HTML.
STABLE - used in production
Search or submit any issues for this package
yarn add @thi.ng/text-format
ES module import:
<script type="module" src="https://cdn.skypack.dev/@thi.ng/text-format"></script>
For Node.js REPL:
# with flag only for < v16
node --experimental-repl-await
> const textFormat = await import("@thi.ng/text-format");
Package sizes (gzipped, pre-treeshake): ESM: 1.46 KB
Several demos in this repo's /examples directory are using this package.
A selection:
Screenshot | Description | Live demo | Source |
---|---|---|---|
3D wireframe textmode demo | Demo | Source | |
Textmode image warping w/ 16bit color output | Demo | Source |
TODO
Karsten Schmidt
If this project contributes to an academic publication, please cite it as:
@misc{thing-text-format,
title = "@thi.ng/text-format",
author = "Karsten Schmidt",
note = "https://thi.ng/text-format",
year = 2020
}
© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
FAQs
Customizable color text formatting with presets for ANSI & HTML
The npm package @thi.ng/text-format receives a total of 96 weekly downloads. As such, @thi.ng/text-format popularity was classified as not popular.
We found that @thi.ng/text-format demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.