6.5.0 • Published 21 days ago

property-information v6.5.0

Weekly downloads
3,064,117
License
MIT
Repository
github
Last release
21 days ago

property-information

Build Coverage Downloads Size

Info on the properties and attributes of the web platform (HTML, SVG, ARIA, XML, XMLNS, XLink).

Contents

What is this?

This package contains lots of info on all the properties and attributes found on the web platform. It includes data on HTML, SVG, ARIA, XML, XMLNS, and XLink. The names of the properties follow hast’s sensible naming scheme. It includes info on what data types attributes hold, such as whether they’re booleans or contain lists of space separated numbers.

When should I use this?

You can use this package if you’re working with hast, which is an AST for HTML, or have goals related to ASTs, such as figuring out which properties or attributes are valid, or what data types they hold.

Install

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

npm install property-information

In Deno with esm.sh:

import * as propertyInformation from 'https://esm.sh/property-information@6'

In browsers with esm.sh:

<script type="module">
  import * as propertyInformation from 'https://esm.sh/property-information@6?bundle'
</script>

Use

import {html, svg, find, normalize} from 'property-information'

console.log(find(html, 'className'))
// Or: find(html, 'class')
console.log(find(svg, 'horiz-adv-x'))
// Or: find(svg, 'horizAdvX')
console.log(find(svg, 'xlink:arcrole'))
// Or: find(svg, 'xLinkArcRole')
console.log(find(html, 'xmlLang'))
// Or: find(html, 'xml:lang')
console.log(find(html, 'ariaValueNow'))
// Or: find(html, 'aria-valuenow')

Yields:

{space: 'html', attribute: 'class', property: 'className', spaceSeparated: true}
{space: 'svg', attribute: 'horiz-adv-x', property: 'horizAdvX', number: true}
{space: 'xlink', attribute: 'xlink:arcrole', property: 'xLinkArcrole'}
{space: 'xml', attribute: 'xml:lang', property: 'xmlLang'}
{attribute: 'aria-valuenow', property: 'ariaValueNow', number: true}

API

This package exports the identifiers html, svg, find, normalize, and hastToReact. There is no default export.

find(schema, name)

Look up info on a property.

In most cases, the given schema contains info on the property. All standard, most legacy, and some non-standard properties are supported. For these cases, the returned Info has hints about the value of the property.

name can also be a valid data attribute or property, in which case an Info object with the correctly cased attribute and property is returned.

name can be an unknown attribute, in which case an Info object with attribute and property set to the given name is returned. It is not recommended to provide unsupported legacy or recently specced properties.

Parameters

  • schema (Schema) — either the html or svg export
  • name (string) — an attribute-like or property-like name that is passed through normalize to find the correct info

Returns

Info.

Example

Aside from the aforementioned example, which shows known HTML, SVG, XML, XLink, and ARIA support, data properties, and attributes are also supported:

console.log(find(html, 'data-date-of-birth'))
// Or: find(html, 'dataDateOfBirth')
// => {attribute: 'data-date-of-birth', property: 'dataDateOfBirth'}

Unknown values are passed through untouched:

console.log(find(html, 'un-Known'))
// => {attribute: 'un-Known', property: 'un-Known'}

normalize(name)

Get the cleaned case insensitive form of an attribute or property.

Parameters

  • name (string) — an attribute-like or property-like name

Returns

string that can be used to look up the properly cased property on a Schema.

Example

html.normal[normalize('for')] // => 'htmlFor'
svg.normal[normalize('VIEWBOX')] // => 'viewBox'
html.normal[normalize('unknown')] // => undefined
html.normal[normalize('accept-charset')] // => 'acceptCharset'

html

svg

Schema for either HTML or SVG, containing info on properties from the primary space (HTML or SVG) and related embedded spaces (ARIA, XML, XMLNS, XLink).

Example

