All Projects → wooorm → svg-tag-names

wooorm / svg-tag-names

Licence: MIT license
List of known SVG tag names

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to svg-tag-names

Vue Gl
Vue.js components rendering 3D WebGL graphics reactively with three.js
Stars: ✭ 434 (+1872.73%)
Mutual labels:  element, tag
svg-element-attributes
Map of SVG elements to allowed attributes
Stars: ✭ 16 (-27.27%)
Mutual labels:  element, tag
MP4Parse
C++ library for MP4 file parsing.
Stars: ✭ 55 (+150%)
Mutual labels:  tag
hoc-element-table
📦 A Vue 3.x Table Component built on Webpack 5
Stars: ✭ 26 (+18.18%)
Mutual labels:  element
TagView
The tag selection library with edit text and list
Stars: ✭ 46 (+109.09%)
Mutual labels:  tag
react-tag-manager
Google Tag Manager for React
Stars: ✭ 24 (+9.09%)
Mutual labels:  tag
imageorient
Go image decoding with respect to the EXIF orientation tag
Stars: ✭ 62 (+181.82%)
Mutual labels:  tag
gradle-git-versioning-plugin
This extension will set project version, based on current Git branch or tag.
Stars: ✭ 44 (+100%)
Mutual labels:  tag
element ynh
Element package for YunoHost
Stars: ✭ 16 (-27.27%)
Mutual labels:  element
budwk
WK系列开发框架-V6至V7 Java微服务+网关+Vue Element 前后端分离
Stars: ✭ 114 (+418.18%)
Mutual labels:  element
vue-resize-sensor
detect container resizing
Stars: ✭ 75 (+240.91%)
Mutual labels:  element
repeat-element
Create an array by repeating the given string n times.
Stars: ✭ 19 (-13.64%)
Mutual labels:  element
el-cascader-multi
基于element-ui的级联多选选择器,友好显示下拉箭头,样式与element一致,支持多选与级联选择器的大部分功能。
Stars: ✭ 137 (+522.73%)
Mutual labels:  element
buckshot
A fast and capable Minecraft name sniper.
Stars: ✭ 21 (-4.55%)
Mutual labels:  name
vue-music
using Vue to Develop Mobile Project to Simulate “Baidu Music”(高仿百度音乐)
Stars: ✭ 27 (+22.73%)
Mutual labels:  element
markdown-editor
一个在线的markdown编辑器
Stars: ✭ 78 (+254.55%)
Mutual labels:  element
longest
Get the length of the longest item in an array.
Stars: ✭ 31 (+40.91%)
Mutual labels:  element
bcp-47-normalize
Normalize, canonicalize, and format BCP 47 tags
Stars: ✭ 16 (-27.27%)
Mutual labels:  tag
RiiTag
RiiTag is a customizable gamertag for the Wii.
Stars: ✭ 15 (-31.82%)
Mutual labels:  tag
job-plus
Job Plus项目是基于SpringBoot+Vue的轻量级定时任务管理系统
Stars: ✭ 17 (-22.73%)
Mutual labels:  element

svg-tag-names

Build Coverage Downloads Size

List of known SVG tag names.

Contents

What is this?

This is a list of SVG tag names. It includes all tag names from SVG 1.1, SVG Tiny 1.2, and SVG 2. The repo is includes scripts to regenerate the data from the specs.

When should I use this?

You can use this package when you need to know what tag names are allowed in any version of SVG.

Install

This package is ESM only. In Node.js (version 12.20+, 14.14+, or 16.0+), install with npm:

npm install svg-tag-names

In Deno with esm.sh:

import {svgTagNames} from 'https://esm.sh/svg-tag-names@3'

In browsers with esm.sh:

<script type="module">
  import {svgTagNames} from 'https://esm.sh/svg-tag-names@3?bundle'
</script>

Use

import {svgTagNames} from 'svg-tag-names'

console.log(svgTagNames.length) // => 94

console.log(svgTagNames.slice(0, 20))

Yields:

[
  'a',
  'altGlyph',
  'altGlyphDef',
  'altGlyphItem',
  'animate',
  'animateColor',
  'animateMotion',
  'animateTransform',
  'animation',
  'audio',
  'canvas',
  'circle',
  'clipPath',
  'color-profile',
  'cursor',
  'defs',
  'desc',
  'discard',
  'ellipse',
  'feBlend'
]

API

This package exports the following identifiers: svgTagNames. There is no default export.

svgTagNames

List of known (lowercase) SVG tag names (Array<string>).

Types

This package is fully typed with TypeScript.

Compatibility

This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 12.20+, 14.14+, and 16.0+. It also works in Deno and modern browsers.

Security

This package is safe.

Related

Contribute

Yes please! See How to Contribute to Open Source.

License

MIT © Titus Wormer

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].