Easier loading from non CoffeeScript projects

This commit is contained in:
Devon Govett 2011-08-16 21:07:07 -04:00
parent 927c5d769b
commit 1812f90281
2 changed files with 4 additions and 2 deletions

3
index.js Normal file
View File

@ -0,0 +1,3 @@
// Load CoffeeScript, and the main PDFKit files
require('coffee-script');
module.exports = require('./lib/document');

View File

@ -2,7 +2,7 @@
"name": "pdfkit",
"description": "A PDF generation library for Node.js",
"keywords": ["pdf", "pdf writer", "pdf generator", "graphics", "document", "vector"],
"version": "0.1.3",
"version": "0.1.4",
"homepage": "http://devongovett.github.com/pdfkit/",
"author": {
"name": "Devon Govett",
@ -22,6 +22,5 @@
"coffee-script": ">=1.0.1",
"zlib": ">=1.0.2"
},
"main": "./lib/document.coffee",
"engine": [ "node >= v0.4.0" ]
}