This commit is contained in:
8
node_modules/web-namespaces/index.json
generated
vendored
Normal file
8
node_modules/web-namespaces/index.json
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"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/"
|
||||
}
|
||||
22
node_modules/web-namespaces/license
generated
vendored
Normal file
22
node_modules/web-namespaces/license
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) 2016 Titus Wormer <tituswormer@gmail.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
'Software'), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
74
node_modules/web-namespaces/package.json
generated
vendored
Normal file
74
node_modules/web-namespaces/package.json
generated
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"name": "web-namespaces",
|
||||
"version": "1.1.4",
|
||||
"description": "Map of web namespaces",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"web",
|
||||
"platform",
|
||||
"namespace",
|
||||
"namespaces",
|
||||
"whatwg",
|
||||
"w3c"
|
||||
],
|
||||
"repository": "wooorm/web-namespaces",
|
||||
"bugs": "https://github.com/wooorm/web-namespaces/issues",
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/wooorm"
|
||||
},
|
||||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
||||
"contributors": [
|
||||
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
||||
],
|
||||
"main": "index.json",
|
||||
"files": [
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
79
node_modules/web-namespaces/readme.md
generated
vendored
Normal file
79
node_modules/web-namespaces/readme.md
generated
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
# web-namespaces
|
||||
|
||||
[![Build][build-badge]][build]
|
||||
[![Downloads][downloads-badge]][downloads]
|
||||
[![Size][size-badge]][size]
|
||||
|
||||
Map of web namespaces.
|
||||
|
||||
## Install
|
||||
|
||||
[npm][]:
|
||||
|
||||
```sh
|
||||
npm install web-namespaces
|
||||
```
|
||||
|
||||
## Use
|
||||
|
||||
```js
|
||||
var webNamespaces = require('web-namespaces')
|
||||
|
||||
console.log(webNamespaces)
|
||||
```
|
||||
|
||||
Yields:
|
||||
|
||||
```js
|
||||
{ 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
|
||||
|
||||
* [`html-tag-names`](https://github.com/wooorm/html-tag-names)
|
||||
— List of HTML tags
|
||||
* [`mathml-tag-names`](https://github.com/wooorm/mathml-tag-names)
|
||||
— List of MathML tags
|
||||
* [`svg-tag-names`](https://github.com/wooorm/svg-tag-names)
|
||||
— List of SVG tags
|
||||
* [`svg-element-attributes`](https://github.com/wooorm/svg-element-attributes)
|
||||
— Map of SVG elements to allowed attributes
|
||||
* [`html-element-attributes`](https://github.com/wooorm/html-element-attributes)
|
||||
— Map of HTML elements to allowed attributes
|
||||
* [`aria-attributes`](https://github.com/wooorm/aria-attributes)
|
||||
— List of ARIA attributes
|
||||
|
||||
## License
|
||||
|
||||
[MIT][license] © [Titus Wormer][author]
|
||||
|
||||
<!-- Definition -->
|
||||
|
||||
[build-badge]: https://img.shields.io/travis/wooorm/web-namespaces.svg
|
||||
|
||||
[build]: https://travis-ci.org/wooorm/web-namespaces
|
||||
|
||||
[downloads-badge]: https://img.shields.io/npm/dm/web-namespaces.svg
|
||||
|
||||
[downloads]: https://www.npmjs.com/package/web-namespaces
|
||||
|
||||
[size-badge]: https://img.shields.io/bundlephobia/minzip/web-namespaces.svg
|
||||
|
||||
[size]: https://bundlephobia.com/result?p=web-namespaces
|
||||
|
||||
[npm]: https://docs.npmjs.com/cli/install
|
||||
|
||||
[license]: license
|
||||
|
||||
[author]: https://wooorm.com
|
||||
Reference in New Issue
Block a user