console.log(html.property.htmlFor)
// => {space: 'html', attribute: 'for', property: 'htmlFor' spaceSeparated: true}
console.log(svg.property.viewBox)
// => {space: 'svg', attribute: 'viewBox', property: 'viewBox'}
console.log(html.property.unknown)
// => undefined

Schema

A schema for a primary space.

  • space ('html' or 'svg') — primary space of the schema
  • normal (Record<string, string>) — object mapping normalized attributes and properties to properly cased properties
  • property (Record<string, Info>) — object mapping properties to info

Info

Info on a property.

  • space ('html', 'svg', 'xml', 'xlink', 'xmlns', optional) — space of the property
  • attribute (string) — attribute name for the property that could be used in markup (for example: 'aria-describedby', 'allowfullscreen', 'xml:lang', 'for', or 'charoff')
  • property (string) — JavaScript-style camel-cased name, based on the DOM, but sometimes different (for example: 'ariaDescribedBy', 'allowFullScreen', 'xmlLang', 'htmlFor', 'charOff')
  • boolean (boolean) — the property is a boolean (for example: hidden). These properties have an on state when defined and an off state when not defined
  • booleanish (boolean) — the property is like a boolean (for example: draggable) These properties have both an on and off state when defined, and another state when not defined
  • overloadedBoolean (boolean) — the property is like a boolean (for example: download) These properties have an on state plus more states when defined and an off state when not defined
  • number (boolean) — the property is a number (for example: height)
  • spaceSeparated (boolean) — the property is a list separated by spaces (for example: className)
  • commaSeparated (boolean) — the property is a list separated by commas (for example: srcSet)
  • commaOrSpaceSeparated (boolean) — the property is a list separated by spaces or commas (for example: strokeDashArray)
  • mustUseProperty (boolean) — useful when working with the DOM, in which case this property has to be changed as a field on the element, rather than through setAttribute (this is true only for 'checked', 'multiple', 'muted', and 'selected')
  • defined (boolean) — the property is defined by a space. This is true for values in HTML (including data and ARIA), SVG, XML, XMLNS, and XLink. Undefined properties can only be found through find

hastToReact

hast is close to React, but differs in a couple of cases. To get a React property from a hast property, check if it is in hastToReact (Record<string, string>), if it is, then use the corresponding value, otherwise, use the hast property.

Types

This package is fully typed with TypeScript. It exports the additional types Info and Schema.

Compatibility

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

Support

