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

unique-selector-2

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unique-selector-2

UniqueSelector gives array of querySelector to uniquely identify element. As a result, you also get most unique selector as key `mostUniqueSelector`

  • 0.0.1-development
  • npm
  • Socket score

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

Unique Selector 2

UniqueSelector gives array of querySelector to uniquely identify element. As a result, you also get most unique selector as key mostUniqueSelector

You can use most unique item or use lift of different unique selector in different scenario. One ideal use case is tracking events from element.

Installation

yarn add unique-selector-2
npm install unique-selector-2

Usage

In Browser

const uniqueSelector2 = new uniqueSelector(configuration)
const data = uniqueSelector2.getUniqueSelector(target);

Using Npm

import uniqueSelector from 'uniqueSelector'
const uniqueSelector2 = new uniqueSelector(configuration)
const data = uniqueSelector2.getUniqueSelector(target);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT License.

FAQs

Package last updated on 04 Nov 2020

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