{"name":"web-namespaces","version":"1.1.1","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"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"main":"index.json","files":["index.json"],"dependencies":{},"devDependencies":{"bail":"^1.0.0","browserify":"^14.1.0","concat-stream":"^1.6.0","esmangle":"^1.0.1","hast-util-select":"^1.0.1","hast-util-to-string":"^1.0.0","rehype-parse":"^4.0.0","remark-cli":"^3.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.4.0","unified":"^6.1.5","xo":"^0.18.0"},"scripts":{"build-md":"remark . -qfo","build-crawl":"node build","build-bundle":"browserify index.json --bare -s webNamespaces > web-namespaces.js","build-mangle":"esmangle web-namespaces.js > web-namespaces.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test":"npm run build && npm run lint && npm run test-api"},"xo":{"space":true,"esnext":false,"ignore":["web-namespaces.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"82d50050f010d0fa1e6fa0637d656029c94cfae1","homepage":"https://github.com/wooorm/web-namespaces#readme","_id":"web-namespaces@1.1.1","_shasum":"742d9fff61ff84f4164f677244f42d29c10c451d","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"742d9fff61ff84f4164f677244f42d29c10c451d","tarball":"http://registry-npm.ywwl.com/web-namespaces/download/web-namespaces-1.1.1.tgz","integrity":"sha512-rL8fNTbYTJ6V/QOUBzx9TGClse+E8huzn/J/laPWFcvlm4abSWy7bwqR6WM9Qt/CvdrmLA2rQyaiaDfs1drFdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZfQoUBpWtEIxP51Tiy5MuFqWQsIZL5oxqLWY7+tS5zQIgKeFcPg/ZxTxVWq8VgZR7nff2hsvBCQklVo3wVcyuxz0="}],"size":2031,"noattachment":false,"key":"/web-namespaces/-/web-namespaces-1.1.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-namespaces-1.1.1.tgz_1498422097893_0.9975514153484255"},"directories":{},"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":1498422098880,"_cnpm_publish_time":1498422098880,"dist-tags":{"latest":"2.0.1"}}