PropertyAttributeSpace
aLinkalinkhtml
abbrabbrhtml
aboutaboutsvg
accentHeightaccent-heightsvg
acceptaccepthtml
acceptCharsetaccept-charsethtml
accessKeyaccesskeyhtml
accumulateaccumulatesvg
actionactionhtml
additiveadditivesvg
alignalignhtml
alignmentBaselinealignment-baselinesvg
allowallowhtml
allowFullScreenallowfullscreenhtml
allowPaymentRequestallowpaymentrequesthtml
allowTransparencyallowtransparencyhtml
allowUserMediaallowusermediahtml
alphabeticalphabeticsvg
altalthtml
amplitudeamplitudesvg
arabicFormarabic-formsvg
archivearchivehtml
ariaActiveDescendantaria-activedescendant
ariaAtomicaria-atomic
ariaAutoCompletearia-autocomplete
ariaBusyaria-busy
ariaCheckedaria-checked
ariaColCountaria-colcount
ariaColIndexaria-colindex
ariaColSpanaria-colspan
ariaControlsaria-controls
ariaCurrentaria-current
ariaDescribedByaria-describedby
ariaDetailsaria-details
ariaDisabledaria-disabled
ariaDropEffectaria-dropeffect
ariaErrorMessagearia-errormessage
ariaExpandedaria-expanded
ariaFlowToaria-flowto
ariaGrabbedaria-grabbed
ariaHasPopuparia-haspopup
ariaHiddenaria-hidden
ariaInvalidaria-invalid
ariaKeyShortcutsaria-keyshortcuts
ariaLabelaria-label
ariaLabelledByaria-labelledby
ariaLevelaria-level
ariaLivearia-live
ariaModalaria-modal
ariaMultiLinearia-multiline
ariaMultiSelectablearia-multiselectable
ariaOrientationaria-orientation
ariaOwnsaria-owns
ariaPlaceholderaria-placeholder
ariaPosInSetaria-posinset
ariaPressedaria-pressed
ariaReadOnlyaria-readonly
ariaRelevantaria-relevant
ariaRequiredaria-required
ariaRoleDescriptionaria-roledescription
ariaRowCountaria-rowcount
ariaRowIndexaria-rowindex
ariaRowSpanaria-rowspan
ariaSelectedaria-selected
ariaSetSizearia-setsize
ariaSortaria-sort
ariaValueMaxaria-valuemax
ariaValueMinaria-valuemin
ariaValueNowaria-valuenow
ariaValueTextaria-valuetext
asashtml
ascentascentsvg
asyncasynchtml
attributeNameattributeNamesvg
attributeTypeattributeTypesvg
autoCapitalizeautocapitalizehtml
autoCompleteautocompletehtml
autoCorrectautocorrecthtml
autoFocusautofocushtml
autoPlayautoplayhtml
autoSaveautosavehtml
axisaxishtml
azimuthazimuthsvg
backgroundbackgroundhtml
bandwidthbandwidthsvg
baseFrequencybaseFrequencysvg
baseProfilebaseProfilesvg
baselineShiftbaseline-shiftsvg
bboxbboxsvg
beginbeginsvg
bgColorbgcolorhtml
biasbiassvg
blockingblockinghtml
borderborderhtml
borderColorbordercolorhtml
bottomMarginbottommarginhtml
bybysvg
calcModecalcModesvg
capHeightcap-heightsvg
capturecapturehtml
cellPaddingcellpaddinghtml
cellSpacingcellspacinghtml
charcharhtml
charOffcharoffhtml
charSetcharsethtml
checkedcheckedhtml
citecitehtml
classIdclassidhtml
classNameclasssvg, html
clearclearhtml
clipclipsvg
clipPathclip-pathsvg
clipPathUnitsclipPathUnitssvg
clipRuleclip-rulesvg
codecodehtml
codeBasecodebasehtml
codeTypecodetypehtml
colSpancolspanhtml
colorcolorsvg, html
colorInterpolationcolor-interpolationsvg
colorInterpolationFilterscolor-interpolation-filterssvg
colorProfilecolor-profilesvg
colorRenderingcolor-renderingsvg
colscolshtml
compactcompacthtml
contentcontentsvg, html
contentEditablecontenteditablehtml
contentScriptTypecontentScriptTypesvg
contentStyleTypecontentStyleTypesvg
controlscontrolshtml
controlsListcontrolslisthtml
coordscoordshtml
crossOrigincrossoriginsvg, html
cursorcursorsvg
cxcxsvg
cycysvg
ddsvg
datadatahtml
dataTypedatatypesvg
dateTimedatetimehtml
declaredeclarehtml
decodingdecodinghtml
defaultdefaulthtml
defaultActiondefaultActionsvg
deferdeferhtml
descentdescentsvg
diffuseConstantdiffuseConstantsvg
dirdirhtml
dirNamedirnamehtml
directiondirectionsvg
disablePictureInPicturedisablepictureinpicturehtml
disableRemotePlaybackdisableremoteplaybackhtml
disableddisabledhtml
displaydisplaysvg
divisordivisorsvg
dominantBaselinedominant-baselinesvg
downloaddownloadsvg, html
draggabledraggablehtml
durdursvg
dxdxsvg
dydysvg
edgeModeedgeModesvg
editableeditablesvg
elevationelevationsvg
enableBackgroundenable-backgroundsvg
encTypeenctypehtml
endendsvg
enterKeyHintenterkeyhinthtml
eventeventsvg, html
exponentexponentsvg
externalResourcesRequiredexternalResourcesRequiredsvg
facefacehtml
fetchPriorityfetchpriorityhtml
fillfillsvg
fillOpacityfill-opacitysvg
fillRulefill-rulesvg
filterfiltersvg
filterResfilterRessvg
filterUnitsfilterUnitssvg
floodColorflood-colorsvg
floodOpacityflood-opacitysvg
focusHighlightfocusHighlightsvg
focusablefocusablesvg
fontFamilyfont-familysvg
fontSizefont-sizesvg
fontSizeAdjustfont-size-adjustsvg
fontStretchfont-stretchsvg
fontStylefont-stylesvg
fontVariantfont-variantsvg
fontWeightfont-weightsvg
formformhtml
formActionformactionhtml
formEncTypeformenctypehtml
formMethodformmethodhtml
formNoValidateformnovalidatehtml
formTargetformtargethtml
formatformatsvg
frfrsvg
frameframehtml
frameBorderframeborderhtml
fromfromsvg
fxfxsvg
fyfysvg
g1g1svg
g2g2svg
glyphNameglyph-namesvg
glyphOrientationHorizontalglyph-orientation-horizontalsvg
glyphOrientationVerticalglyph-orientation-verticalsvg
glyphRefglyphRefsvg
gradientTransformgradientTransformsvg
gradientUnitsgradientUnitssvg
hSpacehspacehtml
handlerhandlersvg
hanginghangingsvg
hatchContentUnitshatchContentUnitssvg
hatchUnitshatchUnitssvg
headersheadershtml
heightheightsvg, html
hiddenhiddenhtml
highhighhtml
horizAdvXhoriz-adv-xsvg
horizOriginXhoriz-origin-xsvg
horizOriginYhoriz-origin-ysvg
hrefhrefsvg, html
hrefLanghreflangsvg, html
htmlForforhtml
httpEquivhttp-equivhtml
ididsvg, html
ideographicideographicsvg
imageRenderingimage-renderingsvg
imageSizesimagesizeshtml
imageSrcSetimagesrcsethtml
ininsvg
in2in2svg
inertinerthtml
initialVisibilityinitialVisibilitysvg
inputModeinputmodehtml
integrityintegrityhtml
interceptinterceptsvg
isishtml
isMapismaphtml
itemIditemidhtml
itemPropitemprophtml
itemRefitemrefhtml
itemScopeitemscopehtml
itemTypeitemtypehtml
kksvg
k1k1svg
k2k2svg
k3k3svg
k4k4svg
kernelMatrixkernelMatrixsvg
kernelUnitLengthkernelUnitLengthsvg
kerningkerningsvg
keyPointskeyPointssvg
keySplineskeySplinessvg
keyTimeskeyTimessvg
kindkindhtml
labellabelhtml
langlangsvg, html
languagelanguagehtml
leftMarginleftmarginhtml
lengthAdjustlengthAdjustsvg
letterSpacingletter-spacingsvg
lightingColorlighting-colorsvg
limitingConeAnglelimitingConeAnglesvg
linklinkhtml
listlisthtml
loadingloadinghtml
locallocalsvg
longDesclongdeschtml
looploophtml
lowlowhtml
lowSrclowsrchtml
manifestmanifesthtml
marginHeightmarginheighthtml
marginWidthmarginwidthhtml
markerEndmarker-endsvg
markerHeightmarkerHeightsvg
markerMidmarker-midsvg
markerStartmarker-startsvg
markerUnitsmarkerUnitssvg
markerWidthmarkerWidthsvg
maskmasksvg
maskContentUnitsmaskContentUnitssvg
maskUnitsmaskUnitssvg
mathematicalmathematicalsvg
maxmaxsvg, html
maxLengthmaxlengthhtml
mediamediasvg, html
mediaCharacterEncodingmediaCharacterEncodingsvg
mediaContentEncodingsmediaContentEncodingssvg
mediaSizemediaSizesvg
mediaTimemediaTimesvg
methodmethodsvg, html
minminsvg, html
minLengthminlengthhtml
modemodesvg
multiplemultiplehtml
mutedmutedhtml
namenamesvg, html
navDownnav-downsvg
navDownLeftnav-down-leftsvg
navDownRightnav-down-rightsvg
navLeftnav-leftsvg
navNextnav-nextsvg
navPrevnav-prevsvg
navRightnav-rightsvg
navUpnav-upsvg
navUpLeftnav-up-leftsvg
navUpRightnav-up-rightsvg
noHrefnohrefhtml
noModulenomodulehtml
noResizenoresizehtml
noShadenoshadehtml
noValidatenovalidatehtml
noWrapnowraphtml
noncenoncehtml
numOctavesnumOctavessvg
objectobjecthtml
observerobserversvg
offsetoffsetsvg
onAbortonabortsvg, html
onActivateonactivatesvg
onAfterPrintonafterprintsvg, html
onAuxClickonauxclickhtml
onBeforeMatchonbeforematchhtml
onBeforePrintonbeforeprintsvg, html
onBeforeToggleonbeforetogglehtml
onBeforeUnloadonbeforeunloadhtml
onBeginonbeginsvg
onBluronblurhtml
onCanPlayoncanplaysvg, html
onCanPlayThroughoncanplaythroughsvg, html
onCanceloncancelsvg, html
onChangeonchangesvg, html
onClickonclicksvg, html
onCloseonclosesvg, html
onContextLostoncontextlosthtml
onContextMenuoncontextmenuhtml
onContextRestoredoncontextrestoredhtml
onCopyoncopysvg, html
onCueChangeoncuechangesvg, html
onCutoncutsvg, html
onDblClickondblclicksvg, html
onDragondragsvg, html
onDragEndondragendsvg, html
onDragEnterondragentersvg, html
onDragExitondragexitsvg, html
onDragLeaveondragleavesvg, html
onDragOverondragoversvg, html
onDragStartondragstartsvg, html
onDropondropsvg, html
onDurationChangeondurationchangesvg, html
onEmptiedonemptiedsvg, html
onEndonendsvg
onEndedonendedsvg, html
onErroronerrorsvg, html
onFocusonfocussvg, html
onFocusInonfocusinsvg
onFocusOutonfocusoutsvg
onFormDataonformdatahtml
onHashChangeonhashchangesvg, html
onInputoninputsvg, html
onInvalidoninvalidsvg, html
onKeyDownonkeydownsvg, html
onKeyPressonkeypresssvg, html
onKeyUponkeyupsvg, html
onLanguageChangeonlanguagechangehtml
onLoadonloadsvg, html
onLoadEndonloadendhtml
onLoadStartonloadstartsvg, html
onLoadedDataonloadeddatasvg, html
onLoadedMetadataonloadedmetadatasvg, html
onMessageonmessagesvg, html
onMessageErroronmessageerrorhtml
onMouseDownonmousedownsvg, html
onMouseEnteronmouseentersvg, html
onMouseLeaveonmouseleavesvg, html
onMouseMoveonmousemovesvg, html
onMouseOutonmouseoutsvg, html
onMouseOveronmouseoversvg, html
onMouseUponmouseupsvg, html
onMouseWheelonmousewheelsvg
onOfflineonofflinesvg, html
onOnlineononlinesvg, html
onPageHideonpagehidesvg, html
onPageShowonpageshowsvg, html
onPasteonpastesvg, html
onPauseonpausesvg, html
onPlayonplaysvg, html
onPlayingonplayingsvg, html
onPopStateonpopstatesvg, html
onProgressonprogresssvg, html
onRateChangeonratechangesvg, html
onRejectionHandledonrejectionhandledhtml
onRepeatonrepeatsvg
onResetonresetsvg, html
onResizeonresizesvg, html
onScrollonscrollsvg, html
onScrollEndonscrollendhtml
onSecurityPolicyViolationonsecuritypolicyviolationhtml
onSeekedonseekedsvg, html
onSeekingonseekingsvg, html
onSelectonselectsvg, html
onShowonshowsvg
onSlotChangeonslotchangehtml
onStalledonstalledsvg, html
onStorageonstoragesvg, html
onSubmitonsubmitsvg, html
onSuspendonsuspendsvg, html
onTimeUpdateontimeupdatesvg, html
onToggleontogglesvg, html
onUnhandledRejectiononunhandledrejectionhtml
onUnloadonunloadsvg, html
onVolumeChangeonvolumechangesvg, html
onWaitingonwaitingsvg, html
onWheelonwheelhtml
onZoomonzoomsvg
opacityopacitysvg
openopenhtml
operatoroperatorsvg
optimumoptimumhtml
orderordersvg
orientorientsvg
orientationorientationsvg
originoriginsvg
overflowoverflowsvg
overlayoverlaysvg
overlinePositionoverline-positionsvg
overlineThicknessoverline-thicknesssvg
paintOrderpaint-ordersvg
panose1panose-1svg
pathpathsvg
pathLengthpathLengthsvg
patternpatternhtml
patternContentUnitspatternContentUnitssvg
patternTransformpatternTransformsvg
patternUnitspatternUnitssvg
phasephasesvg
pingpingsvg, html
pitchpitchsvg
placeholderplaceholderhtml
playbackOrderplaybackordersvg
playsInlineplaysinlinehtml
pointerEventspointer-eventssvg
pointspointssvg
pointsAtXpointsAtXsvg
pointsAtYpointsAtYsvg
pointsAtZpointsAtZsvg
popoverpopoverhtml
popoverTargetpopovertargethtml
popoverTargetActionpopovertargetactionhtml
posterposterhtml
prefixprefixhtml
preloadpreloadhtml
preserveAlphapreserveAlphasvg
preserveAspectRatiopreserveAspectRatiosvg
primitiveUnitsprimitiveUnitssvg
profileprofilehtml
promptprompthtml
propagatepropagatesvg
propertypropertysvg, html
rrsvg
radiusradiussvg
readOnlyreadonlyhtml
refXrefXsvg
refYrefYsvg
referrerPolicyreferrerpolicysvg, html
relrelsvg, html
renderingIntentrendering-intentsvg
repeatCountrepeatCountsvg
repeatDurrepeatDursvg
requiredrequiredhtml
requiredExtensionsrequiredExtensionssvg
requiredFeaturesrequiredFeaturessvg
requiredFontsrequiredFontssvg
requiredFormatsrequiredFormatssvg
resourceresourcesvg
restartrestartsvg
resultresultsvg
resultsresultshtml
revrevsvg, html
reversedreversedhtml
rightMarginrightmarginhtml
rolerole
rotaterotatesvg
rowSpanrowspanhtml
rowsrowshtml
rulesruleshtml
rxrxsvg
ryrysvg
sandboxsandboxhtml
scalescalesvg
schemeschemehtml
scopescopehtml
scopedscopedhtml
scrollingscrollinghtml
seamlessseamlesshtml
securitysecurityhtml
seedseedsvg
selectedselectedhtml
shadowRootClonableshadowrootclonablehtml
shadowRootDelegatesFocusshadowrootdelegatesfocushtml
shadowRootModeshadowrootmodehtml
shapeshapehtml
shapeRenderingshape-renderingsvg
sidesidesvg
sizesizehtml
sizessizeshtml
slopeslopesvg
slotslothtml
snapshotTimesnapshotTimesvg
spacingspacingsvg
spanspanhtml
specularConstantspecularConstantsvg
specularExponentspecularExponentsvg
spellCheckspellcheckhtml
spreadMethodspreadMethodsvg
srcsrchtml
srcDocsrcdochtml
srcLangsrclanghtml
srcSetsrcsethtml
standbystandbyhtml
startstarthtml
startOffsetstartOffsetsvg
stdDeviationstdDeviationsvg
stemhstemhsvg
stemvstemvsvg
stepstephtml
stitchTilesstitchTilessvg
stopColorstop-colorsvg
stopOpacitystop-opacitysvg
strikethroughPositionstrikethrough-positionsvg
strikethroughThicknessstrikethrough-thicknesssvg
stringstringsvg
strokestrokesvg
strokeDashArraystroke-dasharraysvg
strokeDashOffsetstroke-dashoffsetsvg
strokeLineCapstroke-linecapsvg
strokeLineJoinstroke-linejoinsvg
strokeMiterLimitstroke-miterlimitsvg
strokeOpacitystroke-opacitysvg
strokeWidthstroke-widthsvg
stylestylesvg, html
summarysummaryhtml
surfaceScalesurfaceScalesvg
syncBehaviorsyncBehaviorsvg
syncBehaviorDefaultsyncBehaviorDefaultsvg
syncMastersyncMastersvg
syncTolerancesyncTolerancesvg
syncToleranceDefaultsyncToleranceDefaultsvg
systemLanguagesystemLanguagesvg
tabIndextabindexsvg, html
tableValuestableValuessvg
targettargetsvg, html
targetXtargetXsvg
targetYtargetYsvg
texttexthtml
textAnchortext-anchorsvg
textDecorationtext-decorationsvg
textLengthtextLengthsvg
textRenderingtext-renderingsvg
timelineBegintimelinebeginsvg
titletitlesvg, html
totosvg
topMargintopmarginhtml
transformtransformsvg
transformBehaviortransformBehaviorsvg
transformOrigintransform-originsvg
translatetranslatehtml
typetypesvg, html
typeMustMatchtypemustmatchhtml
typeOftypeofsvg
u1u1svg
u2u2svg
underlinePositionunderline-positionsvg
underlineThicknessunderline-thicknesssvg
unicodeunicodesvg
unicodeBidiunicode-bidisvg
unicodeRangeunicode-rangesvg
unitsPerEmunits-per-emsvg
unselectableunselectablehtml
useMapusemaphtml
vAlignvalignhtml
vAlphabeticv-alphabeticsvg
vHangingv-hangingsvg
vIdeographicv-ideographicsvg
vLinkvlinkhtml
vMathematicalv-mathematicalsvg
vSpacevspacehtml
valuevaluehtml
valueTypevaluetypehtml
valuesvaluessvg
vectorEffectvector-effectsvg
versionversionsvg, html
vertAdvYvert-adv-ysvg
vertOriginXvert-origin-xsvg
vertOriginYvert-origin-ysvg
viewBoxviewBoxsvg
viewTargetviewTargetsvg
visibilityvisibilitysvg
widthwidthsvg, html
widthswidthssvg
wordSpacingword-spacingsvg
wrapwraphtml
writingModewriting-modesvg
writingSuggestionswritingsuggestionshtml
xxsvg
x1x1svg
x2x2svg
xChannelSelectorxChannelSelectorsvg
xHeightx-heightsvg
xLinkActuatexlink:actuatexlink
xLinkArcRolexlink:arcrolexlink
xLinkHrefxlink:hrefxlink
xLinkRolexlink:rolexlink
xLinkShowxlink:showxlink
xLinkTitlexlink:titlexlink
xLinkTypexlink:typexlink
xmlBasexml:basexml
xmlLangxml:langxml
xmlSpacexml:spacexml
xmlnsxmlnsxmlns
xmlnsXLinkxmlns:xlinkxmlns
yysvg
y1y1svg
y2y2svg
yChannelSelectoryChannelSelectorsvg
zzsvg
zoomAndPanzoomAndPansvg

