Skip to content
@emmyjs

Emmy.js

Emmy.js

npm NPM tests
A tiny simple front-end library for building web applications.

Why Emmy.js?

Emmy.js is a tiny simple front-end library for building web applications. It is based on the Web Components standard. It is specially designed for building web applications with server-side frameworks like Ruby on Rails, Django, Laravel, etc.


Experimental npx create-emmy

create-emmy is a command line tool that allows you to create a new emmy.js project. It is still in an experimental phase, so it is not recommended to use it in production, but you can try it out and give us your feedback. More info

Example: Counter

import { load, html } from 'emmy-dom'

function Counter() {
  const [count, setCount] = this.useState(0)

  this.useEffect(() => {
    this.querySelector('#increment').addEventListener('click', () => {
      setCount(count() + 1)
    })
  }, ['didMount'])

  return () => html`
    <div>
      <h1>Count: ${count()}</h1>
      <button id='increment'>+</button>
    </div>
  `
}

load(Counter, 'Counter')

Pinned

  1. emmy-dom emmy-dom Public

    A tiny simple way for building web user interfaces

    JavaScript 3

  2. create-emmy create-emmy Public

    An Emmy.js applications generator

    JavaScript

Repositories

Showing 4 of 4 repositories
  • emmyjs.github.io Public template

    Emmy.js webpage

    HTML 0 0 0 0 Updated Mar 15, 2024
  • emmy-dom Public

    A tiny simple way for building web user interfaces

    JavaScript 3 MIT 0 0 0 Updated Mar 2, 2024
  • .github Public

    Emmy.js public organization profile repository

    0 MIT 0 0 0 Updated Feb 6, 2024
  • create-emmy Public

    An Emmy.js applications generator

    JavaScript 0 MIT 0 0 0 Updated Dec 21, 2023

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…