
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
regex-vault
Advanced tools
regex-vault is a centralized library of regular expressions for validation, security, and efficient data manipulation.
For the English version of this README, click here.
regex-vault é uma biblioteca centralizada de padrões regex projetada para economizar tempo de desenvolvimento e garantir reutilização. Este projeto visa simplificar processos de validação, proteger operações de backend e tornar a implementação de regex mais fácil para desenvolvedores. Ele inclui uma ampla variedade de padrões regex para validação de entrada, segurança e manipulação de dados.
Instale regex-vault via npm:
npm install regex-vault
Importe os padrões regex ou funções utilitárias no seu projeto:
import { emailRegex, ipv4Regex } from 'regex-vault';
// Validar um e-mail
const email = "example@domain.com";
if (!emailRegex.test(email)) {
console.log("E-mail inválido");
}
// Validar um endereço IPv4
const ip = "192.168.1.1";
if (ipv4Regex.test(ip)) {
console.log("Endereço IPv4 válido");
}
A biblioteca inclui muitos outros padrões regex úteis para diferentes finalidades, garantindo flexibilidade e segurança no uso de expressões regulares.
Contribuições são bem-vindas! Se você tiver um padrão regex útil, sinta-se à vontade para abrir um pull request ou relatar um problema.
git clone <forked-repo-url>).git checkout -b feature/minha-nova-regex).git commit -m 'Adicionar nova regex para XYZ').git push origin feature/minha-nova-regex).A biblioteca inclui testes unitários para garantir a precisão de todos os padrões regex. Execute os testes com:
npm test
regex-vault é licenciado sob a Apache License. Veja o arquivo LICENSE ou visite Apache License 2.0.
FAQs
regex-vault is a centralized library of regular expressions for validation, security, and efficient data manipulation.
We found that regex-vault demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.