Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 572 Bytes

readme.md

File metadata and controls

38 lines (26 loc) · 572 Bytes

Rawter

A hierarchial router for RawJS projects.

Installation (Modules)

npm install rawter --save

Installation (No modules)

<script src="https://cdn.jsdelivr.net/npm/rawter/rawter.min.js"></script>

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:

{
	"compilerOptions": {
		
	},
	"include": [
		"node_modules/rawter/*.ts"
	]
}

Usage

For a complete example, see the Rawter.cover.ts file in the repository.