Socket
Socket
Sign inDemoInstall

regexgen

Package Overview
Dependencies
2
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

bin/cli.js

5

package.json
{
"name": "regexgen",
"version": "1.0.0",
"version": "1.1.0",
"description": "Generate regular expressions that match a set of strings",
"main": "index.js",
"bin": {
"regexgen": "bin/cli.js"
},
"dependencies": {

@@ -7,0 +10,0 @@ "jsesc": "^2.3.0",

11

README.md

@@ -24,5 +24,14 @@ # regexgen

t.toRegExp(); // => /foo(?:ba[rz])/
t.toRegExp(); // => /fooba[rz]/
```
## CLI
`regexgen` also has a simple CLI to generate regexes using inputs from the command line.
```
$ regexgen
Usage: regexgen [-gimuy] string1 string2 string3...
```
## How does it work?

@@ -29,0 +38,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc