Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@three11/dom-helpers

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@three11/dom-helpers

Helper functions for faster DOM scripting

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

GitHub stars GitHub forks GitHub release GitHub issues GitHub last commit Github file size Build Status npm npm license Analytics Open Source Love svg1 Maintenance Greenkeeper badge dependencies Status devDependencies Status

ForTheBadge built-with-love

dom-helpers

Helper functions for faster DOM scripting

Install

yarn add @three11/dom-helpers

or

npm i @three11/dom-helpers

or

Just download this repository and link the files located in dist folder:

<script src="path-to-dom-helpers/dist/dom-helpers.min.js"></script>

or

Include it from Unpkg CDN

<script src="//unpkg.com/@three11/dom-helpers/dist/dom-helpers.min.js"></script>

Usage

import * as helpers from '@three11/dom-helpers';

or

Import each function separately.

See functions list below:

## Functions

*   `byID` - retrieves an element by ID
*   `single` - retrieves an element by a given valid css selector
*   `multi` - retrieves a collection of elements and normalizes the return value
*   `addListener` - attaches an event listener to element

Keywords

FAQs

Package last updated on 07 Jul 2018

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