micro-js

micro-js/is-svg

JavaScript
0
0
No license

**is-svg** is a tiny Node.js utility that determines whether a given tag name corresponds to an SVG element. It’s useful for front‑end developers who need to decide at runtime whether to create an element with `document.createElement` or `document.createElementNS` when building DOM trees. Install via npm (`@f/is-svg`) and call `isSvg(tag)` to get a boolean result.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of micro-js/is-svg

Account's avatar
Safe, functional hasOwnProperty
Account's avatar
A list of SVG elements
Account's avatar
tap-producing test harness for node and browsers

Support the repos that depend on this repository

Top contributors

ashaffer's profile
ashaffer
2 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet