{"name":"web-namespaces","version":"2.0.0","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":"^1.0.0","c8":"^7.0.0","concat-stream":"^2.0.0","hast-util-select":"^4.0.0","hast-util-to-string":"^1.0.0","prettier":"^2.0.0","rehype-parse":"^7.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","typescript":"^4.0.0","unified":"^9.0.0","xo":"^0.38.0"},"scripts":{"prepublishOnly":"npm run build && npm run format","prebuild":"rimraf \"*.d.ts\"","build":"tsc","generate":"node build","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","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,"rules":{"import/no-mutable-exports":"off","no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"4db5d263f9428b1f883043bd83a99da70bb58ed6","homepage":"https://github.com/wooorm/web-namespaces#readme","_id":"web-namespaces@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.2","dist":{"integrity":"sha512-dE7ELZRVWh0ceQsRgkjLgsAvwTuv3kcjSY/hLjqL0llleUlQBDjE9JkB9FCBY5F2mnFEwiyJoowl8+NVGHe8dw==","shasum":"1f6a2d7b5823329abaedeb6bdf09ef2fed35db13","tarball":"http://registry-npm.ywwl.com/web-namespaces/download/web-namespaces-2.0.0.tgz","fileCount":5,"unpackedSize":5867,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSfCxCRA9TVsSAnZWagAAAA0QAKRM3AWJE1C1JdG35JUL\nlU7Q2aWRs7EfaCzbUImToIyfxPGBP6gic+TK8xWyFg5K+pVK1rWkZcLY5W7M\nYw9gK5VQKygoTHvFX85AivgRo0nd4ebQNo/7XeJ6sZVU6YZRMszouGBS/COq\nvbbT+O/qNq1aNUp6OAtIyRabpBPgOaWGtKjLA4QXr+7oVmAe5JlvwUSV/H6e\nVQyCl5jZHFqBGbME+KS5aYXdq7L1F3eGUAodxEfpirApyEqD3Y+int/PGMAH\nT5/Hu1przgKU2MKARm00RxmaSzl/rNQ1MMoEvzjHamAG3UThG7Qs1kUe7UcN\nPesG1BFbqb9YSd8swa+IknwOsXpQYhxB8jd9twLMaRYA+ydNdSnKpM0+tnDJ\nYOcRG6D7z6UCFXVhltJDr/Fmxl6HGWuEx549HBfIDcvyc+oKuOQoPYsA0Ue2\nvRpkJAA+RpVONi9UfVF10i8ErJbqWoKjKxPR31nQaXvKuSeS3u1B00/DekAd\njJS/wjO/JMzpBD9hwvQ79GJdDf9hX6/5UfFNrnu3WHk2ZaW7nhdlcZrRQHW+\nxMSEzSgOhd5aqD5Ty3IQ5mC9AAgKMo/EAs6zSbhI4qkvw8pdNlehYajUKhaS\nuls9G1hsYdSnw7rWY6DwfAHhfIN+s1JS8yTWTSpm5pK+Q7fkdi4vxYm2iUH0\nvOb3\r\n=KUAr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnGWXfkKiBkCPjSE5v0N6adnkYMuwc9ZN2La83sYkEEAIgedbKlgvFVfwe4OWQTBG4r5tMjB72lZ+ZhtASL6flagk="}],"size":2495,"noattachment":false,"key":"/web-namespaces/-/web-namespaces-2.0.0.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.0_1615458481127_0.10487066005129697"},"_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":1615458481266,"_cnpm_publish_time":1615458481266,"dist-tags":{"latest":"2.0.1"}}