https://github.com/paul-go/rawter
A router designed for use with RawJS apps
https://github.com/paul-go/rawter
Last synced: 19 days ago
JSON representation
A router designed for use with RawJS apps
- Host: GitHub
- URL: https://github.com/paul-go/rawter
- Owner: paul-go
- License: mit
- Created: 2023-11-23T20:21:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-22T06:27:12.000Z (over 1 year ago)
- Last Synced: 2025-04-18T05:43:25.560Z (about 1 month ago)
- Language: TypeScript
- Size: 29.3 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Rawter
A hierarchial router for RawJS projects.
## Installation (Modules)
```
npm install rawter --save
```## Installation (No modules)
```html
```
To get TypeScript typings, first do an npm install:
```
npm install rawter --save-dev
```Then add the typings to the `include` section of your tsconfig.json file:
```json
{
"compilerOptions": {
},
"include": [
"node_modules/rawter/*.ts"
]
}
```## Usage
For a complete example, see the Rawter.cover.ts file in the repository.