1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
| {
| "_args": [
| [
| "entities@4.5.0",
| "C:\\Users\\hp\\Desktop\\gitzhongyi"
| ]
| ],
| "_development": true,
| "_from": "entities@4.5.0",
| "_id": "entities@4.5.0",
| "_inBundle": false,
| "_integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
| "_location": "/entities",
| "_phantomChildren": {},
| "_requested": {
| "type": "version",
| "registry": true,
| "raw": "entities@4.5.0",
| "name": "entities",
| "escapedName": "entities",
| "rawSpec": "4.5.0",
| "saveSpec": null,
| "fetchSpec": "4.5.0"
| },
| "_requiredBy": [
| "/@vue/compiler-core"
| ],
| "_resolved": "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz",
| "_spec": "4.5.0",
| "_where": "C:\\Users\\hp\\Desktop\\gitzhongyi",
| "author": {
| "name": "Felix Boehm",
| "email": "me@feedic.com"
| },
| "bugs": {
| "url": "https://github.com/fb55/entities/issues"
| },
| "description": "Encode & decode XML and HTML entities with ease & speed",
| "devDependencies": {
| "@types/jest": "^28.1.8",
| "@types/node": "^18.15.11",
| "@typescript-eslint/eslint-plugin": "^5.58.0",
| "@typescript-eslint/parser": "^5.58.0",
| "eslint": "^8.38.0",
| "eslint-config-prettier": "^8.8.0",
| "eslint-plugin-node": "^11.1.0",
| "jest": "^28.1.3",
| "prettier": "^2.8.7",
| "ts-jest": "^28.0.8",
| "typedoc": "^0.24.1",
| "typescript": "^5.0.4"
| },
| "directories": {
| "lib": "lib/"
| },
| "engines": {
| "node": ">=0.12"
| },
| "exports": {
| ".": {
| "require": "./lib/index.js",
| "import": "./lib/esm/index.js"
| },
| "./lib/decode.js": {
| "require": "./lib/decode.js",
| "import": "./lib/esm/decode.js"
| },
| "./lib/escape.js": {
| "require": "./lib/escape.js",
| "import": "./lib/esm/escape.js"
| }
| },
| "files": [
| "lib/**/*"
| ],
| "funding": "https://github.com/fb55/entities?sponsor=1",
| "homepage": "https://github.com/fb55/entities#readme",
| "jest": {
| "preset": "ts-jest",
| "coverageProvider": "v8",
| "moduleNameMapper": {
| "^(.*)\\.js$": "$1"
| }
| },
| "keywords": [
| "entity",
| "decoding",
| "encoding",
| "html",
| "xml",
| "html entities"
| ],
| "license": "BSD-2-Clause",
| "main": "lib/index.js",
| "module": "lib/esm/index.js",
| "name": "entities",
| "prettier": {
| "tabWidth": 4,
| "proseWrap": "always"
| },
| "repository": {
| "type": "git",
| "url": "git://github.com/fb55/entities.git"
| },
| "scripts": {
| "build": "npm run build:cjs && npm run build:esm",
| "build:cjs": "tsc --sourceRoot https://raw.githubusercontent.com/fb55/entities/$(git rev-parse HEAD)/src/",
| "build:docs": "typedoc --hideGenerator src/index.ts",
| "build:encode-trie": "ts-node scripts/write-encode-map.ts",
| "build:esm": "npm run build:cjs -- --module esnext --target es2019 --outDir lib/esm && echo '{\"type\":\"module\"}' > lib/esm/package.json",
| "build:trie": "ts-node scripts/write-decode-map.ts",
| "format": "npm run format:es && npm run format:prettier",
| "format:es": "npm run lint:es -- --fix",
| "format:prettier": "npm run prettier -- --write",
| "lint": "npm run lint:es && npm run lint:prettier",
| "lint:es": "eslint .",
| "lint:prettier": "npm run prettier -- --check",
| "prepare": "npm run build",
| "prettier": "prettier '**/*.{ts,md,json,yml}'",
| "test": "npm run test:jest && npm run lint",
| "test:jest": "jest"
| },
| "sideEffects": false,
| "types": "lib/index.d.ts",
| "version": "4.5.0"
| }
|
|