# dom-identifier **Repository Path**: mirrors_WebReflection/dom-identifier ## Basic Information - **Project Name**: dom-identifier - **Description**: An utility to retrieve a unique node path, and find it later on. - **Primary Language**: Unknown - **License**: ISC - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-24 - **Last Updated**: 2026-01-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dom-identifier [![Build Status](https://travis-ci.com/WebReflection/dom-identifier.svg?branch=main)](https://travis-ci.com/WebReflection/dom-identifier) [![Coverage Status](https://coveralls.io/repos/github/WebReflection/dom-identifier/badge.svg?branch=main)](https://coveralls.io/github/WebReflection/dom-identifier?branch=main) An utility to retrieve a unique node path, and find it later on. ```js import {getNode, getPath} from 'dom-identifier'; const node = document.getElementById('any'); const path = getPath(node); // [1, 34, 12, 7] getNode(path) === node; // true ```