diffhtml
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.30 • Public • Published

<±/> 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>
`);

Dependencies (0)

    Dev Dependencies (23)

    Package Sidebar

    Install

    npm i diffhtml

    Weekly Downloads

    5,903

    Version

    1.0.0-beta.30

    License

    MIT

    Unpacked Size

    8.02 MB

    Total Files

    199

    Last publish

    Collaborators

    • tbranyen