Skip to content

Commit 9a563db

Browse files
committed
add install note
1 parent 4ada5d3 commit 9a563db

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

ark/docs/content/docs/blog/arkregex.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ const email = regex("^(?<name>\\w+)@(?<domain>\\w+\\.\\w+)$")
3636
// Regex<`${string}@${string}.${string}`, { names: { name: string; domain: `${string}.${string}`; }; ...>
3737
```
3838

39+
All you need to get started is `pnpm install arkregex` (or the equivalent for your package manager of choice) 🎉
40+
3941
### Features
4042

4143
- **Types**: Infers string types for your existing regular expressions, including positional and named captures

ark/regex/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ const email = regex("^(?<name>\\w+)@(?<domain>\\w+\\.\\w+)$")
1919
// Regex<`${string}@${string}.${string}`, { names: { name: string; domain: `${string}.${string}`; }; ...>
2020
```
2121

22+
All you need to get started is `pnpm install arkregex` (or the equivalent for your package manager of choice) 🎉
23+
2224
### Features
2325

2426
- **Types**: Infers string types for your existing regular expressions, including positional and named captures

0 commit comments

Comments
 (0)