Skip to content

Commit

Permalink
fix(fast-path-parse): docs about perf and supported paths
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Sep 1, 2024
1 parent e87664b commit ce7f11e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions packages/fast-path-parse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,33 @@ const parsePath = parse('/user/:foo');
parsePath('/user/john');
```

## Supported paths

### Information about badges

- ✅ – Done
- ✍️ – In progress
- 🕖 – Planned but not started yet
- ⚠️ – Requires high amount of time
- ?– Not tested but could work
- ❌ – Probably does not happen

| Name | Status | Priority | Performance |
| -------------------- | ------ | -------- | ----------- |
| `/foo` || 0 | 100% |
| `/foo/bar` || 0 | 100% |
| `/foo/bar-{one,two}` | ⚠️ | 1 | 60% |
| `/foo/bar-[one,two]` | ⚠️ | 1 | 60% |
| `/foo/bar_*` | ⚠️ | 2 | 80% |
| `/foo/bar-*` | ⚠️ | 2 | 80% |
| `/foo/bar*` | ⚠️ | 2 | 80% |
| `/foo/bar/<id>` | 🕖 | 3 | 90% |
| `/foo/task/:bar` || 4 | 80% |
| `/foo/:task/:bar` || 4 | 70% |
| `/foo/:bar` || 5 | 90% |
| `/foo/*` || 6 | 90% |
| `/foo/(.*)` || 6 | 90% |

## License

MIT

0 comments on commit ce7f11e

Please sign in to comment.