Introduction
In this section, we're going to delve into how to use Junter effectively. To do this, we will first go over how to set up and initialize Junter in your project. Next, we will discuss each of the primary features of Junter in-depth, explaining how they work, why they are useful, and how to use them in your applications.
Installation
Getting started with Junter is simple. The library is available as a JavaScript module and can be imported directly into your project:
For browser:
html
<script src="https://cdn.jsdelivr.net/npm/@junter.dev/junter-browser" />
or
shell
npm i @junter.dev/junter-browser
For Node.js
shell
npm i @junter.dev/junter-node
Initialization
You then instantiate Junter by creating a new object:
For browser:
js
const junter = new Junter.Junter();
For Node.JS:
js
import { Junter } from '@junter.dev/junter-node'
const junter = new Junter();
This junter object is the starting point for transforming JSON data into HTML.
Next
Check out the documentation for the transformation.