Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
web-namespaces
Advanced tools
Readme
Map of web namespaces.
This is a map of names to namespaces found on the web platforms.
You can use this package if you want to access the XML, HTML, SVG, etc. namespace urls.
This package is ESM only. In Node.js (version 12.20+, 14.14+, or 16.0+), install with npm:
npm install web-namespaces
In Deno with Skypack:
import {webNamespaces} from 'https://cdn.skypack.dev/web-namespaces@2?dts'
In browsers with Skypack:
<script type="module">
import {webNamespaces} from 'https://cdn.skypack.dev/web-namespaces@2?min'
</script>
import {webNamespaces} from 'web-namespaces'
console.log(webNamespaces)
Yields:
{
html: 'http://www.w3.org/1999/xhtml',
mathml: 'http://www.w3.org/1998/Math/MathML',
svg: 'http://www.w3.org/2000/svg',
xlink: 'http://www.w3.org/1999/xlink',
xml: 'http://www.w3.org/XML/1998/namespace',
xmlns: 'http://www.w3.org/2000/xmlns/'
}
This package exports the following identifiers: webNamespaces
.
There is no default export.
webNamespaces
Map of names to namespaces (Record<string, string>
).
This package is fully typed with TypeScript. There are no extra exported types.
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.
This package is safe.
wooorm/html-tag-names
— list of HTML tag nameswooorm/mathml-tag-names
— list of MathML tag nameswooorm/svg-tag-names
— list of SVG tag nameswooorm/svg-element-attributes
— map of SVG elements to allowed attributeswooorm/html-element-attributes
— map of HTML elements to allowed attributeswooorm/aria-attributes
— list of ARIA attributesYes please! See How to Contribute to Open Source.
FAQs
Map of web namespaces
The npm package web-namespaces receives a total of 2,901,189 weekly downloads. As such, web-namespaces popularity was classified as popular.
We found that web-namespaces demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.