web-namespaces
Map of web namespaces
Last updated 6 years ago by wooorm .
MIT · Repository · Bugs · Original npm
$ cnpm install web-namespaces 
SYNC missed versions from official npm registry.

web-namespaces

Build Downloads Size

Map of web namespaces.

Install

npm:

npm install web-namespaces

Use

var webNamespaces = require('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/' }

API

webNamespaces

Object.<string, string> — Map of short-name to namespaces.

Related

License

MIT © Titus Wormer

Current Tags

  • 2.0.1                                ...           latest (4 years ago)

2 Versions

  • 2.0.1                                ...           4 years ago
  • 1.1.4                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (13)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org