You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

diffhtml

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diffhtml

Build JavaScript components and apps using a Virtual DOM

1.0.0-beta.30
latest
Source
npmnpm
Version published
Weekly downloads
658
72.7%
Maintainers
1
Weekly downloads
 
Created
Source

<±/> diffHTML

The foundation and core of the diffHTML ecosystem. Parses HTML, reconciles changes, applies middleware, handles transitions, and keeps the DOM in sync.

Latest version: 1.0.0-beta.30

Refer to the website https://diffhtml.org/ for documentation.

Installation

npm i --save diffhtml

Simple example

Render "Hello world" to the screen:

import { innerHTML } from 'diffhtml';

innerHTML(document.body, `
  <div>Hello world</div>
`);

FAQs

Package last updated on 11 Jul 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