{"name":"web-namespaces","version":"1.1.4","description":"Map of web namespaces","license":"MIT","keywords":["web","platform","namespace","namespaces","whatwg","w3c"],"repository":{"type":"git","url":"git+https://github.com/wooorm/web-namespaces.git"},"bugs":{"url":"https://github.com/wooorm/web-namespaces/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"index.json","dependencies":{},"devDependencies":{"bail":"^1.0.0","browserify":"^16.0.0","concat-stream":"^2.0.0","hast-util-select":"^3.0.0","hast-util-to-string":"^1.0.0","prettier":"^1.0.0","rehype-parse":"^6.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unified":"^8.0.0","xo":"^0.25.0"},"scripts":{"generate":"node build","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify index.json -s webNamespaces -o web-namespaces.js","build-mangle":"browserify index.json -s webNamespaces -p tinyify -o web-namespaces.min.js","build":"npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test":"npm run generate && npm run format && npm run build && npm run test-api"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignore":["web-namespaces.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"11b3c01195c49d821c3e45ffcb6d7e99611da974","homepage":"https://github.com/wooorm/web-namespaces#readme","_id":"web-namespaces@1.1.4","_nodeVersion":"13.0.1","_npmVersion":"6.13.6","dist":{"integrity":"sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw==","shasum":"bc98a3de60dadd7faefc403d1076d529f5e030ec","tarball":"http://registry-npm.ywwl.com/web-namespaces/download/web-namespaces-1.1.4.tgz","fileCount":4,"unpackedSize":5136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKsRsCRA9TVsSAnZWagAA88kP/j5l2eyBZsC4/T4/JQbN\npdasFeTQBCsrpTcOtLoGX/dgeSygb6FCxka/N9/q4N7ynf7ngWpXiJaEySi1\ni9wkgKeFfUVN0jkXpfk2AACCv05h0Aozxi0Y6i848tiVDCR48qtUw5lox7Kn\nHMcmJoxPe5+1juaI/nQVH2AOhK/l0Jq2I830vBhhZo85ZazVOtCNwMXxTYxh\n+SJ0n/JU50CUNiOk6+vW7NAAkyMOjZNgckvI2zbwttFUJNwRWNiHmdLB4PrL\nQ29WmTGK29lSuUZqi9E5YFqLseQKc+GzR5ww+sKL/gOdJ7L+XRnuGIo3KYEX\nZbwLzyNEaGFEN3Oxo0yiOpe5/0meYIWgUgYPu+olTyYu02dcRwsQ3OMA2CfV\nXzptIOAOBdtV+lrdh49Xe8tHDpIln2saay/bEBxX1Ll5K7rJPta0nB0lPiJY\nlvYZ3P2TFh9ZBwF12bWcDbXSh8qPYYE/4rroKSe2GOVfvcB/coY/CsEvKoLO\nODjPBUBkrPiY04ZTKG4XWt9k65/NDa1mjm99YDEsNBt61ZZY1azOeS80ts0h\nQHHbcVbJiyUGz23HmoPbO7ZE2XVNhP5Zz14p+GZ20guzYJzcpkQ8aUrlaL70\nJ7cFOAwX3YrlGXAbyeQuWOT5R/tU0JKTTOHx3BsUAtwYuwWKUptWGBGDyLv6\nUD0P\r\n=FkGH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7fsBHb9E6DIa4Z7zk9YOziGXmrkRoDoyO7n+YB21TSAiBrkXPrPp2k347Ivp2oeXamK7zd/x4BGryUF//dRZksYA=="}],"size":2204,"noattachment":false,"key":"/web-namespaces/-/web-namespaces-1.1.4.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-namespaces_1.1.4_1579861099602_0.1375114302416054"},"_hasShrinkwrap":false,"readme":"# web-namespaces\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nMap of web namespaces.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`webNamespaces`](#webnamespaces)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis is a map of names to namespaces found on the web platforms.\n\n## When should I use this?\n\nYou can use this package if you want to access the XML, HTML, SVG, etc.\nnamespace urls.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]:\n\n```sh\nnpm install web-namespaces\n```\n\nIn Deno with [Skypack][]:\n\n```js\nimport {webNamespaces} from 'https://cdn.skypack.dev/web-namespaces@2?dts'\n```\n\nIn browsers with [Skypack][]:\n\n```html\n<script type=\"module\">\n  import {webNamespaces} from 'https://cdn.skypack.dev/web-namespaces@2?min'\n</script>\n```\n\n## Use\n\n```js\nimport {webNamespaces} from 'web-namespaces'\n\nconsole.log(webNamespaces)\n```\n\nYields:\n\n```js\n{\n  html: 'http://www.w3.org/1999/xhtml',\n  mathml: 'http://www.w3.org/1998/Math/MathML',\n  svg: 'http://www.w3.org/2000/svg',\n  xlink: 'http://www.w3.org/1999/xlink',\n  xml: 'http://www.w3.org/XML/1998/namespace',\n  xmlns: 'http://www.w3.org/2000/xmlns/'\n}\n```\n\n## API\n\nThis package exports the following identifiers: `webNamespaces`.\nThere is no default export.\n\n### `webNamespaces`\n\nMap of names to namespaces (`Record<string, string>`).\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nThere are no extra exported types.\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 12.20+, 14.14+, and 16.0+.\nIt also works in Deno and modern browsers.\n\n## Security\n\nThis package is safe.\n\n## Related\n\n*   [`wooorm/html-tag-names`](https://github.com/wooorm/html-tag-names)\n    — list of HTML tag names\n*   [`wooorm/mathml-tag-names`](https://github.com/wooorm/mathml-tag-names)\n    — list of MathML tag names\n*   [`wooorm/svg-tag-names`](https://github.com/wooorm/svg-tag-names)\n    — list of SVG tag names\n*   [`wooorm/svg-element-attributes`](https://github.com/wooorm/svg-element-attributes)\n    — map of SVG elements to allowed attributes\n*   [`wooorm/html-element-attributes`](https://github.com/wooorm/html-element-attributes)\n    — map of HTML elements to allowed attributes\n*   [`wooorm/aria-attributes`](https://github.com/wooorm/aria-attributes)\n    — list of ARIA attributes\n\n## Contribute\n\nYes please!\nSee [How to Contribute to Open Source][contribute].\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definition -->\n\n[build-badge]: https://github.com/wooorm/web-namespaces/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/web-namespaces/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/web-namespaces.svg\n\n[coverage]: https://codecov.io/github/wooorm/web-namespaces\n\n[downloads-badge]: https://img.shields.io/npm/dm/web-namespaces.svg\n\n[downloads]: https://www.npmjs.com/package/web-namespaces\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/web-namespaces.svg\n\n[size]: https://bundlephobia.com/result?p=web-namespaces\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[skypack]: https://www.skypack.dev\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[typescript]: https://www.typescriptlang.org\n\n[contribute]: https://opensource.guide/how-to-contribute/\n","publish_time":1579861099768,"_cnpm_publish_time":1579861099768,"dist-tags":{"latest":"2.0.1"}}