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

el_

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

el_

Super lightweight tool for create DOM elements.

  • 2.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
decreased by-37.04%
Maintainers
1
Weekly downloads
 
Created
Source

El_

Super lightweight tool for creating DOM elements.

Examples

  • ToDo app

Quick code example

import {$el} from 'el_';

document.body.appendChild($el(`
  <h1></h1>
  <form id="form">
    <input id="query" type="text" />
    <input type="submit" />
  </form>
`, {
  'onsubmit #form': (el, event) => {
    event.preventDefault();
    alert(el.querySelector('#query').value);
  },
  'find h1': 'Hello, dude!'
}));

Keywords

FAQs

Package last updated on 24 Sep 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