Lightweight string transformations for Node.js