pdfkit/package.json
Devon Govett ef6578a486 Rewrite the line wrapper to use an implementation of the Unicode Line Breaking Algorithm
Should solve a huge number of issues. The regular express based word matching from before was not good. It was overzealous and caused the most bugs of anything in the project. It also didn't work at all for languages like Chinese which don't have spaces between words.

The new wrapping algorithm supports all of this. It is a separate module at http://github.com/devongovett/linebreak.
2014-02-16 02:00:18 -08:00

40 lines
860 B
JSON

{
"name": "pdfkit",
"description": "A PDF generation library for Node.js",
"keywords": [
"pdf",
"pdf writer",
"pdf generator",
"graphics",
"document",
"vector"
],
"version": "0.2.8",
"homepage": "http://pdfkit.org/",
"author": {
"name": "Devon Govett",
"email": "devongovett@gmail.com",
"url": "http://badassjs.com/"
},
"repository": {
"type": "git",
"url": "https://github.com/devongovett/pdfkit.git"
},
"bugs": "http://github.com/devongovett/pdfkit/issues",
"devDependencies": {
"coffee-script": ">=1.0.1"
},
"dependencies": {
"png-js": ">=0.1.0",
"linebreak": "~0.1.0"
},
"scripts": {
"prepublish": "coffee -o js -c lib/ && cp -r lib/font/data js/font/data",
"postpublish": "rm -rf ./js"
},
"main": "./js/document",
"engine": [
"node >= v0.6.0"
]
}