Socket
Book a DemoInstallSign in
Socket

@dlightjs/monorepo

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dlightjs/monorepo

DLight monorepo

latest
npmnpm
Version
1.0.0-alpha.0
Version published
Maintainers
2
Created
Source

author stars Size license

downloads version version

DX-first UI rendering library.

  • 🥳 Delightful
    • With an API designed to be intuitive and user-friendly, web development becomes effortless with Dlight, whether you're building a simple website or a complex web application.Dlight enhances code performance at compile time and directly manipulates the DOM, which makes the execution speed of the code as close to vanilla JavaScript as possible, even with limited optimization knowledge.
  • 🚀 Performant
    • With a minuscule file size of just 4KB, Dlight is lightning-fast and ultra-lightweight, delivering optimal performance without the need for manual optimization.
  • ✨ DX-first
    • Dlight uses the syntax of function calls and dot notation to make development more enjoyable, without the need to write outdated and hard-to-read XML code.
  • 🪶 Intuitively Simple
    • Dlight is born reactive and is designed to be intuitively simple, with a minimalistic API that requires no memorization of complex functions or libraries.

Preview

import { View } from "@dlightjs/dlight"

@View
class MyComp {
  atNight = false
  fruits = ["🍎", "🍊", "🥑"]

  View() {
    h1("hello, dlight js")
    button("toggle")
      .className("toggle")
      .onclick(() => {
        this.atNight = !this.atNight
      })

    if (this.atNight) {
      "🌘"
    } else {
      "🔆"
    }

    for (const fruit of this.fruits) {
      div(fruit)
    }
  }
}

Homepage

We'll return in a minute....

Contributors

Duan Yihan
Duan Yihan

🚇 ⚠️ 💻
orange04
orange04

💻 🎨

Keywords

dlight.js

FAQs

Package last updated on 24 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts