6.1.2 • Published 1 year ago

just-jsx v6.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Just JSX

npm.io npm.io npm.io npm.io

compile JSX on the go.

Import

<script src="https://unpkg.com/just-jsx"></script>

Use

Create a <script> tag and add an empty jsx attribute to it and it will compile automatically.

<script jsx>
  document.body.append(
    <h1>Hello World</h1>
  )
</script>

Compiler

The compiler is optional, you can use it by installing the package globally.

npm install just-jsx -g

The compiler will compile .js .jsx .ts and .tsx files as-is and will replace script tags with the jsx attribute in .html files with compiled code

Run the command jsxc to compile a directory or a file into out/

jsxc [filename/dirname] [-o outputDirname:out]

compile a single file

jsxc file.js

compile all files in a directory

jsxc src

specify a custom output directory

jsxc src -o build
6.1.2

1 year ago

5.2.1

1 year ago

5.2.0

1 year ago

5.1.1

1 year ago

5.1.0

1 year ago

5.0.0

1 year ago

6.1.0

1 year ago

6.0.0

1 year ago

6.1.1

1 year ago

4.2.0

2 years ago

4.0.4

2 years ago

4.1.0

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.0.3

2 years ago

4.1.1

2 years ago

4.0.2

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.4.0

2 years ago

1.3.0-beta.3

2 years ago

1.3.0-beta.2

2 years ago

1.3.0-beta.1

2 years ago

1.3.0-beta.0

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago