pdfkit 0.10.0 → 0.11.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/CHANGELOG.md +39 -27
- package/LICENSE +7 -7
- package/README.md +181 -175
- package/js/data/Courier-Bold.afm +342 -342
- package/js/data/Courier-BoldOblique.afm +342 -342
- package/js/data/Courier-Oblique.afm +342 -342
- package/js/data/Courier.afm +342 -342
- package/js/data/Helvetica-Bold.afm +2827 -2827
- package/js/data/Helvetica-BoldOblique.afm +2827 -2827
- package/js/data/Helvetica-Oblique.afm +3051 -3051
- package/js/data/Helvetica.afm +3051 -3051
- package/js/data/Symbol.afm +213 -213
- package/js/data/Times-Bold.afm +2588 -2588
- package/js/data/Times-BoldItalic.afm +2384 -2384
- package/js/data/Times-Italic.afm +2667 -2667
- package/js/data/Times-Roman.afm +2419 -2419
- package/js/data/ZapfDingbats.afm +225 -225
- package/js/pdfkit.es5.js +574 -96
- package/js/pdfkit.es5.js.map +1 -1
- package/js/pdfkit.esnext.js +660 -255
- package/js/pdfkit.esnext.js.map +1 -1
- package/js/pdfkit.js +588 -119
- package/js/pdfkit.js.map +1 -1
- package/js/pdfkit.standalone.js +13183 -16170
- package/package.json +85 -85
package/package.json
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pdfkit",
|
|
3
|
-
"description": "A PDF generation library for Node.js",
|
|
4
|
-
"keywords": [
|
|
5
|
-
"pdf",
|
|
6
|
-
"pdf writer",
|
|
7
|
-
"pdf generator",
|
|
8
|
-
"graphics",
|
|
9
|
-
"document",
|
|
10
|
-
"vector"
|
|
11
|
-
],
|
|
12
|
-
"version": "0.
|
|
13
|
-
"homepage": "http://pdfkit.org/",
|
|
14
|
-
"author": {
|
|
15
|
-
"name": "Devon Govett",
|
|
16
|
-
"email": "devongovett@gmail.com",
|
|
17
|
-
"url": "http://badassjs.com/"
|
|
18
|
-
},
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "https://github.com/foliojs/pdfkit.git"
|
|
23
|
-
},
|
|
24
|
-
"bugs": "https://github.com/foliojs/pdfkit/issues",
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@babel/core": "^7.
|
|
27
|
-
"@babel/plugin-external-helpers": "^7.0.0",
|
|
28
|
-
"@babel/preset-env": "^7.
|
|
29
|
-
"babel-jest": "^24.
|
|
30
|
-
"blob-stream": "^0.1.2",
|
|
31
|
-
"brace": "^0.
|
|
32
|
-
"brfs": "~2.0.
|
|
33
|
-
"browserify": "^16.
|
|
34
|
-
"codemirror": "~
|
|
35
|
-
"eslint": "^
|
|
36
|
-
"iconv-lite": "^0.
|
|
37
|
-
"jest": "^24.
|
|
38
|
-
"markdown": "~0.5.0",
|
|
39
|
-
"prettier": "1.
|
|
40
|
-
"pug": "^2.0.
|
|
41
|
-
"rollup": "^1.
|
|
42
|
-
"rollup-plugin-babel": "^4.
|
|
43
|
-
"rollup-plugin-cpy": "^
|
|
44
|
-
},
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"crypto-js": "^3.1.9-1",
|
|
47
|
-
"fontkit": "^1.
|
|
48
|
-
"linebreak": "^0.
|
|
49
|
-
"png-js": "
|
|
50
|
-
},
|
|
51
|
-
"scripts": {
|
|
52
|
-
"prepublishOnly": "npm run build",
|
|
53
|
-
"build": "rollup -c && browserify --standalone PDFDocument js/pdfkit.js > js/pdfkit.standalone.js",
|
|
54
|
-
"demo": "cd demo && node test.js",
|
|
55
|
-
"browser-demo": "browserify demo/browser.js > demo/bundle.js",
|
|
56
|
-
"pdf-guide": "node docs/generate.js",
|
|
57
|
-
"website": "node docs/generate_website.js",
|
|
58
|
-
"docs": "npm run pdf-guide && npm run website && npm run browser-demo",
|
|
59
|
-
"prettier": "prettier {lib,tests,demo,docs}/**/*.js",
|
|
60
|
-
"test": "jest -i",
|
|
61
|
-
"test:integration": "jest integration/ -i",
|
|
62
|
-
"test:unit": "jest unit/
|
|
63
|
-
},
|
|
64
|
-
"main": "js/pdfkit.js",
|
|
65
|
-
"module": "js/pdfkit.es5.js",
|
|
66
|
-
"esnext": "js/pdfkit.esnext.js",
|
|
67
|
-
"browserify": {
|
|
68
|
-
"transform": [
|
|
69
|
-
"brfs"
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
"engine": [
|
|
73
|
-
"node >= v6.0.0"
|
|
74
|
-
],
|
|
75
|
-
"jest": {
|
|
76
|
-
"testPathIgnorePatterns": [
|
|
77
|
-
"/node_modules/",
|
|
78
|
-
"<rootDir>/demo/"
|
|
79
|
-
],
|
|
80
|
-
"testURL": "http://localhost/",
|
|
81
|
-
"setupFilesAfterEnv": [
|
|
82
|
-
"<rootDir>/tests/unit/setupTests.js"
|
|
83
|
-
]
|
|
84
|
-
}
|
|
85
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "pdfkit",
|
|
3
|
+
"description": "A PDF generation library for Node.js",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"pdf",
|
|
6
|
+
"pdf writer",
|
|
7
|
+
"pdf generator",
|
|
8
|
+
"graphics",
|
|
9
|
+
"document",
|
|
10
|
+
"vector"
|
|
11
|
+
],
|
|
12
|
+
"version": "0.11.0",
|
|
13
|
+
"homepage": "http://pdfkit.org/",
|
|
14
|
+
"author": {
|
|
15
|
+
"name": "Devon Govett",
|
|
16
|
+
"email": "devongovett@gmail.com",
|
|
17
|
+
"url": "http://badassjs.com/"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/foliojs/pdfkit.git"
|
|
23
|
+
},
|
|
24
|
+
"bugs": "https://github.com/foliojs/pdfkit/issues",
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@babel/core": "^7.7.2",
|
|
27
|
+
"@babel/plugin-external-helpers": "^7.0.0",
|
|
28
|
+
"@babel/preset-env": "^7.7.1",
|
|
29
|
+
"babel-jest": "^24.9.0",
|
|
30
|
+
"blob-stream": "^0.1.2",
|
|
31
|
+
"brace": "^0.11.1",
|
|
32
|
+
"brfs": "~2.0.2",
|
|
33
|
+
"browserify": "^16.5.0",
|
|
34
|
+
"codemirror": "~5.49.2",
|
|
35
|
+
"eslint": "^6.6.0",
|
|
36
|
+
"iconv-lite": "^0.5.0",
|
|
37
|
+
"jest": "^24.9.0",
|
|
38
|
+
"markdown": "~0.5.0",
|
|
39
|
+
"prettier": "1.19.1",
|
|
40
|
+
"pug": "^2.0.4",
|
|
41
|
+
"rollup": "^1.27.0",
|
|
42
|
+
"rollup-plugin-babel": "^4.3.3",
|
|
43
|
+
"rollup-plugin-cpy": "^2.0.1"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"crypto-js": "^3.1.9-1",
|
|
47
|
+
"fontkit": "^1.8.0",
|
|
48
|
+
"linebreak": "^1.0.2",
|
|
49
|
+
"png-js": "^1.0.0"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"prepublishOnly": "npm run build",
|
|
53
|
+
"build": "rollup -c && browserify --standalone PDFDocument --ignore iconv-lite js/pdfkit.js > js/pdfkit.standalone.js",
|
|
54
|
+
"demo": "cd demo && node test.js",
|
|
55
|
+
"browser-demo": "browserify demo/browser.js > demo/bundle.js",
|
|
56
|
+
"pdf-guide": "node docs/generate.js",
|
|
57
|
+
"website": "node docs/generate_website.js",
|
|
58
|
+
"docs": "npm run pdf-guide && npm run website && npm run browser-demo",
|
|
59
|
+
"prettier": "prettier {lib,tests,demo,docs}/**/*.js",
|
|
60
|
+
"test": "jest -i",
|
|
61
|
+
"test:integration": "jest integration/ -i",
|
|
62
|
+
"test:unit": "jest unit/"
|
|
63
|
+
},
|
|
64
|
+
"main": "js/pdfkit.js",
|
|
65
|
+
"module": "js/pdfkit.es5.js",
|
|
66
|
+
"esnext": "js/pdfkit.esnext.js",
|
|
67
|
+
"browserify": {
|
|
68
|
+
"transform": [
|
|
69
|
+
"brfs"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"engine": [
|
|
73
|
+
"node >= v6.0.0"
|
|
74
|
+
],
|
|
75
|
+
"jest": {
|
|
76
|
+
"testPathIgnorePatterns": [
|
|
77
|
+
"/node_modules/",
|
|
78
|
+
"<rootDir>/demo/"
|
|
79
|
+
],
|
|
80
|
+
"testURL": "http://localhost/",
|
|
81
|
+
"setupFilesAfterEnv": [
|
|
82
|
+
"<rootDir>/tests/unit/setupTests.js"
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
}
|