n8n-nodes-string-escape
v0.0.4
Published
n8n custom nodes for escaping strings
Downloads
36
Readme
n8n Nodes — String Escape
Lightweight n8n nodes for escaping characters in strings. This repository contains an initial scaffold for a custom n8n node called "String Escape" that will provide common escaping transformations (backslash, HTML, URL, etc.) so you can sanitize or prepare text inside n8n workflows.
Status
Initial scaffold — README and a minimal TypeScript node implementation. Core escape logic and tests are TODOs.
Features (planned)
- Escape backslashes and special characters
- HTML entity escaping
- URL encoding
- Batch processing of items
- Configurable fields and modes
Install (development)
Clone this repository:
git clone <repo-url> cd n8n-nodes-string-escapeInstall dependencies:
npm installLink the package into n8n (useful for local development):
npm run build # in your local n8n project npm link ../path/to/n8n-nodes-string-escape
See n8n docs for creating and loading custom nodes: https://docs.n8n.io/.
Usage
Add the "String Escape" node to your workflow, choose the escape mode (Backslash, HTML, URL), provide the input string or point the node to the field you want to transform, and connect it to further nodes. The node will output escaped strings on the first output.
Development
- Implement and refine escape strategies in
src/nodes/StringEscape.node.ts. - Build with
npm run build. - Add unit tests and example workflows in
examples/ortest/.
Contributing
Contributions welcome — open an issue or a PR describing the desired escape behaviors and example inputs/outputs.
License
MIT
