{"_id":"invoice-pdf","_rev":"27-88b0ff8a0f1d3d7d0670a4bb7f75de49","name":"invoice-pdf","description":"Create a stripe invoice pdf from a jade template","dist-tags":{"latest":"0.0.11"},"versions":{"0.0.1":{"name":"invoice-pdf","version":"0.0.1","description":"Create a stripe invoice pdf from a jade template","keywords":["stripe","invoice","pdf","jade","storify"],"author":{"name":"Philmod","email":"philmod@storify.com"},"homepage":"https://github.com/storify/invoice-pdf","engines":{"node":">= v0.8.0"},"dependencies":{"jade":"0.28.2","phantom":"git@github.com:sgentle/phantomjs-node.git","async":"0.2.9","moment":"2.0.0"},"devDependencies":{"should":"","mocha":""},"scripts":{"test":"make test"},"main":"index","repository":{"type":"git","url":"git://github.com/storify/invoice-pdf.git"},"gitHead":"0c70988cb8e284aeff0ce07402ba5dfd9f6aba75","directories":{"test":"test"},"license":"BSD","_id":"invoice-pdf@0.0.1","dist":{"shasum":"f4980619676e10088397e927eb400890a37dd092","tarball":"https://registry.npmjs.org/invoice-pdf/-/invoice-pdf-0.0.1.tgz","integrity":"sha512-hu69U0mbUb87lYPUD1cK876SOpR+m9XZXc58bZLSaTUQCA4EncGEib9CCzzIWeXbYjYjpjzaaHSIq+tL8Z0Iwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcboMeMzBp5qhktYDu7pOGqz64jU1Q1ARQSUwDwZSSTwIhAIaNE6esbux9MAkvBjpT9Y+7v2iG/pHfImvcT58pTv7v"}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"storify","email":"philippe.modard@gmail.com"},"maintainers":[{"name":"storify","email":"philippe.modard@gmail.com"}]},"0.0.2":{"name":"invoice-pdf","version":"0.0.2","description":"Create a stripe invoice pdf from a jade template","keywords":["stripe","invoice","pdf","jade","storify"],"author":{"name":"Philmod","email":"philmod@storify.com"},"homepage":"https://github.com/storify/invoice-pdf","engines":{"node":">= v0.8.0"},"dependencies":{"jade":"0.28.2","phantom":"https://github.com/sgentle/phantomjs-node.git","async":"0.2.9","moment":"2.0.0"},"devDependencies":{"should":"","mocha":""},"scripts":{"test":"make test"},"main":"index","repository":{"type":"git","url":"git://github.com/storify/invoice-pdf.git"},"gitHead":"0c70988cb8e284aeff0ce07402ba5dfd9f6aba75","directories":{"test":"test"},"license":"BSD","_id":"invoice-pdf@0.0.2","dist":{"shasum":"85b8a1dcb98f93eb769e6c1a49fb8c2835fbfa23","tarball":"https://registry.npmjs.org/invoice-pdf/-/invoice-pdf-0.0.2.tgz","integrity":"sha512-Y1q+lGF9vhAJjHql3AoURaZQvUejx03nQ25kaEZzLmL+cIWudavrp49r3Ewko1dMYkoEmv6TUZuofND7MhSS1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4LTVD5GoNHAoS8QL4pDtFU+rYg7VbhEOr0Kb9sXdzcQIgEHft3zTJAI2iWFZPuDEMLHRggrFjP0T/ws9a6Erph5U="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"storify","email":"philippe.modard@gmail.com"},"maintainers":[{"name":"storify","email":"philippe.modard@gmail.com"},{"name":"philmod","email":"philippe.modard@gmail.com"}]},"0.0.3":{"name":"invoice-pdf","version":"0.0.3","description":"Create a stripe invoice pdf from a jade template","keywords":["stripe","invoice","pdf","jade","storify"],"author":{"name":"Philmod","email":"philmod@storify.com"},"homepage":"https://github.com/storify/invoice-pdf","engines":{"node":">= v0.8.0"},"dependencies":{"jade":"0.28.2","phantom":"git://github.com/sgentle/phantomjs-node.git","async":"0.2.9","moment":"2.0.0"},"devDependencies":{"should":"","mocha":""},"scripts":{"test":"make test"},"main":"index","repository":{"type":"git","url":"git://github.com/storify/invoice-pdf.git"},"gitHead":"0c70988cb8e284aeff0ce07402ba5dfd9f6aba75","directories":{"test":"test"},"license":"BSD","_id":"invoice-pdf@0.0.3","dist":{"shasum":"763598527786a1a346fa0dc1ffe8a3a5f588b913","tarball":"https://registry.npmjs.org/invoice-pdf/-/invoice-pdf-0.0.3.tgz","integrity":"sha512-TQaHNSJnKnL25m/BFR6uBwDHB/a2Ak8MeABO56zv0WAaZhaTqFEt3wBgwl+IKi/bzYP+Lk+elmrDLhDdFkWY5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCP6G693S3DalADsyoJ3NMUU3gFE7hauhCtClxG2gpMlAIgGGgi1oVs2CCHoTRqh+QlSgJLKQk5q4tsgRenIILTspU="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"storify","email":"philippe.modard@gmail.com"},"maintainers":[{"name":"storify","email":"philippe.modard@gmail.com"},{"name":"philmod","email":"philippe.modard@gmail.com"}]},"0.0.4":{"name":"invoice-pdf","version":"0.0.4","description":"Create a stripe invoice pdf from a jade template","keywords":["stripe","invoice","pdf","jade","storify"],"author":{"name":"Philmod","email":"philmod@storify.com"},"homepage":"https://github.com/storify/invoice-pdf","engines":{"node":">= v0.8.0"},"dependencies":{"jade":"0.28.2","phantom":"git://github.com/sgentle/phantomjs-node.git","async":"0.2.9","moment":"2.0.0"},"devDependencies":{"should":"","mocha":""},"scripts":{"test":"make test"},"main":"index","repository":{"type":"git","url":"git://github.com/storify/invoice-pdf.git"},"gitHead":"0c70988cb8e284aeff0ce07402ba5dfd9f6aba75","directories":{"test":"test"},"license":"BSD","_id":"invoice-pdf@0.0.4","dist":{"shasum":"c6d499c8fd9eff8287267ed7f5749b2dbd8b27c5","tarball":"https://registry.npmjs.org/invoice-pdf/-/invoice-pdf-0.0.4.tgz","integrity":"sha512-onUn46Rki+k8cMA4S1BVr/m7LS+aJpNd3z5U9bW1nxZMsDgR/JZbVzZASJWezja1Jc+P5pcsUuhn5S3cu0e4Dg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaBVYe03PblnuxupAXgiaBOdqNyV7RarliG6/+meSuxAIhAI8GEnYzyCA0MSpsnaxHDmrsPa9yDiu52yLN+qnt35cJ"}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"storify","email":"philippe.modard@gmail.com"},"maintainers":[{"name":"storify","email":"philippe.modard@gmail.com"},{"name":"philmod","email":"philippe.modard@gmail.com"}]},"0.0.5":{"name":"invoice-pdf","version":"0.0.5","description":"Create a stripe invoice pdf from a jade template","keywords":["stripe","invoice","pdf","jade","storify"],"author":{"name":"Philmod","email":"philmod@storify.com"},"homepage":"https://github.com/storify/invoice-pdf","engines":{"node":">= v0.8.0"},"dependencies":{"jade":"0.28.2","phantom":"git://github.com/sgentle/phantomjs-node.git","async":"0.2.9","moment":"2.0.0"},"devDependencies":{"should":"","mocha":""},"scripts":{"test":"make test"},"main":"index","repository":{"type":"git","url":"git://github.com/storify/invoice-pdf.git"},"gitHead":"0c70988cb8e284aeff0ce07402ba5dfd9f6aba75","directories":{"test":"test"},"license":"BSD","_id":"invoice-pdf@0.0.5","dist":{"shasum":"ad0b75ca88693efd314f65d357a3690ad4542c9c","tarball":"https://registry.npmjs.org/invoice-pdf/-/invoice-pdf-0.0.5.tgz","integrity":"sha512-Orb3LozvdOUo2ymHGTtkCUiL64Gtli3LecQHnp9SzS5RmHusFkuc9CXDt+TK+gUeZ7FwcbSJiOkdaY0O9HIk2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvkQYYPL1vR76pJvSculccwNU8lktBZ6js9uBkP0V+PQIgUEkxHR9RFnNVlUq8wbbaditt2+qyxOYbjIda7kjIF7A="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"storify","email":"philippe.modard@gmail.com"},"maintainers":[{"name":"storify","email":"philippe.modard@gmail.com"},{"name":"philmod","email":"philippe.modard@gmail.com"}]},"0.0.6":{"name":"invoice-pdf","version":"0.0.6","description":"Create a stripe invoice pdf from a jade template","keywords":["stripe","invoice","pdf","jade","storify"],"author":{"name":"Philmod","email":"philmod@storify.com"},"homepage":"https://github.com/storify/invoice-pdf","engines":{"node":">= v0.8.0"},"dependencies":{"jade":"0.28.2","phantom":"git://github.com/sgentle/phantomjs-node.git","async":"0.2.9","moment":"2.0.0"},"devDependencies":{"should":"","mocha":""},"scripts":{"test":"make test"},"main":"index","repository":{"type":"git","url":"git://github.com/storify/invoice-pdf.git"},"gitHead":"0c70988cb8e284aeff0ce07402ba5dfd9f6aba75","directories":{"test":"test"},"license":"BSD","_id":"invoice-pdf@0.0.6","dist":{"shasum":"b08f57708b27b9e459b556ad41d1a40c23439682","tarball":"https://registry.npmjs.org/invoice-pdf/-/invoice-pdf-0.0.6.tgz","integrity":"sha512-r/J9nZBjv34Iu00Oz6YFtbFgXGtxEeeATEAzB1xrUN4A1E1jWGJ7LjBCjdG/xMj2dx6KdSCDPC32gGXrTxn7xA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGhWeE5Yd7Mo0AfQt9yrOmTbIxfDq6V+DooKYDmI7O7FAiEA0He8Ya0XrtywjTnNaRmGtYESykETr+jo/XksV6AnQkg="}]},"_npmVersion":"1.1.66","_npmUser":{"name":"storify","email":"api@storify.com"},"maintainers":[{"name":"storify","email":"philippe.modard@gmail.com"},{"name":"philmod","email":"philippe.modard@gmail.com"}]},"0.0.7":{"name":"invoice-pdf","version":"0.0.7","description":"Create a stripe invoice pdf from a jade template","keywords":["stripe","invoice","pdf","jade","storify"],"author":{"name":"Philmod","email":"philmod@storify.com"},"homepage":"https://github.com/storify/invoice-pdf","engines":{"node":">= v0.8.0"},"dependencies":{"jade":"0.28.2","phantom":"git://github.com/sgentle/phantomjs-node.git","async":"0.2.9","moment":"2.0.0"},"devDependencies":{"should":"","mocha":""},"scripts":{"test":"make test"},"main":"index","repository":{"type":"git","url":"git://github.com/storify/invoice-pdf.git"},"gitHead":"0c70988cb8e284aeff0ce07402ba5dfd9f6aba75","directories":{"test":"test"},"license":"BSD","_id":"invoice-pdf@0.0.7","dist":{"shasum":"585759685c9a1aa18d4c1c2ad31ecea5118dcd68","tarball":"https://registry.npmjs.org/invoice-pdf/-/invoice-pdf-0.0.7.tgz","integrity":"sha512-Kza69H/WDOuv031IDHCRRslIDi/OXWpJacruuEe8DgU2+3sZe2z68djC+0n0SZvUDN8/xnqeVwFqV8yi/gFJ8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXUyfFD/YPiMlZIrLEPpaLWJl/9kqVH7GzTMk50Op68AiEAokpcYMqopqrHrKrP8jo982HwOXmv58T4QuQrockRcQU="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"storify","email":"philippe.modard@gmail.com"},"maintainers":[{"name":"storify","email":"philippe.modard@gmail.com"},{"name":"philmod","email":"philippe.modard@gmail.com"}]},"0.0.8":{"name":"invoice-pdf","version":"0.0.8","description":"Create a stripe invoice pdf from a jade template","keywords":["stripe","invoice","pdf","jade","storify"],"author":{"name":"Philmod","email":"philmod@storify.com"},"homepage":"https://github.com/storify/invoice-pdf","engines":{"node":">= v0.8.0"},"dependencies":{"jade":"0.28.2","phantom":"git://github.com/sgentle/phantomjs-node.git","async":"0.2.9","moment":"2.0.0","portchecker":"0.1.2"},"devDependencies":{"should":"","mocha":""},"scripts":{"test":"make test"},"main":"index","repository":{"type":"git","url":"git://github.com/storify/invoice-pdf.git"},"gitHead":"0c70988cb8e284aeff0ce07402ba5dfd9f6aba75","directories":{"test":"test"},"license":"BSD","bugs":{"url":"https://github.com/storify/invoice-pdf/issues"},"_id":"invoice-pdf@0.0.8","dist":{"shasum":"ed04fff8eb63fedb2ebe4afe7a901136418c99fa","tarball":"https://registry.npmjs.org/invoice-pdf/-/invoice-pdf-0.0.8.tgz","integrity":"sha512-5r/z2A6epj/BIq+INSoIFNaBMjQ4Ggk/wmScalnhe5QUtUJqXgWymgiHVtiDcrqv/mwIoyA6qMHIIasY0fs9Ww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCU8b1Hxi35MDpH+BuGf5/st+ld3sqDgTYmobUVHpsWRQIgfowOCAFgocsdjESkC1uCdYRrZ0xoMf648/aZeAOFoj4="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"storify","email":"philippe.modard@gmail.com"},"maintainers":[{"name":"storify","email":"philippe.modard@gmail.com"},{"name":"philmod","email":"philippe.modard@gmail.com"}]},"0.0.9":{"name":"invoice-pdf","version":"0.0.9","description":"Create a stripe invoice pdf from a jade template","keywords":["stripe","invoice","pdf","jade","storify"],"author":{"name":"Philmod","email":"philmod@storify.com"},"homepage":"https://github.com/storify/invoice-pdf","engines":{"node":">= v0.8.0"},"dependencies":{"jade":"0.28.2","phantom":"git://github.com/sgentle/phantomjs-node.git","async":"0.2.9","moment":"2.3.1","portchecker":"0.1.2"},"devDependencies":{"should":"","mocha":""},"scripts":{"test":"make test"},"main":"index","repository":{"type":"git","url":"git://github.com/storify/invoice-pdf.git"},"gitHead":"0c70988cb8e284aeff0ce07402ba5dfd9f6aba75","directories":{"test":"test"},"license":"BSD","bugs":{"url":"https://github.com/storify/invoice-pdf/issues"},"_id":"invoice-pdf@0.0.9","dist":{"shasum":"efb3ec420141000688f72200cc909a59cc0d2a67","tarball":"https://registry.npmjs.org/invoice-pdf/-/invoice-pdf-0.0.9.tgz","integrity":"sha512-xwtRnucMHvlzYDrO4n3gtMISF6u0XXNMxSkJo1WvS8BP1tRKUDQ5SR/BV2UPi4aau3cBIIjOLegcZZfObPTdcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSs6be/pX07oKit7nB2V6d50tblMgWvMki2jaq9huP3AIhANBEIbKnMdBxDC2N1/zqXiKr+l4HzBz3jHN2L8P51z0Z"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"storify","email":"philippe.modard@gmail.com"},"maintainers":[{"name":"storify","email":"philippe.modard@gmail.com"},{"name":"philmod","email":"philippe.modard@gmail.com"}]},"0.0.10":{"name":"invoice-pdf","version":"0.0.10","description":"Create a stripe invoice pdf from a jade template","keywords":["stripe","invoice","pdf","jade","storify"],"author":{"name":"Philmod","email":"philmod@storify.com"},"homepage":"https://github.com/storify/invoice-pdf","engines":{"node":">= v0.8.0"},"dependencies":{"jade":"0.28.2","phantom":"git://github.com/sgentle/phantomjs-node.git","async":"0.2.9","moment":"2.3.1","portchecker":"0.1.2"},"devDependencies":{"should":"","mocha":""},"scripts":{"test":"make test"},"main":"index","repository":{"type":"git","url":"git://github.com/storify/invoice-pdf.git"},"gitHead":"0c70988cb8e284aeff0ce07402ba5dfd9f6aba75","directories":{"test":"test"},"license":"BSD","bugs":{"url":"https://github.com/storify/invoice-pdf/issues"},"_id":"invoice-pdf@0.0.10","_shasum":"321c980d74a655bb030c2eae14f2febccfb324c9","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"philmod","email":"philippe.modard@gmail.com"},"maintainers":[{"name":"storify","email":"philippe.modard@gmail.com"},{"name":"philmod","email":"philippe.modard@gmail.com"}],"dist":{"shasum":"321c980d74a655bb030c2eae14f2febccfb324c9","tarball":"https://registry.npmjs.org/invoice-pdf/-/invoice-pdf-0.0.10.tgz","integrity":"sha512-lDt3Uzj1uIIi2XEALKN99UYEoNo8VjxQE1E6CixlH+IHCCSulfllaL43vVlAaDqdB/KNXLRmdy9aNqGl/ZPI1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAU3AuNFRDQrE2QeTQU6XDalRjbcHJCx1A6lAAP73odgIgJl+Ozd/tfXhFczmlqQJZQZHfx5Gs547rJBYYXPUVFYg="}]}},"0.0.11":{"name":"invoice-pdf","version":"0.0.11","description":"Create a stripe invoice pdf from a jade template","keywords":["stripe","invoice","pdf","jade","storify"],"author":{"name":"Philmod","email":"philmod@storify.com"},"homepage":"https://github.com/storify/invoice-pdf","engines":{"node":">= v0.8.0"},"dependencies":{"jade":"0.28.2","phantom":"0.6.5","async":"0.2.9","moment":"2.3.1","portchecker":"0.1.2"},"devDependencies":{"should":"","mocha":""},"scripts":{"test":"make test"},"main":"index","repository":{"type":"git","url":"git://github.com/storify/invoice-pdf.git"},"gitHead":"0c70988cb8e284aeff0ce07402ba5dfd9f6aba75","directories":{"test":"test"},"license":"BSD","bugs":{"url":"https://github.com/storify/invoice-pdf/issues"},"_id":"invoice-pdf@0.0.11","_shasum":"8f3ca23f0d93831a10b109357227e91a3a06705d","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"storify","email":"ops@storify.com"},"maintainers":[{"name":"storify","email":"philippe.modard@gmail.com"},{"name":"philmod","email":"philippe.modard@gmail.com"}],"dist":{"shasum":"8f3ca23f0d93831a10b109357227e91a3a06705d","tarball":"https://registry.npmjs.org/invoice-pdf/-/invoice-pdf-0.0.11.tgz","integrity":"sha512-lZOZgcGMpOLj7z4du0hq1lqZTP1Z6LN3TQ/wBY0SC7tnxG1+H9WA7Rr2b1IkzRjJBbF8px1ruf5u9ZfguEb1ug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE1y9TR+oS0f75x2W/PFL5J00k1jrSUNLgdyjDwQyYiOAiBv5MY68MASPEq9kf3W7f5CWfUgtjl7wxz6FSTGohvSAA=="}]}}},"readme":"# Invoice PDF\n\n  Create a stripe invoice pdf from a jade template\n\n## Installation\n\n### Install Phantom\n\n### NPM\n    $ npm install invoice-pdf\n  \n## Usage\n\n```js\nvar user = { // coming from Storify database\n\t\tusername: 'philmod'\n\t, ...\n\t, _stripe : {\n\t\t\t...\n\t\t}\n};\nvar options = {};\nvar invoice = new Invoice(user, options);\ninvoice.create(function(e,path) {\n\t// you get the pdf file path\n});\n```\n\nOther usages: \n - Render the html:\n\n```js\ninvoice.render(function(e,html) {\n\n});\n```\n\n - Create PDF from html:\n\n```js\ninvoice.jade2pdf(function(e,path) {\n\n});\n```\n\n - Delete PDF file:\n\n```js\ninvoice.deletePdf(function(e) {\n\n});\n```\n\n - Pipe PDF file:\n\n```js\ninvoice.pipePdf(res);\n```\n\n## Run Tests\n\t\t$ make test","maintainers":[{"name":"storify","email":"philippe.modard@gmail.com"},{"name":"philmod","email":"philippe.modard@gmail.com"}],"time":{"modified":"2022-06-19T01:55:53.932Z","created":"2013-06-19T18:53:57.145Z","0.0.1":"2013-06-19T18:53:58.561Z","0.0.2":"2013-06-19T20:34:12.853Z","0.0.3":"2013-06-19T20:53:54.376Z","0.0.4":"2013-06-19T21:19:01.649Z","0.0.5":"2013-06-19T21:25:13.283Z","0.0.6":"2013-07-10T18:35:45.395Z","0.0.7":"2013-07-24T23:07:01.826Z","0.0.8":"2013-10-05T19:58:02.128Z","0.0.9":"2013-10-24T13:02:49.163Z","0.0.10":"2014-07-09T23:27:30.976Z","0.0.11":"2014-08-28T13:24:05.924Z"},"author":{"name":"Philmod","email":"philmod@storify.com"},"repository":{"type":"git","url":"git://github.com/storify/invoice-pdf.git"},"homepage":"https://github.com/storify/invoice-pdf","keywords":["stripe","invoice","pdf","jade","storify"],"bugs":{"url":"https://github.com/storify/invoice-pdf/issues"},"license":"BSD","readmeFilename":"README.md","users":{"codevelopit":true}}