{
  "_args": [
    [
      {
        "raw": "pdfkitjs@0.0.5",
        "scope": null,
        "escapedName": "pdfkitjs",
        "name": "pdfkitjs",
        "rawSpec": "0.0.5",
        "spec": "0.0.5",
        "type": "version"
      },
      "/var/apps/truehomereview"
    ]
  ],
  "_from": "pdfkitjs@0.0.5",
  "_id": "pdfkitjs@0.0.5",
  "_inCache": true,
  "_location": "/pdfkitjs",
  "_npmUser": {
    "name": "loicmahieu",
    "email": "mahieuloic@gmail.com"
  },
  "_npmVersion": "1.3.2",
  "_phantomChildren": {},
  "_requested": {
    "raw": "pdfkitjs@0.0.5",
    "scope": null,
    "escapedName": "pdfkitjs",
    "name": "pdfkitjs",
    "rawSpec": "0.0.5",
    "spec": "0.0.5",
    "type": "version"
  },
  "_requiredBy": [
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/pdfkitjs/-/pdfkitjs-0.0.5.tgz",
  "_shasum": "50d00cacba67064a3074a012cd2fb9d6ef828cd2",
  "_shrinkwrap": null,
  "_spec": "pdfkitjs@0.0.5",
  "_where": "/var/apps/truehomereview",
  "bugs": {
    "url": "https://github.com/LoicMahieu/pdfkitjs/issues"
  },
  "dependencies": {
    "lodash": "~2.0.0",
    "temporary": "0.0.6"
  },
  "description": "HTML+CSS to PDF in Node.JS",
  "devDependencies": {
    "chai": "~1.7.2",
    "jshint": "~2.1.10",
    "mkdirp": "~0.3.5",
    "mocha": "~1.13.0",
    "semver": "~2.1.0"
  },
  "directories": {},
  "dist": {
    "shasum": "50d00cacba67064a3074a012cd2fb9d6ef828cd2",
    "tarball": "https://registry.npmjs.org/pdfkitjs/-/pdfkitjs-0.0.5.tgz"
  },
  "homepage": "https://github.com/LoicMahieu/pdfkitjs",
  "keyswords": [
    "pdf",
    "html",
    "wkhtmltopdf"
  ],
  "maintainers": [
    {
      "name": "loicmahieu",
      "email": "mahieuloic@gmail.com"
    }
  ],
  "name": "pdfkitjs",
  "optionalDependencies": {},
  "readme": "# PDFKitJs\n\nCreate PDFs using plain old HTML+CSS. Uses [wkhtmltopdf](https://github.com/antialize/wkhtmltopdf) on the back-end which renders HTML using Webkit.\n\nHightly inspired by [PDFKit](https://github.com/pdfkit/pdfkit) written in Ruby\n\n## Install\n\n### PDFKit\n```bash\nnpm install pdfkit\n```\n### wkhtmltopdf\n\n<https://github.com/pdfkit/pdfkit/wiki/Installing-WKHTMLTOPDF>\n\n## Usage\n```js\n// PDFKit support multiples types (url, file, html) and any options for wkhtmltopdf\n// run `wkhtmltopdf --extended-help` for a full list of options\nvar PDFKit = require('pdfkitjs');\n\npdf = new PDFKit('url', 'http://google.com');\n\npdf.toFile('google.pdf', function (err, file) {\n  console.log('File ' + file + ' written');\n});\n```\n\n## API\n\n### PDFKit(type, url_file_or_html[, options[, spawnOptions[, logger]]])\n\n`options` : Object corresponding on wkhtmltopdf arguments. run `wkhtmltopdf --extended-help` for a full list of options\n\n`spawnOptions` : Options passed to [`child_process.spawn`](http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options) except `exec` who is the path to the wkhtmltopdf binary. (Default: `wkhtmltopdf`)\n\n* `url`\n```js\nnew PDFKit('url', 'http://google.com')\n```\n\n* `file`\n```js\nnew PDFKit('file', 'path/to/some.html')\n```\n\n* `html`\n```js\nnew PDFKit('html', '<h1>Hello</h1>')\n```\n\n\n### Logger\n\nYou can pass a logger object that implemnts `log`, `warn`, `debug` methods. Default logger:\n```js\nvar baseLogger = {\n  log: console.log,\n  warn: console.warn,\n  debug: console.log\n};\n```\n\nTo silent all logs, you can pass `false`.\n\n\n### Output\n\nTODO\n\n\n## Copyright\n\nCopyright (c) 2010 Loïc Mahieu.\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/LoicMahieu/pdfkitjs.git"
  },
  "version": "0.0.5"
}
