Installation
Easiest way to try Jet.js on a webpage is to include Jet.js engine and JSX interpreter directly into the HTML <head> tag.
<head>
<script src="https://unpkg.com/jete@0.9.3/index.js" crossorigin></script>
<script src="https://unpkg.com/jeti@0.7.2/index.js" crossorigin></script>
</head>
Try this and other examples available at https://github.com/jetjs/examples
Install with npm
The better and preferred way is to install packages using npm (Node.js package manager).
$ npm install jete jeti
When using npm for a new application, run npm init first. It initializes the application’s structure. This command asks several basic questions and creates a package.json file for the application.
package.jsonserves as a manifest for the project managing application’s configuration and dependencies. This file is also required to run a built-in Jet.js development server.