Security

This package is safe.

Related

Contribute

Yes please! See How to Contribute to Open Source.

License

MIT © Titus Wormer

Derivative work based on React licensed under MIT, © Facebook, Inc.

hastscripthast-util-from-parse5hast-util-to-parse5@daimond113/solid-markdowntmp-hast-util-to-jsxcogoportutils@infinitebrahmanuniverse/nolb-prop@farnabaz/c@saaspe/components@everything-registry/sub-chunk-2483qjc2-blocknuxt-content-without-db-hashnuxt-mdc-edgenois-react-toastparvan_componentsparvan_reactjs_componentsmarkdown-vuetldrawligninsvelte-component-libu-libraryreact-markdown-v8.0.3react-markdown-customkeypropsequelcomponentsolid-markdownrehype-react-serializedrehype-mdx-code-propsrehype-minify-enumerated-attributereact-form-component-libraryzzzxxxyyy321123xast-util-select@beeswax/react-markdown-async@secretflow/unified-toolkit@farnabaz/nuxt-mdc@vitali_shcherbina/styled-lib@zentered/solid-markdownadarshsinghal-editor-preview@bitmachina/highlighter@blkmarketco/components-library@bloodf/nuxt-content@shivarajapple/first-library@frctl/fractal-plugin-preprocess-templates@skeetboothppq/component-library@newageerp/v3.utils.markdown@podlubnaja/ui-kitdesign-system-fitbank-450@pretext-book/jsx@qihoo/wx2qhdimer-edge@uivjs/vue-markdown-preview@kunet/solid-markdown-but-updated@lego-js/tests@mapbox/hast-util-to-jsx@monkeyplus/esm-nuxt-content@lskjs/markdownappcharge-checkoutappcharge-checkout-reactjs-sdk@adobe/helix-pipeline@enyaxu/hast-util-to-html@nuxtjs/mdc@nuxtjs/mdc-edge@swell/edge.js@starptech/hast-util-from-webparser@starptech/prettyhtml-hast-to-html@starptech/prettyhtml-hast-util-from-parse@starptech/prettyhtml-hastscript@universitetsforlaget/hast@stefanprobst/rehype-next-links@voraciousdev/nuxt3-content@wayowe/prettyhtml-hast-to-html@wayowe/prettyhtml-hastscript@wayowe/hast-util-from-webparser@breadio/markdown@compai/css-guiflot-fyr-markdown@cquiroz/react-markdown@crazydos/vue-markdown@azu/hast-util-to-html@cute-apocalypse/react-tree@dimerapp/edgefn-lib-example@docus/core-edge@docus/app-edge@docus/content@docus/coreedge.js@furmeet/solid-markdowngformat-hast-to-htmlgformat-hast-to-html-tmpessexcommoditeneturhast-to-snabbdomhast-util-selecthast-util-to-domhast-util-to-estreehast-util-to-htmlhast-util-to-html-nshast-util-to-jsx-inline-scripthast-util-to-jsx-runtimehast-util-to-xasthast-util-from-parse5-ns
6.5.0

21 days ago

6.4.1

3 months ago

6.4.0

6 months ago

6.3.0

8 months ago

6.2.0

1 year ago

6.1.1

2 years ago

6.1.0

2 years ago

6.0.1

3 years ago

6.0.0

3 years ago

5.6.0

4 years ago

5.5.0

4 years ago

5.4.0

4 years ago

5.3.0

5 years ago

5.2.2

5 years ago

5.2.1

5 years ago

5.2.0

5 years ago

5.1.0

5 years ago

5.0.1

5 years ago

5.0.0

5 years ago

4.2.0

6 years ago

4.1.0

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.2.0

7 years ago

3.1.0

8 years ago

3.0.0

8 years ago

2.0.0

9 years ago

1.0.0

9 years ago