New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@culli/dom

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@culli/dom

Cycle Utilities for DOM manipulation

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@culli/dom

Concise, ultra high-performance and minimalistic Virtual DOM implementation that supports true Cycle MVI pattern without need of isolation

npm

WIP! This package is still under heavy development, use with extreme care!!

Example

import * as O from "most"
import {run} from "@cycle/most-run"
import DOM from "@culli/dom"

function main(x) {
  console.log(x)
  const {DOM: {h, combine}} = x
  const date =
    O.periodic(1000).map(() => new Date().toTimeString())

  const vdom = h("div", [
    h("h2", ["Clock is: ", date])
  ])

  return {
    DOM: combine(vdom)
  }
}

run(main, {
  DOM: DOM("#app")
})

License

MIT

Keywords

FAQs

Package last updated on 26 Oct 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc