WIP - add extractor, generate snippet_data
This commit is contained in:
2224
node_modules/character-entities/index.json
generated
vendored
Normal file
2224
node_modules/character-entities/index.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
22
node_modules/character-entities/license
generated
vendored
Normal file
22
node_modules/character-entities/license
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) 2015 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.
|
||||
106
node_modules/character-entities/package.json
generated
vendored
Normal file
106
node_modules/character-entities/package.json
generated
vendored
Normal file
@ -0,0 +1,106 @@
|
||||
{
|
||||
"_from": "character-entities@^1.0.0",
|
||||
"_id": "character-entities@1.2.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-yB4oYSAa9yLcGyTbB4ItFwHw43QHdH129IJ5R+WvxOkWlyFnR5FAaBNnUq4mcxsTVZGh28bHoeTHMKXH1wZf3w==",
|
||||
"_location": "/character-entities",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "character-entities@^1.0.0",
|
||||
"name": "character-entities",
|
||||
"escapedName": "character-entities",
|
||||
"rawSpec": "^1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/parse-entities"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.3.tgz",
|
||||
"_shasum": "bbed4a52fe7ef98cc713c6d80d9faa26916d54e6",
|
||||
"_spec": "character-entities@^1.0.0",
|
||||
"_where": "/Users/stefanfejes/Projects/30-seconds-of-python-code/node_modules/parse-entities",
|
||||
"author": {
|
||||
"name": "Titus Wormer",
|
||||
"email": "tituswormer@gmail.com",
|
||||
"url": "https://wooorm.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/wooorm/character-entities/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Titus Wormer",
|
||||
"email": "tituswormer@gmail.com",
|
||||
"url": "https://wooorm.com"
|
||||
}
|
||||
],
|
||||
"dependencies": {},
|
||||
"deprecated": false,
|
||||
"description": "HTML character entity information",
|
||||
"devDependencies": {
|
||||
"bail": "^1.0.1",
|
||||
"browserify": "^16.0.0",
|
||||
"concat-stream": "^2.0.0",
|
||||
"prettier": "^1.12.0",
|
||||
"remark-cli": "^6.0.0",
|
||||
"remark-preset-wooorm": "^4.0.0",
|
||||
"tape": "^4.0.0",
|
||||
"tinyify": "^2.5.0",
|
||||
"xo": "^0.24.0"
|
||||
},
|
||||
"files": [
|
||||
"index.json"
|
||||
],
|
||||
"homepage": "https://github.com/wooorm/character-entities#readme",
|
||||
"keywords": [
|
||||
"html",
|
||||
"entity",
|
||||
"entities",
|
||||
"character",
|
||||
"reference",
|
||||
"name",
|
||||
"replacement"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.json",
|
||||
"name": "character-entities",
|
||||
"prettier": {
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"singleQuote": true,
|
||||
"bracketSpacing": false,
|
||||
"semi": false,
|
||||
"trailingComma": "none"
|
||||
},
|
||||
"remarkConfig": {
|
||||
"plugins": [
|
||||
"preset-wooorm"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/wooorm/character-entities.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run build-bundle && npm run build-mangle",
|
||||
"build-bundle": "browserify index.json -s characterEntities -o character-entities.js",
|
||||
"build-mangle": "browserify index.json -s characterEntities -p tinyify -o character-entities.min.js",
|
||||
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
|
||||
"generate": "node build",
|
||||
"lint": "xo",
|
||||
"test": "npm run generate && npm run format && npm run build && npm run test-api",
|
||||
"test-api": "node test"
|
||||
},
|
||||
"version": "1.2.3",
|
||||
"xo": {
|
||||
"prettier": true,
|
||||
"esnext": false,
|
||||
"ignores": [
|
||||
"character-entities.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
72
node_modules/character-entities/readme.md
generated
vendored
Normal file
72
node_modules/character-entities/readme.md
generated
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
# character-entities
|
||||
|
||||
[![Build][build-badge]][build]
|
||||
[![Downloads][downloads-badge]][downloads]
|
||||
[![Size][size-badge]][size]
|
||||
|
||||
HTML character entity information.
|
||||
|
||||
## Installation
|
||||
|
||||
[npm][]:
|
||||
|
||||
```bash
|
||||
npm install character-entities
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var characterEntities = require('character-entities')
|
||||
|
||||
console.log(characterEntities.AElig) // => 'Æ'
|
||||
console.log(characterEntities.aelig) // => 'æ'
|
||||
console.log(characterEntities.amp) // => '&'
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### characterEntities
|
||||
|
||||
Mapping between (case-sensitive) character entity names to replacements.
|
||||
|
||||
## Support
|
||||
|
||||
See [html.spec.whatwg.org][html].
|
||||
|
||||
## Related
|
||||
|
||||
* [`character-entities-html4`](https://github.com/wooorm/character-entities-html4)
|
||||
— HTML 4 character entity info
|
||||
* [`character-entities-legacy`](https://github.com/wooorm/character-entities-legacy)
|
||||
— Legacy character entity info
|
||||
* [`parse-entities`](https://github.com/wooorm/parse-entities)
|
||||
— Parse HTML character references
|
||||
* [`stringify-entities`](https://github.com/wooorm/stringify-entities)
|
||||
— Stringify HTML character references
|
||||
|
||||
## License
|
||||
|
||||
[MIT][license] © [Titus Wormer][author]
|
||||
|
||||
<!-- Definitions -->
|
||||
|
||||
[build-badge]: https://img.shields.io/travis/wooorm/character-entities.svg
|
||||
|
||||
[build]: https://travis-ci.org/wooorm/character-entities
|
||||
|
||||
[downloads-badge]: https://img.shields.io/npm/dm/character-entities.svg
|
||||
|
||||
[downloads]: https://www.npmjs.com/package/character-entities
|
||||
|
||||
[size-badge]: https://img.shields.io/bundlephobia/minzip/character-entities.svg
|
||||
|
||||
[size]: https://bundlephobia.com/result?p=character-entities
|
||||
|
||||
[npm]: https://docs.npmjs.com/cli/install
|
||||
|
||||
[license]: license
|
||||
|
||||
[author]: https://wooorm.com
|
||||
|
||||
[html]: https://html.spec.whatwg.org/multipage/syntax.html#named-character-references
|
||||
Reference in New Issue
Block a user