@dxtr.dev/strex v1.0.1
Introduction
Strex (String Expressions) is a toolkit with it's own pattern for searching and replacing text using a human-readable pattern of text and variable.
RegEx is very powerful but it is also very difficult to write and read, specially when it comes to manipulating an entire text file.
Strex was designed to work similarly to how humans think, it makes it easier to put together pieces of text and variables that can latter be replaced, this is useful both for performing searching and manipulating large sets of text (such as a codebase).
On Strex variables are represented by @{{ variable }}
and can be intertwined with text. Finding all key value pairs in a JSON file for example can be represented as:
"@{{ name }}": "@{{value}}"
Official Documentation
Documentation for Strex can be found at dxtr.dev/strex.
For maintainers
This project uses Bun so make sure you have it installed before proceeding.
- Install dependencies
bun install
- Build dist files
bun scripts/build.ts
- Release a new version
npm version [patch|minor|major]
License
Strex is open-sourced software licensed under the MIT License.