linegauge 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
</p>
|
|
9
9
|
|
|
10
10
|
<p align="center">
|
|
11
|
-
Docs: <a href="https://linegauge.interlace.tools">https://linegauge.interlace.tools</a
|
|
11
|
+
Docs: <a href="https://linegauge.interlace.tools">https://linegauge.interlace.tools</a><br />
|
|
12
|
+
Migrating from: <a href="https://linegauge.interlace.tools/docs/coming-from/string-width">string-width</a> · <a href="https://linegauge.interlace.tools/docs/coming-from/wrap-ansi">wrap-ansi</a> · <a href="https://linegauge.interlace.tools/docs/coming-from/strip-ansi">strip-ansi</a> · <a href="https://linegauge.interlace.tools/docs/coming-from/slice-ansi">slice-ansi</a>
|
|
12
13
|
</p>
|
|
13
14
|
|
|
14
15
|
**Measuring, wrapping, truncating and slicing styled terminal text — without the edge
|
|
@@ -173,7 +174,7 @@ its own suite — which this package passes. The runner reports that as a failur
|
|
|
173
174
|
to the incumbent an unexpected pass means a stale annotation; it is counted here as the
|
|
174
175
|
pass it is, and marked rather than left to look like the ones beside it.
|
|
175
176
|
|
|
176
|
-
Weight, installed and tree-inclusive: **86,
|
|
177
|
+
Weight, installed and tree-inclusive: **86,464 bytes** against **194,329** for the incumbents it replaces — a ratio of **0.4449**.
|
|
177
178
|
## Where it sits
|
|
178
179
|
|
|
179
180
|
Plugins register under the `widths` key, against the one schema the whole family shares.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linegauge",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "A printer's line gauge \u2014 the steel rule marked in picas and points. Measuring, wrapping, truncating and slicing styled terminal text without the edge fraying \u2014 grapheme-correct over Intl.Segmenter. Drop-in paths for string-width, wrap-ansi, strip-ansi and slice-ansi. Zero dependencies.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|