{"name":"@mplx/xformat","description":"Text transformations in printf's modifier style: case conversions (snake, kebab, camel, pascal, leet, ...), slicing, truncation","versions":{"0.1.0":{"version":"0.1.0","kind":"git","url":"https://github.com/mplx/deck-xformat.git","ref":"0.1.0","commit":"149ca2328c66e8edca2d3c130b4414e6cde1c0cf","checksum":"","yanked":true,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.26.0"},"capabilities":[],"keywords":["format","case","snake-case","camel-case","kebab-case"],"description":"Text transformations in printf's modifier style: case conversions (snake, kebab, camel, pascal, leet, ...), slicing, truncation","publishedAt":"1794824865","repoId":1459858526,"repoOwnerId":1986588,"repoOwner":"mplx"},"0.2.0":{"version":"0.2.0","kind":"git","url":"https://github.com/mplx/deck-xformat.git","ref":"0.2.0","commit":"9942d1d977f64f487c37472a6d80b254f0fdaa13","checksum":"","yanked":true,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.26.0"},"capabilities":[],"keywords":["format","case","snake-case","camel-case","kebab-case"],"description":"Text transformations in printf's modifier style: case conversions (snake, kebab, camel, pascal, leet, ...), slicing, truncation","publishedAt":"1795266221","repoId":1459858526,"repoOwnerId":1986588,"repoOwner":"mplx"}},"readme":"# @mplx/xformat\n\n[![test](https://github.com/mplx/deck-xformat/actions/workflows/test.yml/badge.svg)](https://github.com/mplx/deck-xformat/actions/workflows/test.yml)\n[![Documentation](https://img.shields.io/badge/docs-github%20pages-blue)](https://mplx.github.io/deck-xformat/)\n[![release](https://img.shields.io/github/v/release/mplx/deck-xformat)](https://github.com/mplx/deck-xformat/releases/latest)\n\nText transformations in the style of `printf`'s modifiers for\n[Jennifer](https://jennifer-lang.dev/) programs: case conversions (snake,\nkebab, camel, pascal, constant, title, swap, leet, ...), slicing, truncation,\ntrimming and folding, written as a `|`-separated spec such as\n`trim|fold|case=kebab`. It composes with `io.sprintf`, which keeps its own\nverbs and presentation modifiers.\n\n**[Documentation](https://mplx.github.io/deck-xformat/)**\n\n## Install\n\n```sh\njvc add @mplx/xformat\n```\n\nThis vendors the deck to `vendor/\u003cscope\u003e/xformat/`. Without `jvc`, unpack the\n`src/` subtree of a release archive (`\u003cscope\u003e-xformat-\u003cversion\u003e.tar.gz`) there.\n\n## Usage\n\n```jennifer\nimport \"@mplx/xformat/\" as xformat;\n\nio.printf(\"%s=%d\\n\", xformat.t(\"max retries\", \"case=constant\"), 3);   # MAX_RETRIES=3\nio.printf(\"%s\\n\", xformat.t(\"  Crème Brûlée  \", \"trim|fold|case=kebab\"));   # creme-brulee\n```\n\n## Requirements\n\nJennifer 0.26.0 or newer. No capability: pure string work.\n\n## Development\n\n```sh\ntools/check-all.sh                   # the full gate, as CI runs it\njennifer test src/xformat_test.j      # the test overlay\ntools/check-docs.sh                  # docs against the code\ntools/pack.sh dist                   # build the release archive\n```\n\n## Licence\n\nLGPL-3.0-only, see [LICENSE](LICENSE). Copyright (C) 2026 mplx \u0026lt;mplx@jennifer-lang.dev\u0026gt;.\n\n`tools/check-headers.sh` checks every source file's SPDX header against\n`deck.toml`.\n","movedTo":"@skiffyard/texttransform"}