UNPKG

@chubbyts/chubbyts-framework-router-path-to-regexp

Version:
51 lines (38 loc) 4.42 kB
# chubbyts-framework-router-path-to-regexp [![CI](https://github.com/chubbyts/chubbyts-framework-router-path-to-regexp/workflows/CI/badge.svg?branch=master)](https://github.com/chubbyts/chubbyts-framework-router-path-to-regexp/actions?query=workflow%3ACI) [![Coverage Status](https://coveralls.io/repos/github/chubbyts/chubbyts-framework-router-path-to-regexp/badge.svg?branch=master)](https://coveralls.io/github/chubbyts/chubbyts-framework-router-path-to-regexp?branch=master) [![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fchubbyts%2Fchubbyts-framework-router-path-to-regexp%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyts/chubbyts-framework-router-path-to-regexp/master) [![npm-version](https://img.shields.io/npm/v/@chubbyts/chubbyts-framework-router-path-to-regexp.svg)](https://www.npmjs.com/package/@chubbyts/chubbyts-framework-router-path-to-regexp) [![bugs](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-framework-router-path-to-regexp&metric=bugs)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-framework-router-path-to-regexp) [![code_smells](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-framework-router-path-to-regexp&metric=code_smells)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-framework-router-path-to-regexp) [![coverage](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-framework-router-path-to-regexp&metric=coverage)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-framework-router-path-to-regexp) [![duplicated_lines_density](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-framework-router-path-to-regexp&metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-framework-router-path-to-regexp) [![ncloc](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-framework-router-path-to-regexp&metric=ncloc)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-framework-router-path-to-regexp) [![sqale_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-framework-router-path-to-regexp&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-framework-router-path-to-regexp) [![alert_status](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-framework-router-path-to-regexp&metric=alert_status)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-framework-router-path-to-regexp) [![reliability_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-framework-router-path-to-regexp&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-framework-router-path-to-regexp) [![security_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-framework-router-path-to-regexp&metric=security_rating)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-framework-router-path-to-regexp) [![sqale_index](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-framework-router-path-to-regexp&metric=sqale_index)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-framework-router-path-to-regexp) [![vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-framework-router-path-to-regexp&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-framework-router-path-to-regexp) ## Description Path-to-regex routing implementation for [chubbyts-framework][2]. ## Requirements * node: 18 * [chubbyts/chubbyts-framework][2]: ^2.0.0 * [chubbyts/chubbyts-http-error][3]: ^3.0.0 * [chubbyts/chubbyts-http-types][4]: ^3.0.0 * [path-to-regexp][5]: ^8.2.0 * [qs][6]: ^6.14.0 ## Installation Through [NPM](https://www.npmjs.com) as [@chubbyts/chubbyts-framework-router-path-to-regexp][1]. ```ts npm i @chubbyts/chubbyts-framework-router-path-to-regexp@^2.0.2 ``` ## Copyright 2025 Dominik Zogg [1]: https://www.npmjs.com/package/@chubbyts/chubbyts-framework-router-path-to-regexp [2]: https://www.npmjs.com/package/@chubbyts/chubbyts-framework [3]: https://www.npmjs.com/package/@chubbyts/chubbyts-http-error [4]: https://www.npmjs.com/package/@chubbyts/chubbyts-http-types [5]: https://www.npmjs.com/package/path-to-regexp [6]: https://www.npmjs.com/package/qs