template-saas/apps/backend/node_modules/stack-utils/node_modules/escape-string-regexp
rckrdmrd 26f0e52ca7 feat: Initial commit - template-saas
Template base para proyectos SaaS multi-tenant.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React/Vite)
- apps/database (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:24 -06:00
..
index.d.ts feat: Initial commit - template-saas 2026-01-07 04:41:24 -06:00
index.js feat: Initial commit - template-saas 2026-01-07 04:41:24 -06:00
license feat: Initial commit - template-saas 2026-01-07 04:41:24 -06:00
package.json feat: Initial commit - template-saas 2026-01-07 04:41:24 -06:00
readme.md feat: Initial commit - template-saas 2026-01-07 04:41:24 -06:00

escape-string-regexp Build Status

Escape RegExp special characters

Install

$ npm install escape-string-regexp

Usage

const escapeStringRegexp = require('escape-string-regexp');

const escapedString = escapeStringRegexp('How much $ for a 🦄?');
//=> 'How much \\$ for a 🦄\\?'

new RegExp(escapedString);

You can also use this to escape a string that is inserted into the middle of a regex, for example, into a character class.

License

MIT © Sindre Sorhus