@thi.ng/text-format
Advanced tools
Comparing version 1.2.11 to 1.2.12
@@ -56,4 +56,4 @@ import type { Fn, Keys } from "@thi.ng/api"; | ||
}; | ||
export declare type PresetID = Keys<typeof PRESETS_TPL>; | ||
export declare type FormatPresets = Record<PresetID, Fn<any, string>>; | ||
export type PresetID = Keys<typeof PRESETS_TPL>; | ||
export type FormatPresets = Record<PresetID, Fn<any, string>>; | ||
export interface StringFormat { | ||
@@ -60,0 +60,0 @@ /** |
# Change Log | ||
- **Last updated**: 2022-11-30T22:27:38Z | ||
- **Last updated**: 2022-12-16T12:52:25Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -5,0 +5,0 @@ |
{ | ||
"name": "@thi.ng/text-format", | ||
"version": "1.2.11", | ||
"version": "1.2.12", | ||
"description": "Customizable color text formatting with presets for ANSI & HTML", | ||
@@ -13,3 +13,3 @@ "type": "module", | ||
}, | ||
"homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/text-format#readme", | ||
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/text-format#readme", | ||
"funding": [ | ||
@@ -25,3 +25,3 @@ { | ||
], | ||
"author": "Karsten Schmidt <k+npm@thi.ng>", | ||
"author": "Karsten Schmidt (https://thi.ng)", | ||
"license": "Apache-2.0", | ||
@@ -39,13 +39,13 @@ "scripts": { | ||
"dependencies": { | ||
"@thi.ng/api": "^8.5.1", | ||
"@thi.ng/hex": "^2.3.1", | ||
"@thi.ng/memoize": "^3.1.18" | ||
"@thi.ng/api": "^8.6.0", | ||
"@thi.ng/hex": "^2.3.2", | ||
"@thi.ng/memoize": "^3.1.19" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.33.5", | ||
"@thi.ng/testament": "^0.3.6", | ||
"@microsoft/api-extractor": "^7.33.7", | ||
"@thi.ng/testament": "^0.3.7", | ||
"rimraf": "^3.0.2", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.23.20", | ||
"typescript": "^4.8.4" | ||
"typedoc": "^0.23.22", | ||
"typescript": "^4.9.4" | ||
}, | ||
@@ -106,3 +106,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "1fe40da507070653f420156d91e6b27cf682004f\n" | ||
"gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n" | ||
} |
<!-- This file is generated - DO NOT EDIT! --> | ||
# ![text-format](https://media.thi.ng/umbrella/banners-20220914/thing-text-format.svg?c90d9fe3) | ||
# ![@thi.ng/text-format](https://media.thi.ng/umbrella/banners-20220914/thing-text-format.svg?c90d9fe3) | ||
[![npm version](https://img.shields.io/npm/v/@thi.ng/text-format.svg)](https://www.npmjs.com/package/@thi.ng/text-format) | ||
![npm downloads](https://img.shields.io/npm/dm/@thi.ng/text-format.svg) | ||
[![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella) | ||
[![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi) | ||
@@ -33,3 +33,3 @@ This project is part of the | ||
Customizable color text formatting with presets for ANSI & HTML. | ||
Customizable color text formatting with presets for ANSI & HTML | ||
@@ -206,7 +206,4 @@ This package provides a number of color and other styling format constants, as | ||
```text | ||
# with flag only for < v16 | ||
node --experimental-repl-await | ||
> const textFormat = await import("@thi.ng/text-format"); | ||
```js | ||
const textFormat = await import("@thi.ng/text-format"); | ||
``` | ||
@@ -243,3 +240,3 @@ | ||
Karsten Schmidt | ||
- [Karsten Schmidt](https://thi.ng) | ||
@@ -259,2 +256,2 @@ If this project contributes to an academic publication, please cite it as: | ||
© 2020 - 2022 Karsten Schmidt // Apache Software License 2.0 | ||
© 2020 - 2022 Karsten Schmidt // Apache License 2.0 |
44531
254
Updated@thi.ng/api@^8.6.0
Updated@thi.ng/hex@^2.3.2
Updated@thi.ng/memoize@^3.1.19