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

bdom

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bdom - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

package.json
{
"name": "bdom",
"version": "0.1.4",
"version": "0.1.5",
"description": "a jsx compatible shorthand library for generating actual dom elements instead of virtual ones",

@@ -5,0 +5,0 @@ "main": "index.js",

# bdom - jsx compatible shorthand tool for creating actual dom elements
This is useful, because it lets you create dom elements in a readable way and get references to the dom elements that you want to modify.
## installation

@@ -21,2 +23,7 @@ ```bash

let secs = 0
const intervalRef = setInterval(() => {
txt.nodeValue = 'BAR-' + (secs += 1)
}, 1000)
document.findElementsByTagName('body')[0].appendChild(title)

@@ -29,2 +36,3 @@ ```

const dom = require('bdom')
const { text } = dom
const React = dom

@@ -40,2 +48,7 @@

let secs = 0
const intervalRef = setInterval(() => {
txt.nodeValue = 'BAR-' + (secs += 1)
}, 1000)
document.findElementsByTagName('body')[0].appendChild(title)

@@ -42,0 +55,0 @@ ```

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