{"name":"web-namespaces","version":"2.0.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"},"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"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","devDependencies":{"@types/tape":"^4.0.0","bail":"^2.0.0","c8":"^7.0.0","concat-stream":"^2.0.0","hast-util-select":"^5.0.0","hast-util-to-string":"^2.0.0","prettier":"^2.0.0","rehype-parse":"^8.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unified":"^10.0.0","xo":"^0.46.0"},"scripts":{"generate":"node build","prepublishOnly":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"fef810169775b173f42ca77c9ef695d952d4e0a5","homepage":"https://github.com/wooorm/web-namespaces#readme","_id":"web-namespaces@2.0.1","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==","shasum":"1010ff7c650eccb2592cebeeaf9a1b253fd40692","tarball":"http://registry-npm.ywwl.com/web-namespaces/download/web-namespaces-2.0.1.tgz","fileCount":5,"unpackedSize":7443,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3A+uCRA9TVsSAnZWagAAnacP/RfOUfyPzTBXLyiruqrp\no61/yvNLKIBgGQeVI+POj+5L6q7goTGCqnNQKfYm7a6Q/Jd0wBksXH4J4skD\nEflZ/HXnWa3n4tzNInFDJ83aqS/0zfpI4utb4ILV3bCNBA5sDURyLeiIA2XP\nZEQxPDz/uf6BKgCWZ4lCQjX6iMfBn72dFlTgxSeu1nz/2/tZBhJDQv5bUE+P\n/sbz8IlEWG5+TmVvCy1Cp+K2EPXBnjUrJFfTsdrbUm/y9lFcppo+xvCV8El3\nzlgyqB7LHfLsQ2ct70XGp3GGlseUI6mVR0saTfe62aK6FGpZHMA70UEa03Vj\n+TSe+wPGOAiEvKKXtjjiuwTYMm+NoBEqEzVaFpENYf3A1NoR+WBjhlZ+5FI+\ngRMKfq7m2tekdxyrN3e7Nn9YWUT4EZUZmYDNgYtGj2hnP7rqnzKNQ7Ad105+\n6SbMn2WhPlFA8Xuu8e9fUCAiKNzQRZfyHyNV7eyeCY/snjasLZLZH+/l/Lea\numozyaW2h9ZI3NHIVhWyON0Au5OJjA98DkvZfKN+KZti89s3t63j+DXqSjz4\nvKyf30gXiaBzeHN1AtNbfIXrvNKEebM0JnuTz8fWdhFNj9buZ+dA5Msdjj5M\nLA4yLdX9BX47SeExtiiAl8lnK3SrlkkeSWpS0JHzhBPOWw+R6H99nktsWNf5\nEK8c\r\n=xDVa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHALkAdgSBKDK/aHfmhzyUWQJcPa/pg3/pAHim9n+215AiEAuX2qBvP+XXb8MW0zbc/ywcNjnDCpReSjRx4UP4RrfSw="}],"size":3038,"noattachment":false,"key":"/web-namespaces/-/web-namespaces-2.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-namespaces_2.0.1_1636136036820_0.3586947665940683"},"_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":1636136036968,"_cnpm_publish_time":1636136036968,"dist-tags":{"latest":"2.0.1"}}