Skip to content

JavaScript object that creates unique CSS selector for given object.

Notifications You must be signed in to change notification settings

graouts/css-selector-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

css-selector-generator

A JavaScript utility to generate a unique CSS selector for any element in a DOM tree.

Installation

Install with component:

$ component install graouts/css-selector-generator

Usage

var generator = require("css-selector-generator");

generator(document.body); // -> "body"

Authors

This project is a fork of fczbkk/css-selector-generator, originally created by Riki Fridrich, maintained by Antoine Quint.

About

JavaScript object that creates unique CSS selector for given object.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 86.6%
  • JavaScript 13.4%