Skip to content

Commit

Permalink
added source links
Browse files Browse the repository at this point in the history
  • Loading branch information
marcodpt committed Sep 20, 2024
1 parent 1198302 commit 600aff2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,18 +149,20 @@ Enabling maximum flexibility and contributions.
The default parser for query string due to its simplicity.
Adds the `Query` property to the `state`.

[![Source](https://img.shields.io/badge/Source-gray)](https://github.com/marcodpt/wand/blob/main/src/plugins/queryParser.js)

##### Query: object
Parsed query string.

[![Source](https://img.shields.io/badge/Source-gray)](https://github.com/marcodpt/wand/blob/main/src/plugins/queryParser.js)

### wand: ({init?, routes, plugins?, runtime}) => stop
`Runtimes` are built on top of the library.
And the `plugins` are designed for it.

The idea is to bring a simple router to your core but at the same time with a
complete `plugin` system and easy-to-use `runtimes`.

[![Source](https://img.shields.io/badge/Source-gray)](https://github.com/marcodpt/wand/blob/main/src/index.js)

#### init: () => state
Optional function called once to create the initial `state`
(this must be an `object`).
Expand Down

0 comments on commit 600aff2

Please sign in to comment.