{"_id":"@boneskull/invoicer","_rev":"5-705c7a69ac970061529c9327a9ce6871","name":"@boneskull/invoicer","description":"generate PDF invoices from json","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.2":{"name":"@boneskull/invoicer","version":"1.0.2","description":"generate PDF invoices from json","bin":{"@boneskull/invoicer":"bin/cmd.js"},"dependencies":{"concat-stream":"~1.4.1","minimist":"~0.0.5","mkdirp":"~0.3.5","pdfkit":"^0.7.1","split":"~0.2.10","sprintf":"~0.1.3","text-table":"^0.2.0","through2":"~0.4.1"},"repository":{"type":"git","url":"git://github.com/boneskull/invoicer.git"},"homepage":"https://github.com/boneskull/invoicer","keywords":["invoice","pdf","expense","report","consulting"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"c569aa96bf12c5993e995304fcca3b69f8f252bb","bugs":{"url":"https://github.com/boneskull/invoicer/issues"},"_id":"@boneskull/invoicer@1.0.2","scripts":{},"_shasum":"ff34168cbc5075c7a7581486917680ce81b0fa95","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"boneskull","email":"boneskull@boneskull.com"},"dist":{"shasum":"ff34168cbc5075c7a7581486917680ce81b0fa95","tarball":"https://registry.npmjs.org/@boneskull/invoicer/-/invoicer-1.0.2.tgz","integrity":"sha512-egQhHK6KGzdzijBJKlmggCW1AAzqoLjtYDxpjXGBAO+5AdReJqv40qVGm0GvcijrqSw8O3sM0ZU8kqAQmVgVMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8P0gt3t17PV5GUkC4W5Im6jPP7NktwUalWZ+0tMZ5WQIgCMmikM3w1neKKuEAL9+k81CWJLXBfYGsR+LspAYqg0c="}]},"maintainers":[{"name":"boneskull","email":"boneskull@boneskull.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/invoicer-1.0.2.tgz_1462569360476_0.6947327652014792"}},"1.1.0":{"name":"@boneskull/invoicer","version":"1.1.0","description":"generate PDF invoices from json","bin":{"invoicer":"bin/cmd.js"},"dependencies":{"concat-stream":"~1.4.1","minimist":"~0.0.5","mkdirp":"~0.3.5","pdfkit":"^0.7.1","split":"~0.2.10","sprintf":"~0.1.3","text-table":"^0.2.0","through2":"~0.4.1"},"repository":{"type":"git","url":"git://github.com/boneskull/invoicer.git"},"homepage":"https://github.com/boneskull/invoicer","keywords":["invoice","pdf","expense","report","consulting"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"3f74985d0b11fce9369368ef86f9b5d11cdb0ce8","bugs":{"url":"https://github.com/boneskull/invoicer/issues"},"_id":"@boneskull/invoicer@1.1.0","scripts":{},"_shasum":"0ab7724965114a26c387a9e4e30e7d029600bca0","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"boneskull","email":"boneskull@boneskull.com"},"dist":{"shasum":"0ab7724965114a26c387a9e4e30e7d029600bca0","tarball":"https://registry.npmjs.org/@boneskull/invoicer/-/invoicer-1.1.0.tgz","integrity":"sha512-3l8izkMBnWlDI6PqADHr1CiWjT0fQpV2dL/Uu0PVkH/niPwJuF8tUpIchuuuB8nnvoz+Hn+8egLgwoTSrpmimw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFBVWrghM6a3uIkjcLsuazBlwrGrQyQZ9Y0ftLBMBQVPAiBKr0VWh/UsTi/cWqMcAOABrxmxo5oYMwzLV2yWHHDYdA=="}]},"maintainers":[{"name":"boneskull","email":"boneskull@boneskull.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/invoicer-1.1.0.tgz_1463336065174_0.9762860718183219"}},"1.2.0":{"name":"@boneskull/invoicer","version":"1.2.0","description":"generate PDF invoices from json","bin":{"invoicer":"bin/cmd.js"},"dependencies":{"concat-stream":"~1.4.1","minimist":"~0.0.5","mkdirp":"~0.3.5","pdfkit":"^0.7.1","split":"~0.2.10","sprintf":"~0.1.3","text-table":"^0.2.0","through2":"~0.4.1"},"repository":{"type":"git","url":"git://github.com/boneskull/invoicer.git"},"homepage":"https://github.com/boneskull/invoicer","keywords":["invoice","pdf","expense","report","consulting"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"9411c9276f31b6fff6c207b800f143bac9298e9f","bugs":{"url":"https://github.com/boneskull/invoicer/issues"},"_id":"@boneskull/invoicer@1.2.0","scripts":{},"_shasum":"6e025757612aed4d746152c6b1f676c6a9740d30","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"boneskull","email":"boneskull@boneskull.com"},"dist":{"shasum":"6e025757612aed4d746152c6b1f676c6a9740d30","tarball":"https://registry.npmjs.org/@boneskull/invoicer/-/invoicer-1.2.0.tgz","integrity":"sha512-Ri49OL+TqGpf2yPRPb2vOdY9A+q5EbRcVkq4qvgSKOK4lGZtupKwygByK9w2nrowplNDeawW1mcjVfXEucZfQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFEk76bmP8BUBVF2ejyu/0AxDS65d/eqNX6yiN8Sbc8QIhAJaeTZtm1n+kwycj6IKq5xgEyp6Q/q5qZeQIo+6sO2sU"}]},"maintainers":[{"name":"boneskull","email":"boneskull@boneskull.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/invoicer-1.2.0.tgz_1464992095594_0.2975853970274329"}}},"readme":"# invoicer\n\ngenerate PDF invoices from json\n\n# example\n\n``` json\n[\n  {\"title\":\"consulting\",\"rate\": 100, \"hours\":[\n    {\"date\":\"2075-08-27\",\"hours\":2.5},\n    {\"date\":\"2075-08-28\",\"hours\":7},\n    {\"date\":\"2075-09-01\",\"hours\":5.5}\n  ]},\n  {\"title\":\"travel\",\"items\":[\n    {\"title\":\"airfare\",\"amount\":750},\n    {\"title\":\"hotel\",\"amount\":240}\n  ]},\n  {\"title\":\"hosting\",\"amount\":40}\n]\n```\n\n``` bash\n$ invoicer -r 'BEEPCORP HOLDINGS LTD' -e expenses.json -o invoice.pdf\n```\n\nThe first time you run invoicer you will be prompted to enter your name,\naddress, email, and currency.\n\nOnce invoicer finishes you will have a fancy `invoice.pdf`.\n\n_How_ fancy an invoice? Glad you asked:\n\n![Screenshot of PDF invoice](images/invoice.png)\n\n# usage\n\n```\nusage: invoicer -r 'BEEPCORP HOLDINGS LTD' -e expenses.json -o invoice.pdf\n\n  -r, --rcpt      invoice receipient\n  -e, --expenses  expense sheet. If not given or '-', read from stdin.\n  -o, --output    generate a pdf for this filename\n  -m, --mode      mode to use (implied by the extension in -o, otherwise \"text\")\n  -c FILE         config file (default: ~/.config/invoicer/config.json)            \n\nHere is an example expenses.json file:\n\n  [\n    {\"title\":\"consulting\",\"rate\": 100, \"hours\":[\n      {\"date\":\"2075-08-27\",\"hours\":2.5},\n      {\"date\":\"2075-08-28\",\"hours\":7},\n      {\"date\":\"2075-09-01\",\"hours\":5.5}\n    ]},\n    {\"title\":\"travel\",\"items\":[\n      {\"title\":\"airfare\",\"amount\":750},\n      {\"title\":\"hotel\",\"amount\":240}\n    ]},\n    {\"title\":\"hosting\",\"amount\":40}\n  ]\n\nFor each `row` in the json array, `invoicer` only looks for:\n\n* `row.rate` and a `row.hours` array\n* `row.items` array\n* `row.amount`\n\nEach row should have a title.\n```\n\n# install\n\ninstall with [npm](https://npmjs.org) to get\nthe `invoicer` command:\n\n```\nnpm install -g invoicer\n```\n\n# license\n\nMIT\n","maintainers":[{"name":"boneskull","email":"boneskull@boneskull.com"}],"time":{"modified":"2022-06-12T15:25:32.530Z","created":"2016-05-06T21:16:00.979Z","1.0.2":"2016-05-06T21:16:00.979Z","1.1.0":"2016-05-15T18:14:25.703Z","1.2.0":"2016-06-03T22:14:58.559Z"},"homepage":"https://github.com/boneskull/invoicer","keywords":["invoice","pdf","expense","report","consulting"],"repository":{"type":"git","url":"git://github.com/boneskull/invoicer.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"bugs":{"url":"https://github.com/boneskull/invoicer/issues"},"license":"MIT","readmeFilename":"readme.markdown"}