https://github.com/artdecocode/-idio-routes
Routes functionality for the idio server including hot-route-reload.
https://github.com/artdecocode/-idio-routes
Last synced: 10 months ago
JSON representation
Routes functionality for the idio server including hot-route-reload.
- Host: GitHub
- URL: https://github.com/artdecocode/-idio-routes
- Owner: artdecocode
- License: mit
- Created: 2018-07-02T17:25:52.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-02T17:26:00.000Z (almost 8 years ago)
- Last Synced: 2025-07-08T08:08:22.022Z (11 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @idio/routes
[](https://npmjs.org/package/@idio/routes)
`@idio/routes` is a new Node.js npm package. Routes functionality for the idio server including hot-route-reload.
```sh
yarn add -E @idio/routes
```
## Table Of Contents
- [Table Of Contents](#table-of-contents)
- [API](#api)
* [`idioRoutes(arg1: string, arg2?: boolean)`](#mynewpackagearg1-stringarg2-boolean-void)
## API
The package is available by importing its default function:
```js
import idioRoutes from '@idio/routes'
```
### `idioRoutes(`
`arg1: string,`
`arg2?: boolean,`
`): void`
Call this function to get the result you want.
```js
/* yarn example */
import idioRoutes from '@idio/routes'
(async () => {
await idioRoutes()
})()
```
---
(c) [Art Deco Code][1] 2018
[1]: https://artdeco.bz