{"library":"dom-node-types","type":"library","category":null,"description":"This package `dom-node-types` (version 1.0.1) provides a lightweight solution for accessing the numeric constants associated with standard DOM Node types, such as `ELEMENT_NODE`, `TEXT_NODE`, and `COMMENT_NODE`. Its primary purpose is to offer these well-defined constants directly, enabling developers to avoid the necessity of including a full-fledged DOM implementation as a dependency when only these specific values are required for logic, type checking, or comparison. The package is maintained with a stable, low-cadence release cycle, reflecting its simple and immutable utility. Its key differentiator lies in its focused minimalism, providing essential DOM constants without introducing any additional overhead, browser API polyfills, or complex parsing capabilities, making it ideal for environments where a full DOM is unavailable or unnecessary.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","Document","Node","type"],"last_verified":"Wed May 27","install":[{"cmd":"npm install dom-node-types","imports":["import { ELEMENT_NODE } from 'dom-node-types';","import * as nodeTypes from 'dom-node-types';","const nodeTypes = require('dom-node-types');","const { ELEMENT_NODE } = require('dom-node-types');"]},{"cmd":"yarn add dom-node-types","imports":[]},{"cmd":"pnpm add dom-node-types","imports":[]}],"homepage":null,"github":"https://github.com/scienceai/dom-node-types","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/dom-node-types","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/dom-node-types/compatibility"}}