https://github.com/artdecocode/-idio-jsx
A JSX support for the idio web server.
https://github.com/artdecocode/-idio-jsx
Last synced: 11 months ago
JSON representation
A JSX support for the idio web server.
- Host: GitHub
- URL: https://github.com/artdecocode/-idio-jsx
- Owner: artdecocode
- License: mit
- Created: 2018-07-02T17:17:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-02T17:17:22.000Z (over 7 years ago)
- Last Synced: 2025-01-08T06:32:27.616Z (about 1 year ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @idio/jsx
[](https://npmjs.org/package/@idio/jsx)
`@idio/jsx` is a new Node.js npm package. A JSX support for the idio web server.
```sh
yarn add -E @idio/jsx
```
## Table Of Contents
- [Table Of Contents](#table-of-contents)
- [API](#api)
* [`idioJsx(arg1: string, arg2?: boolean)`](#mynewpackagearg1-stringarg2-boolean-void)
## API
The package is available by importing its default function:
```js
import idioJsx from '@idio/jsx'
```
### `idioJsx(`
`arg1: string,`
`arg2?: boolean,`
`): void`
Call this function to get the result you want.
```js
/* yarn example */
import idioJsx from '@idio/jsx'
(async () => {
await idioJsx()
})()
```
---
(c) [Art Deco Code][1] 2018
[1]: https://artdeco.bz