{"_id":"@nfewizard/danfe","_rev":"8-d04c896b727fe15969fcca3edc03a819","name":"@nfewizard/danfe","dist-tags":{"latest":"1.0.7"},"versions":{"1.0.0":{"name":"@nfewizard/danfe","version":"1.0.0","keywords":["danfe","dacte","pdf","nfe","nfce","cte"],"author":{"name":"maurelima"},"license":"GPL-3.0","_id":"@nfewizard/danfe@1.0.0","maintainers":[{"name":"maurelima","email":"maurelima@gmail.com"}],"homepage":"https://github.com/nfewizard-org/nfewizard-io#readme","bugs":{"url":"https://github.com/nfewizard-org/nfewizard-io/issues"},"dist":{"shasum":"003c695d9654fe40df53fdf407ca60fd37763142","tarball":"https://registry.npmjs.org/@nfewizard/danfe/-/danfe-1.0.0.tgz","fileCount":14,"integrity":"sha512-VBY8x3d5+UtWHt9fKXkIUoE25gmSN4ZwTl+K3OuJd0RqC8DY1hEaJebFk1Hb3Q81ToRKF9f8FJ8SrKOOdxXdGw==","signatures":[{"sig":"MEYCIQDwCHWGLa+gMs6suvWbiZ9FOJryQDgKXih3ZTNPyEiXiAIhAOLZM9uRs8T4MtmVq3ZCDMDwHPJjDZ77ifaLIzfhQsXG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2404958},"main":"./dist/index.cjs","_from":"file:nfewizard-danfe-1.0.0.tgz","types":"./dist/src/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"maurelima","email":"maurelima@gmail.com"},"_resolved":"/tmp/83d1ac917bf237488fa257c962a49a6d/nfewizard-danfe-1.0.0.tgz","_integrity":"sha512-VBY8x3d5+UtWHt9fKXkIUoE25gmSN4ZwTl+K3OuJd0RqC8DY1hEaJebFk1Hb3Q81ToRKF9f8FJ8SrKOOdxXdGw==","repository":{"url":"git+https://github.com/nfewizard-org/nfewizard-io.git","type":"git","directory":"packages/danfe"},"_npmVersion":"10.8.2","description":"Geração de DANFE/DACTE em PDF para NFe, NFCe e CTe","directories":{},"_nodeVersion":"20.19.6","dependencies":{"pdfkit":"^0.15.0","qrcode":"^1.5.4","bwip-js":"^4.3.2","date-fns":"^2.30.0","@nfewizard/types":"1.0.0","@nfewizard/shared":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","typescript":"^5.4.5","@types/pdfkit":"^0.13.5","@types/qrcode":"^1.5.5","@rollup/plugin-json":"^6.1.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/danfe_1.0.0_1766941531459_0.008520927508923526","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@nfewizard/danfe","version":"1.0.1","keywords":["danfe","dacte","pdf","nfe","nfce","cte"],"author":{"name":"maurelima"},"license":"GPL-3.0","_id":"@nfewizard/danfe@1.0.1","maintainers":[{"name":"maurelima","email":"maurelima@gmail.com"}],"homepage":"https://github.com/nfewizard-org/nfewizard-io#readme","bugs":{"url":"https://github.com/nfewizard-org/nfewizard-io/issues"},"dist":{"shasum":"3329c86a1f44a729993584eeb92a608f9a4e2293","tarball":"https://registry.npmjs.org/@nfewizard/danfe/-/danfe-1.0.1.tgz","fileCount":15,"integrity":"sha512-nFQsT0LZ0NUooM4T04ylavgHFf1kmnKuffF74yxad1MIGz5v2qLb2zRYNfyWJXyYMQLtZVQ9q4ZrJ6ND40G7EA==","signatures":[{"sig":"MEUCIQCyFYMnXNgTW5vpNneeWmNwImkGgzWtnShu45Wza0NrNgIgMgiC7N8HCQPQKUzFyCbXy/6xC10QVPyfbbFpSNGgB8o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2429822},"main":"./dist/index.cjs","_from":"file:nfewizard-danfe-1.0.1.tgz","types":"./dist/src/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"maurelima","email":"maurelima@gmail.com"},"_resolved":"/tmp/5a8a260c97d5fb9958ea22f975a78cdd/nfewizard-danfe-1.0.1.tgz","_integrity":"sha512-nFQsT0LZ0NUooM4T04ylavgHFf1kmnKuffF74yxad1MIGz5v2qLb2zRYNfyWJXyYMQLtZVQ9q4ZrJ6ND40G7EA==","repository":{"url":"git+https://github.com/nfewizard-org/nfewizard-io.git","type":"git","directory":"packages/danfe"},"_npmVersion":"10.8.2","description":"Geração de DANFE/DACTE em PDF para NFe, NFCe e CTe","directories":{},"_nodeVersion":"20.19.6","dependencies":{"pdfkit":"^0.15.0","qrcode":"^1.5.4","bwip-js":"^4.3.2","date-fns":"^2.30.0","@nfewizard/types":"1.0.1","@nfewizard/shared":"1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","typescript":"^5.4.5","@types/pdfkit":"^0.13.5","@types/qrcode":"^1.5.5","@rollup/plugin-json":"^6.1.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/danfe_1.0.1_1771769182139_0.4106425111539864","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@nfewizard/danfe","version":"1.0.2","keywords":["danfe","dacte","pdf","nfe","nfce","cte"],"author":{"name":"maurelima"},"license":"GPL-3.0","_id":"@nfewizard/danfe@1.0.2","maintainers":[{"name":"maurelima","email":"maurelima@gmail.com"}],"homepage":"https://github.com/nfewizard-org/nfewizard-io#readme","bugs":{"url":"https://github.com/nfewizard-org/nfewizard-io/issues"},"dist":{"shasum":"d45194640490f08796f643dacf19089a9c90d580","tarball":"https://registry.npmjs.org/@nfewizard/danfe/-/danfe-1.0.2.tgz","fileCount":15,"integrity":"sha512-MZ8ucvCG6q16fr6Zh868hXVXz0/K68RekL+Nbqp2E6XeespfXP1HAxSXVYNKNj2vIQt4ZoEgmYWShDu5JQTxmA==","signatures":[{"sig":"MEYCIQCrAp/EK+VUIiaFeDwrKDCk1AG8kRpitT3IgMYTR0yOKwIhAMvJzuKEmu2RroQkXczfRygL8Pg48Y736mLV0HXlEB8f","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2429631},"main":"./dist/index.cjs","_from":"file:nfewizard-danfe-1.0.2.tgz","types":"./dist/src/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"maurelima","email":"maurelima@gmail.com"},"_resolved":"/tmp/6498a7ea6e91414e48502f51090ff09b/nfewizard-danfe-1.0.2.tgz","_integrity":"sha512-MZ8ucvCG6q16fr6Zh868hXVXz0/K68RekL+Nbqp2E6XeespfXP1HAxSXVYNKNj2vIQt4ZoEgmYWShDu5JQTxmA==","repository":{"url":"git+https://github.com/nfewizard-org/nfewizard-io.git","type":"git","directory":"packages/danfe"},"_npmVersion":"10.9.2","description":"Geração de DANFE/DACTE em PDF para NFe, NFCe e CTe","directories":{},"_nodeVersion":"22.14.0","dependencies":{"pdfkit":"^0.15.0","qrcode":"^1.5.4","bwip-js":"^4.3.2","date-fns":"^2.30.0","@nfewizard/types":"1.0.3","@nfewizard/shared":"1.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.59.0","typescript":"^5.4.5","@types/pdfkit":"^0.13.5","@types/qrcode":"^1.5.5","@rollup/plugin-json":"^6.1.0","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/danfe_1.0.2_1776947719618_0.20465439367235305","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@nfewizard/danfe","version":"1.0.3","keywords":["danfe","dacte","pdf","nfe","nfce","cte"],"author":{"name":"maurelima"},"license":"GPL-3.0","_id":"@nfewizard/danfe@1.0.3","maintainers":[{"name":"maurelima","email":"maurelima@gmail.com"}],"homepage":"https://github.com/nfewizard-org/nfewizard-io#readme","bugs":{"url":"https://github.com/nfewizard-org/nfewizard-io/issues"},"dist":{"shasum":"8ea103b8fe67633b8d319951c6c63782c1dc2e79","tarball":"https://registry.npmjs.org/@nfewizard/danfe/-/danfe-1.0.3.tgz","fileCount":15,"integrity":"sha512-frTDOWSZi+sdEaF9AAx9Wol4KMpWCr0GJuCl6xgLb6os3Hwi+RYrSkhdSkngPf0yoiHjh57YAQ/9ZznLvHUu0w==","signatures":[{"sig":"MEQCIDjgY/nQAGj+NcagUmgLnoxWKPaUbZTMYyj4obEOx1NPAiA2rVUHvMHTXjytb4kYi1MbHDQ4QWKCv0TT2bhJUW+vBQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2448843},"main":"./dist/index.cjs","_from":"file:nfewizard-danfe-1.0.3.tgz","types":"./dist/src/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"maurelima","email":"maurelima@gmail.com"},"_resolved":"/tmp/52ad8941d21c49a8a9c97f2f6486deb4/nfewizard-danfe-1.0.3.tgz","_integrity":"sha512-frTDOWSZi+sdEaF9AAx9Wol4KMpWCr0GJuCl6xgLb6os3Hwi+RYrSkhdSkngPf0yoiHjh57YAQ/9ZznLvHUu0w==","repository":{"url":"git+https://github.com/nfewizard-org/nfewizard-io.git","type":"git","directory":"packages/danfe"},"_npmVersion":"10.9.2","description":"Geração de DANFE/DACTE em PDF para NFe, NFCe e CTe","directories":{},"_nodeVersion":"22.14.0","dependencies":{"pdfkit":"^0.15.0","qrcode":"^1.5.4","bwip-js":"^4.3.2","date-fns":"^2.30.0","@nfewizard/types":"1.0.6","@nfewizard/shared":"1.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.59.0","typescript":"^5.4.5","@types/pdfkit":"^0.13.5","@types/qrcode":"^1.5.5","@rollup/plugin-json":"^6.1.0","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/danfe_1.0.3_1783609160661_0.1687970158225185","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@nfewizard/danfe","version":"1.0.4","keywords":["danfe","dacte","pdf","nfe","nfce","cte"],"author":{"name":"maurelima"},"license":"GPL-3.0","_id":"@nfewizard/danfe@1.0.4","maintainers":[{"name":"maurelima","email":"maurelima@gmail.com"}],"homepage":"https://github.com/nfewizard-org/nfewizard-io#readme","bugs":{"url":"https://github.com/nfewizard-org/nfewizard-io/issues"},"dist":{"shasum":"9bbee9152cf2b732cf7dcf3d31e9e4ab4d22c9b1","tarball":"https://registry.npmjs.org/@nfewizard/danfe/-/danfe-1.0.4.tgz","fileCount":15,"integrity":"sha512-4XmXD9TCz3SrxFCnE7TvxJScnQXz2nDMo0fHgZSvrYGSznnu2jxP/Thil7ucIGuKGxmUKpLtV4tAOZeNLN3dAQ==","signatures":[{"sig":"MEUCIQCv3GL/aJ0NacxmgV66F3d8qDV6w7TCvwPFb6VrivPOvwIgBog3LmEp2rjgT4uV9iCoR8urH8j/7q1YQeEhPX806Xo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nfewizard%2fdanfe@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2449654},"main":"./dist/index.cjs","_from":"file:nfewizard-danfe-1.0.4.tgz","types":"./dist/src/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c1bb9816-3b93-4b5d-b78c-1388138813b2"}},"_resolved":"/tmp/956ffe490ef8be4d4094e01d4bf16c83/nfewizard-danfe-1.0.4.tgz","_integrity":"sha512-4XmXD9TCz3SrxFCnE7TvxJScnQXz2nDMo0fHgZSvrYGSznnu2jxP/Thil7ucIGuKGxmUKpLtV4tAOZeNLN3dAQ==","repository":{"url":"git+https://github.com/nfewizard-org/nfewizard-io.git","type":"git","directory":"packages/danfe"},"_npmVersion":"11.16.0","description":"Geração de DANFE/DACTE em PDF para NFe, NFCe e CTe","directories":{},"_nodeVersion":"24.18.0","dependencies":{"pdfkit":"^0.15.0","qrcode":"^1.5.4","bwip-js":"^4.3.2","date-fns":"^2.30.0","@nfewizard/types":"1.0.8","@nfewizard/shared":"1.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.59.0","typescript":"^5.4.5","@types/pdfkit":"^0.13.5","@types/qrcode":"^1.5.5","@rollup/plugin-json":"^6.1.0","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/danfe_1.0.4_1786213051048_0.15339488556876635","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@nfewizard/danfe","version":"1.0.5","keywords":["danfe","dacte","pdf","nfe","nfce","cte"],"author":{"name":"maurelima"},"license":"GPL-3.0","_id":"@nfewizard/danfe@1.0.5","maintainers":[{"name":"maurelima","email":"maurelima@gmail.com"}],"homepage":"https://github.com/nfewizard-org/nfewizard-io#readme","bugs":{"url":"https://github.com/nfewizard-org/nfewizard-io/issues"},"dist":{"shasum":"696d95ae5fd2f1b49de4b5913e1f45ef5a4e55bf","tarball":"https://registry.npmjs.org/@nfewizard/danfe/-/danfe-1.0.5.tgz","fileCount":15,"integrity":"sha512-WPwPToftvKcz+TOp6HpQKGdFSa0uP+wSqpuU8SvyB1YISYKZ2AZPqF2WxDOdFm045X+KnEIzK0E5NV1yVr2gWw==","signatures":[{"sig":"MEUCIQDVuHh0NX9z6vXXM15G4F8ARAEmGZum0eKj7Ckz3LCFUgIgN+GEaPg8PlpLJWU83+ioY2IwZ8NVyruuYVfN0hUAEMA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nfewizard%2fdanfe@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2449654},"main":"./dist/index.cjs","_from":"file:nfewizard-danfe-1.0.5.tgz","types":"./dist/src/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c1bb9816-3b93-4b5d-b78c-1388138813b2"}},"_resolved":"/tmp/9f22540ee6e81e03e9a4d19463e387f2/nfewizard-danfe-1.0.5.tgz","_integrity":"sha512-WPwPToftvKcz+TOp6HpQKGdFSa0uP+wSqpuU8SvyB1YISYKZ2AZPqF2WxDOdFm045X+KnEIzK0E5NV1yVr2gWw==","repository":{"url":"git+https://github.com/nfewizard-org/nfewizard-io.git","type":"git","directory":"packages/danfe"},"_npmVersion":"11.17.0","description":"Geração de DANFE/DACTE em PDF para NFe, NFCe e CTe","directories":{},"_nodeVersion":"24.19.0","dependencies":{"pdfkit":"^0.15.0","qrcode":"^1.5.4","bwip-js":"^4.3.2","date-fns":"^2.30.0","@nfewizard/types":"1.0.7","@nfewizard/shared":"1.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.59.0","typescript":"^5.4.5","@types/pdfkit":"^0.13.5","@types/qrcode":"^1.5.5","@rollup/plugin-json":"^6.1.0","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/danfe_1.0.5_1787492919241_0.9894586765188906","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@nfewizard/danfe","version":"1.0.6","keywords":["danfe","dacte","pdf","nfe","nfce","cte"],"author":{"name":"maurelima"},"license":"GPL-3.0","_id":"@nfewizard/danfe@1.0.6","maintainers":[{"name":"maurelima","email":"maurelima@gmail.com"}],"homepage":"https://github.com/nfewizard-org/nfewizard-io#readme","bugs":{"url":"https://github.com/nfewizard-org/nfewizard-io/issues"},"dist":{"shasum":"4ff3f7cc56a426863f5c03d30f13b48eba4f212c","tarball":"https://registry.npmjs.org/@nfewizard/danfe/-/danfe-1.0.6.tgz","fileCount":17,"integrity":"sha512-qd1ChzySBtDAEP114hMSTBxl1ZqJw/w7diZyQ6f1iAzGNEZUQMtGEije+dm+oEdUzlhep21wuGHREk+49Dc6jQ==","signatures":[{"sig":"MEQCICUKxOkjB5Ji59iDzixnT7WAj+CKUa8t+48HUR+6+h2+AiALCsh8s2TgqyBa2G6t6gYe6wqEBg9xe38FD5fNCyVxPA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDNRIgyhdjNGj+Uhow8Tnf4IlK09YkG/9NuNUmRbeqUhQIgbWCfNys6NfboXfjzQ6OBUBb9aSsLi79IHMCmBDkwzXg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nfewizard%2fdanfe@1.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2450616},"main":"./dist/index.cjs","_from":"file:nfewizard-danfe-1.0.6.tgz","types":"./dist/src/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"jest","build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c1bb9816-3b93-4b5d-b78c-1388138813b2"}},"_resolved":"/tmp/d7f2132b841dee144eaacb7fb5b22409/nfewizard-danfe-1.0.6.tgz","_integrity":"sha512-qd1ChzySBtDAEP114hMSTBxl1ZqJw/w7diZyQ6f1iAzGNEZUQMtGEije+dm+oEdUzlhep21wuGHREk+49Dc6jQ==","repository":{"url":"git+https://github.com/nfewizard-org/nfewizard-io.git","type":"git","directory":"packages/danfe"},"_npmVersion":"11.19.0","description":"Geração de DANFE/DACTE em PDF para NFe, NFCe e CTe","directories":{},"_nodeVersion":"24.20.0","dependencies":{"pdfkit":"^0.15.0","qrcode":"^1.5.4","bwip-js":"^4.3.2","date-fns":"^2.30.0","@nfewizard/types":"1.0.10","@nfewizard/shared":"1.1.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.59.0","typescript":"^5.4.5","@types/pdfkit":"^0.13.5","@types/qrcode":"^1.5.5","@rollup/plugin-json":"^6.1.0","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/danfe_1.0.6_1788788568408_0.09250079587111237","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"_id":"@nfewizard/danfe@1.0.7","bugs":{"url":"https://github.com/nfewizard-org/nfewizard-io/issues"},"dist":{"shasum":"f42c2d5c53249ee0bea36a8fbdedc2e8d97a9867","tarball":"https://registry.npmjs.org/@nfewizard/danfe/-/danfe-1.0.7.tgz","fileCount":18,"integrity":"sha512-PXeW5yV1beL788SfagaZ1GpdgyYDu9dt+aoq/6hG7v+9XOVTwGWXQEcd0+YVqrDIkCtzCjUKi0DEdRvQ03GkPA==","signatures":[{"sig":"MEUCIAEJbmgSlUyXh9/bCzlJbb9furJ3DRhLw07bEHfQ+z43AiEAlPD1Xv8OIXAVc1Pg1IBDoASurRTideG4OJgewE2ZFGc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDVW1YuENSdjj0hBPN/vot0CSN3Y1tC9ZDwE+R2TocXMAIgA7/VLnn2rsi9hqMqSPUYDI0O8A5+bVostaAkIN5LDME="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nfewizard%2fdanfe@1.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2757805},"main":"./dist/index.cjs","name":"@nfewizard/danfe","_from":"file:nfewizard-danfe-1.0.7.tgz","types":"./dist/src/index.d.ts","author":{"name":"maurelima"},"module":"./dist/index.mjs","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"license":"GPL-3.0","scripts":{"test":"jest","build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"version":"1.0.7","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c1bb9816-3b93-4b5d-b78c-1388138813b2"}},"homepage":"https://github.com/nfewizard-org/nfewizard-io#readme","keywords":["danfe","dacte","pdf","nfe","nfce","cte"],"_resolved":"/tmp/032de2262ab19d4b6e30e08ec4b4efde/nfewizard-danfe-1.0.7.tgz","_integrity":"sha512-PXeW5yV1beL788SfagaZ1GpdgyYDu9dt+aoq/6hG7v+9XOVTwGWXQEcd0+YVqrDIkCtzCjUKi0DEdRvQ03GkPA==","repository":{"url":"git+https://github.com/nfewizard-org/nfewizard-io.git","type":"git","directory":"packages/danfe"},"_npmVersion":"11.19.0","description":"Geração de DANFE/DACTE em PDF para NFe, NFCe e CTe","directories":{},"maintainers":[{"name":"maurelima","email":"maurelima@gmail.com"}],"_nodeVersion":"24.20.0","dependencies":{"pdfkit":"^0.15.0","qrcode":"^1.5.4","bwip-js":"^4.3.2","date-fns":"^2.30.0","@nfewizard/types":"1.0.11","@nfewizard/shared":"1.1.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.59.0","typescript":"^5.4.5","@types/pdfkit":"^0.13.5","@types/qrcode":"^1.5.5","@rollup/plugin-json":"^6.1.0","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/danfe_1.0.7_1789741843862_0.9400852537096982"}}},"time":{"created":"2025-12-28T17:05:31.371Z","modified":"2026-09-18T14:30:44.377Z","1.0.0":"2025-12-28T17:05:31.667Z","1.0.1":"2026-02-22T14:06:22.357Z","1.0.2":"2026-04-23T12:35:19.818Z","1.0.3":"2026-07-09T14:59:20.850Z","1.0.4":"2026-08-08T18:17:31.249Z","1.0.5":"2026-08-23T13:48:39.454Z","1.0.6":"2026-09-07T13:42:48.531Z","1.0.7":"2026-09-18T14:30:44.022Z"},"bugs":{"url":"https://github.com/nfewizard-org/nfewizard-io/issues"},"author":{"name":"maurelima"},"license":"GPL-3.0","homepage":"https://github.com/nfewizard-org/nfewizard-io#readme","keywords":["danfe","dacte","pdf","nfe","nfce","cte"],"repository":{"url":"git+https://github.com/nfewizard-org/nfewizard-io.git","type":"git","directory":"packages/danfe"},"description":"Geração de DANFE/DACTE em PDF para NFe, NFCe e CTe","maintainers":[{"name":"maurelima","email":"maurelima@gmail.com"}],"readme":"# @nfewizard/danfe 🪄\n\n## Atenção: Ao abrir uma issue certifique-se de adicionar as informações abaixo:\n\nAo abrir issue ou PR, inclua:\n\n```markdown\n## Parametrização\n- Tipo de DANFE: NFe / NFCe / NFSe / CTe\n```\n\n## Logs Relevantes\n\nInclua também informações detalhadas sobre o erro:\n\n```jsonl\n{\"context\":\"DANFE_NFe\",\"error\":{\"message\":\"Erro ao gerar PDF\",...}\n```\n\n## Sobre a Biblioteca\n\n@nfewizard/danfe é uma biblioteca Node.js especializada na geração de DANFEs (Documento Auxiliar da Nota Fiscal Eletrônica) em formato PDF. A biblioteca oferece uma solução completa e profissional para criar documentos auxiliares de alta qualidade, incluindo:\n\n- **DANFE para NFe**: Geração do Documento Auxiliar da Nota Fiscal Eletrônica com layout padrão, incluindo:\n    - Código de barras\n    - Dados do emitente e destinatário\n    - Produtos e serviços\n    - Totalizadores e impostos\n    - Informações adicionais\n    - Suporte para múltiplas páginas\n\n- **DANFE para NFCe**: Geração do Documento Auxiliar da Nota Fiscal de Consumidor Eletrônica com:\n    - QR Code para consulta\n    - Layout simplificado para cupom fiscal\n    - Dados do consumidor\n    - Produtos e totalizadores\n    - Informações de pagamento\n\n- **DANFSe para NFSe**: Geração do Documento Auxiliar da Nota Fiscal de Serviços Eletrônica via webservice:\n    - Download direto do PDF do servidor municipal\n    - Autenticação mútua TLS com certificado digital\n    - Suporte para diferentes municípios\n\n- **DACTE para CTe**: Geração do Documento Auxiliar do Conhecimento de Transporte Eletrônico com:\n    - Código de barras e QR Code (`infCTeSupl`)\n    - Remetente, destinatário, expedidor, recebedor e tomador do serviço\n    - Dados da carga e componentes do valor da prestação\n    - Informações relativas ao imposto (ICMS)\n    - Documentos originários (NF-e, NF em papel e outros) com múltiplas páginas\n    - Quadro específico por modal (rodoviário, aéreo, aquaviário, ferroviário, dutoviário e multimodal)\n\n## Características\n\n- ✅ **Suporta NFe, NFCe, NFSe e CTe**\n- ✅ **QR Code** para NFCe e CTe\n- ✅ **Código de barras** para NFe e CTe\n- ✅ **Download via webservice** para NFSe\n- ✅ **TypeScript** - Tipos completos incluídos\n- ✅ **Alta qualidade** - PDFs profissionais e bem formatados\n\n## Instalação\n\n```bash\nnpm install @nfewizard/danfe\n# ou\npnpm add @nfewizard/danfe\n```\n\n## Exemplo de Utilização\n\n### DANFE para NFe\n\n```typescript\nimport { NFE_GerarDanfe } from '@nfewizard/danfe';\n\n// Json de retorno da lib nfewizard-io\nconst data = {} as any;\nconst chave = '99999999999999999999999999999999999999999999';\n\n// Gerar DANFE\nawait NFE_GerarDanfe({\n    data, // Objeto completo com NFe, protNFe e xml\n    chave,\n    outputPath: './danfe.pdf' // Caminho onde o PDF será salvo\n});\n```\n\n### DANFE para NFCe\n\n```typescript\nimport { NFCE_GerarDanfe } from '@nfewizard/danfe';\n\n// Json de retorno da lib @nfewizard/nfce\nconst data = {} as any;\nconst chave = '99999999999999999999999999999999999999999999';\n\n// Gerar DANFE\nawait NFCE_GerarDanfe({\n    data, // Objeto completo com NFe, protNFe e xml\n    chave,\n    outputPath: './nfce-danfe.pdf', // Caminho onde o PDF será salvo\n    pageWidth: 226.772 // Largura para NFCe (80mm)\n});\n```\n\n### DACTE para CTe\n\n```typescript\nimport { CTE_GerarDacte } from '@nfewizard/danfe';\n\n// Json de retorno da lib @nfewizard/cte\nconst data = {} as any;\nconst chave = '99999999999999999999999999999999999999999999';\n\n// Gerar DACTE\nawait CTE_GerarDacte({\n    data, // Objeto completo com CTe e protCTe\n    chave,\n    outputPath: './dacte.pdf' // Caminho onde o PDF será salvo\n});\n```\n\nTambém é possível informar diretamente o XML autorizado (`cteProc`) ou o `CTe` solo.\nNeste caso a `chave` é opcional, pois é lida de `protCTe.infProt.chCTe` ou de `infCte.Id`:\n\n```typescript\nimport fs from 'fs';\nimport { CTE_GerarDacte } from '@nfewizard/danfe';\n\nawait CTE_GerarDacte({\n    data: fs.readFileSync('./cte.xml', 'utf8'),\n    outputPath: './dacte.pdf'\n});\n```\n\n### DANFSe para NFSe\n\n```typescript\nimport { NFSE_GerarDanfe } from '@nfewizard/danfe';\n\n// Gerar DANFSe localmente a partir do XML autorizado\nconst resultado = await NFSE_GerarDanfe({\n    data: xmlDaNFSe,\n    outputPath: './danfse.pdf'\n});\n\nconsole.log(resultado.message); // DANFSe gerada em './danfse.pdf'\n```\n\n## Documentação\n\nPara a documentação completa acesse [NFeWizard-io - Docs](https://nfewizard-org.github.io/)\n\n## Observações\n\n- `NodeJs`: Testado com versões 16 ou superiores.\n- `Fontes`: A biblioteca inclui fontes Arial para garantir consistência visual.\n- `PDF`: Os PDFs gerados seguem o layout padrão definido pela SEFAZ.\n\n## Contribua para Nossa Biblioteca Open Source\n\nPrimeiramente, obrigado por considerar contribuir para nossa biblioteca! Nosso projeto é de código aberto e gratuito para uso, mas manter e desenvolver novas funcionalidades requer tempo e esforço. Se você achar nosso trabalho útil e quiser apoiar nosso desenvolvimento, considere fazer uma doação.\n\n### Por que doar?\n\n- **Suporte Contínuo**: Sua doação ajuda a manter o projeto ativo e em constante evolução.\n- **Novos Recursos**: Com seu apoio, podemos adicionar novos recursos e melhorias.\n- **Manutenção e Correções**: Garantimos que bugs sejam corrigidos rapidamente e que o código esteja sempre atualizado.\n- **Reconhecimento**: Apoiadores são reconhecidos em nossa documentação e página do projeto.\n- **Fraldas**: Meu primeiro filho nasceu no inicio desse ano, fraldas são caras! 🍼🚼\n\n### Como doar?\n\nVocê pode contribuir através das seguintes plataformas:\n\n- [GitHub Sponsors](https://github.com/sponsors/Maurelima?frequency=recurring&sponsor=Maurelima)\n- **Pix**: Se preferir doar via Pix, utilize a seguinte chave:\n\n    ```\n    Chave Pix: 944ce2f2-e90f-400a-a388-bb1fe6719e02\n    Nome: Marco Lima\n    ```\n\nAgradecemos imensamente seu apoio!\n\n### Outras formas de contribuir\n\nSe você não puder doar financeiramente, existem outras maneiras valiosas de contribuir:\n\n- **Reportar Bugs**: Envie relatórios de bugs e problemas que encontrar.\n- **Submeter PRs**: Contribua com código, documentação ou testes.\n- **Espalhe a Palavra**: Compartilhe nosso projeto com amigos e colegas.\n\n## Agradecimentos\n\nAgradecemos imensamente seu apoio e contribuição. Juntos, podemos construir e manter uma ferramenta incrível para todos!\n\n**Muito obrigado!**\n\n## Criadores\n\n| [<img src=\"https://avatars.githubusercontent.com/u/59918400?s=400&u=3554ebcf0f75263637516867945ebd371e68da71&v=4\" width=\"75px;\"/>](https://github.com/Maurelima) |\n| :--------------------------------------------------------------------------------------------------------------------------------------------------------------: |\n|                                                            [Marco Lima](https://github.com/Maurelima)                                                            |\n\n## Licença\n\nProjetado com ♥ por [Marco Lima](https://github.com/Maurelima). Licenciado sob a [GPL-3.0](https://www.gnu.org/licenses/gpl-3.0.pt-br.html).\n","readmeFilename":"README.md"}