Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjastrzebski authored Dec 6, 2023
1 parent 1b016c4 commit 3e02b07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# TS Regex
# TS Regex Builder

TypeScript adaptation of Swift Regex Builder API.

## Installation

```sh
npm install ts-regex
npm install ts-regex-builder
```

## Usage

```js
import { buildRegex, oneOrMore } from 'ts-regex';
import { buildRegex, oneOrMore } from 'ts-regex-builder';

// /(Hello)+ World/
const regex = buildRegex(oneOrMore('Hello '), 'World');
Expand Down

0 comments on commit 3e02b07

Please sign in to comment.