Socket
Socket
Sign inDemoInstall

undom

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

undom

Minimally viable DOM Document implementation.


Version published
Weekly downloads
571
decreased by-4.99%
Maintainers
1
Weekly downloads
 
Created
Source

undom

NPM travis-ci

Minimally viable DOM Document implementation

Need a bare-bones HTML DOM where you don't have one? If you want the DOM but not a parser, this might be for you.

1kb and works in Node and browsers.


Installation

Via npm:

npm install --save undom


Usage

// import the library:
import undom from 'undom';

let document = undom();

let foo = document.createElement('foo');
foo.appendChild(document.createTextNode('Hello, World!'));
document.body.appendChild(foo);

Keywords

FAQs

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