patent-xml-generator 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +167 -0
- package/dist/generator.d.ts +46 -0
- package/dist/generator.js +246 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -0
- package/dist/types.d.ts +95 -0
- package/dist/types.js +2 -0
- package/dist/xml-utils.d.ts +31 -0
- package/dist/xml-utils.js +95 -0
- package/dtd/cn-application-body.dtd +1778 -0
- package/package.json +36 -0
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "patent-xml-generator",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "将专利申请内容转为符合CNIPA DTD标准的XML文件",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"dtd"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "tsc",
|
|
13
|
+
"test": "ts-node examples/basic.ts",
|
|
14
|
+
"lint": "tsc --noEmit"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"patent",
|
|
18
|
+
"xml",
|
|
19
|
+
"cnipa",
|
|
20
|
+
"知识产权",
|
|
21
|
+
"专利",
|
|
22
|
+
"专利申请"
|
|
23
|
+
],
|
|
24
|
+
"author": "CNIPA.AI <dev@cnipa.ai>",
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/CNIPA-AI/patent-xml-generator"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://cnipa.ai",
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"typescript": "^5.4.0",
|
|
33
|
+
"ts-node": "^10.9.0",
|
|
34
|
+
"@types/node": "^20.0.0"
|
|
35
|
+
}
|
|
36
|
+
}
|