Skip to main content

Build Process intro

DeshiJS Logo

DeshiJS

A smooth, minimal framework for infusing JavaScript with dynamic behavior.

Hi there 👋​

Welcome to the sleek and minimal framework that brings dynamic behavior to JavaScript! ✨​


Features

  • Smooth Integration: Easy-to-use framework for adding dynamic functionality to your JavaScript projects.
  • Minimalistic Design: Focus on what matters with a clean and simple setup.
  • Dynamic State Management: Manage and update your state with ease.
  • Explore more and start building with DeshiJS today! 🚀

Installation

Using npx

npx degit DeshiJS/DeshiJS

Using CDN

<script src="//unpkg.com/deshijs" defer></script>

<div id="root"></div>

<template app>
<button
$text="{counter} {counter <= 1 ? 'time' : 'times'}"
@click="incrementCounter()"
></button>
</template>

<script type="module">
import deshi from "//unpkg.com/deshijs";
deshi.init();
signal = {
counter: 0,
incrementCounter: function () {
this.counter++;
},
};
</script>

author: Nazmul Hossain