{"versions":{"2.0.0":{"name":"@thesusheer/electron-printer","description":"Node API (N-API) supported electron.s || node.js printer bindings","homepage":"https://github.com/Susheer/electron-printer","version":"2.0.0","main":"./lib/binding.js","types":"types/index.d.ts","dependencies":{"node-addon-api":"^8.1.0"},"scripts":{"install":"prebuild-install || node-gyp rebuild","rebuild":"node-gyp rebuild","electron-rebuild":"node-gyp rebuild --target_platform=win32 --target_arch=x64  --runtime=electron --target=32.2.0 --dist-url=https://electronjs.org/headers","test":"node --test test/"},"gypfile":true,"author":{"name":"Ion Lupascu","email":"ionlupascu@gmail.com","url":"http://program-support.co.uk/"},"contributors":[{"name":"Sudheer Gupta","email":"sudheergupta0508@gmail.com"},{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"}],"repository":{"type":"git","url":"git://github.com/Susheer/electron-printer.git"},"binary":{"module_name":"electron_printer","module_path":"./lib/","host":"https://github.com/Susheer/node-printer/releases/download/","remote_path":"v{version}"},"licenses":[{"type":"BSD"}],"_id":"@thesusheer/electron-printer@2.0.0","gitHead":"32a95bea5648d582f86a0ca6a72ad0b101fe72c3","bugs":{"url":"https://github.com/Susheer/electron-printer/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-2bkj652/Qs0dqpnPHcAx5Mk1XjtdU5j3/NBrYIv/27KBzvvWBZepyMVkeqQFE6RdQSMy8Ek4+cpchOm2+b1k/w==","shasum":"92157d01c8ca9e9af147abf3455bb290e7f4f1a2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@thesusheer/electron-printer/-/electron-printer-2.0.0.tgz","fileCount":74,"unpackedSize":13892125,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC87aTbuxXLwBxOhezicx7GxpVR9DdYyNAMffB/2P2K+wIhALc5L/nbnV+bTo5+nCXeFy2jbd5ungP4gGo69piDQslp"}],"size":3312323},"_npmUser":{"name":"anonymous","email":"sudheergupta0508@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sudheergupta0508@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/electron-printer_2.0.0_1730991080739_0.19657199789644308"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-07T14:51:21.097Z","publish_time":1730991081097,"_source_registry_name":"default","hasInstallScript":true},"2.0.1":{"name":"@thesusheer/electron-printer","description":"Node API (N-API) supported electron.s || node.js printer bindings","homepage":"https://github.com/Susheer/electron-printer","version":"2.0.1","main":"./lib/binding.js","types":"types/index.d.ts","dependencies":{"node-addon-api":"^8.1.0"},"scripts":{"install":"prebuild-install || node-gyp rebuild","rebuild":"node-gyp rebuild","electron-rebuild":"node-gyp rebuild --target_platform=win32 --target_arch=x64  --runtime=electron --target=32.2.0 --dist-url=https://electronjs.org/headers","test":"node --test test/"},"gypfile":true,"author":{"name":"Ion Lupascu","email":"ionlupascu@gmail.com","url":"http://program-support.co.uk/"},"contributors":[{"name":"Sudheer Gupta","email":"sudheergupta0508@gmail.com"},{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"}],"repository":{"type":"git","url":"git://github.com/Susheer/electron-printer.git"},"binary":{"module_name":"electron_printer","module_path":"./lib/","host":"https://github.com/Susheer/node-printer/releases/download/","remote_path":"v{version}"},"licenses":[{"type":"BSD"}],"_id":"@thesusheer/electron-printer@2.0.1","gitHead":"9091f2b704edb9a8dc87c1d571e09f477a8eb805","bugs":{"url":"https://github.com/Susheer/electron-printer/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-N50uh4tUu+mxMHeZsB6XNeApzHAg3oUogP6PSAUajLQ9q+xYFDqZylA8edyxLUSvDiV+GU3mhMffjZdmQHAUDw==","shasum":"d8aefdb68ce7f3e6b7248c3b22fe8c5160693164","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@thesusheer/electron-printer/-/electron-printer-2.0.1.tgz","fileCount":76,"unpackedSize":14587556,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4jpPBlk/0tQJQqL0FKhOjU2YOngmB2QidTD8/4FNmLAIgbMR7EfC/rqD9SgAHPEGSVQbCI0r6MSYUsdrflxZbMp4="}],"size":3490546},"_npmUser":{"name":"anonymous","email":"sudheergupta0508@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sudheergupta0508@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/electron-printer_2.0.1_1731073988976_0.9662213046207513"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-08T13:53:09.241Z","publish_time":1731073989241,"_source_registry_name":"default","hasInstallScript":true},"2.0.2":{"name":"@thesusheer/electron-printer","description":"Node API (N-API) supported electron.s || node.js printer bindings","homepage":"https://github.com/Susheer/electron-printer","version":"2.0.2","main":"./lib/index.js","types":"types/index.d.ts","dependencies":{"node-addon-api":"^8.1.0"},"scripts":{"install":"prebuild-install || node-gyp rebuild","rebuild":"node-gyp rebuild","electron-rebuild":"node-gyp rebuild --target_platform=win32 --target_arch=x64  --runtime=electron --target=32.2.0 --dist-url=https://electronjs.org/headers","test":"node --test test/"},"gypfile":true,"author":{"name":"Ion Lupascu","email":"ionlupascu@gmail.com","url":"http://program-support.co.uk/"},"contributors":[{"name":"Sudheer Gupta","email":"sudheergupta0508@gmail.com"},{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/Susheer/electron-printer.git"},"binary":{"module_name":"electron_printer","module_path":"./lib/","host":"https://github.com/Susheer/electron-printer/releases/download/","remote_path":"v{version}"},"licenses":[{"type":"BSD"}],"devDependencies":{"grunt":"^1.6.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-jshint":"^3.2.0","grunt-node-gyp":"^5.0.0","grunt-shell":"^4.0.0","node-pre-gyp":"^0.17.0","node-pre-gyp-github":"^1.4.5"},"_id":"@thesusheer/electron-printer@2.0.2","gitHead":"da38f054cc80945dede1c049df1d333986bc77d6","bugs":{"url":"https://github.com/Susheer/electron-printer/issues"},"_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-Yp2M0oYY5cpdLkJjKIMdjvbiJ5kt2AquSwZIWAbt0ym9JUpEdsru755qhEoJM2yPncKJh3gEoQnZvbl4/JWhUg==","shasum":"7476db8db2bb7a60f7c2e96361f04427ff27d394","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@thesusheer/electron-printer/-/electron-printer-2.0.2.tgz","fileCount":35,"unpackedSize":855823,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDY/aUnmNXYY8rE6HRKYTXxC+QR0PduiWYlBWGf1ZBcVQIhAK7MwFPS2ZKZab5sBnEdu+026lHTUWP4Ldz8wII7uhTC"}],"size":418398},"_npmUser":{"name":"anonymous","email":"sudheergupta0508@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sudheergupta0508@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/electron-printer_2.0.2_1731397902031_0.1251739089797672"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-12T07:51:42.324Z","publish_time":1731397902324,"_source_registry_name":"default","hasInstallScript":true},"2.0.3":{"name":"@thesusheer/electron-printer","description":"Node API (N-API) supported electron.s || node.js printer bindings","homepage":"https://github.com/Susheer/electron-printer","version":"2.0.3","main":"./lib/index.js","types":"types/index.d.ts","dependencies":{"node-addon-api":"^8.1.0"},"scripts":{"install":"prebuild-install || node-gyp rebuild","rebuild":"node-gyp rebuild","release":"node-pre-gyp-github publish --release --commitish main","electron-rebuild":"node-gyp rebuild --target_platform=win32 --target_arch=x64  --runtime=electron --target=32.2.0 --dist-url=https://electronjs.org/headers","test":"node --test test/"},"gypfile":false,"author":{"name":"Ion Lupascu","email":"ionlupascu@gmail.com","url":"http://program-support.co.uk/"},"contributors":[{"name":"Sudheer Gupta","email":"sudheergupta0508@gmail.com"},{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/Susheer/electron-printer.git"},"binary":{"module_name":"electron_printer","module_path":"./lib/","host":"https://github.com/Susheer/electron-printer/releases/download/","remote_path":"v{version}"},"licenses":[{"type":"BSD"}],"devDependencies":{"grunt":"^1.6.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-jshint":"^3.2.0","grunt-node-gyp":"^5.0.0","grunt-shell":"^4.0.0","node-pre-gyp":"^0.17.0","node-pre-gyp-github":"github:Susheer/node-pre-gyp-github"},"_id":"@thesusheer/electron-printer@2.0.3","gitHead":"ca29300645fefcdc78b46b8f0b0a039f0d498fd7","bugs":{"url":"https://github.com/Susheer/electron-printer/issues"},"_nodeVersion":"20.18.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-SepUQaU0RPpK0imcsHhTlzF9Tw3SwS+odMFLtkTnNWlEWCycSja5jaK+3PIU8qqOT3bJSMDPLQXl5CjbMD1wFA==","shasum":"80f3253eae1cf7b68d1ff30d055f31379844ff05","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@thesusheer/electron-printer/-/electron-printer-2.0.3.tgz","fileCount":35,"unpackedSize":855952,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCsv/oaaX4WV1bNQamj9KVgqYjWQc/FJlMS8VALQcLMkQIgBTB0hhgvzsG0cdpDp+NOK/6IaH+yQnC9ZCXqBvhKB3U="}],"size":418590},"_npmUser":{"name":"anonymous","email":"sudheergupta0508@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sudheergupta0508@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/electron-printer_2.0.3_1744015368181_0.7373056462974017"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-07T08:42:48.466Z","publish_time":1744015368466,"_source_registry_name":"default","hasInstallScript":true},"2.0.4":{"name":"@thesusheer/electron-printer","description":"Node API (N-API) supported electron.s || node.js printer bindings","homepage":"https://github.com/Susheer/electron-printer","version":"2.0.4","main":"./lib/index.js","types":"types/index.d.ts","dependencies":{"node-addon-api":"^8.1.0"},"scripts":{"install":"prebuild-install || node-gyp rebuild","rebuild":"node-gyp rebuild","release":"node-pre-gyp-github publish --release --commitish main","electron-rebuild":"node-gyp rebuild --target_platform=win32 --target_arch=x64  --runtime=electron --target=32.2.0 --dist-url=https://electronjs.org/headers","test":"node --test test/"},"author":{"name":"Ion Lupascu","email":"ionlupascu@gmail.com","url":"http://program-support.co.uk/"},"contributors":[{"name":"Sudheer Gupta","email":"sudheergupta0508@gmail.com"},{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/Susheer/electron-printer.git"},"binary":{"module_name":"electron-printer","module_path":"./lib/","host":"https://github.com/Susheer/electron-printer/releases/download/","remote_path":"v{version}","tag_path":"https://github.com/Susheer/electron-printer/releases/tag/v{version}"},"licenses":[{"type":"BSD"}],"devDependencies":{"@mapbox/node-pre-gyp":"^2.0.0","grunt":"^1.6.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-jshint":"^3.2.0","grunt-node-gyp":"^5.0.0","grunt-shell":"^4.0.0","node-pre-gyp-github":"github:Susheer/node-pre-gyp-github"},"_id":"@thesusheer/electron-printer@2.0.4","gitHead":"9b9031850783766bb7c63d19713ca6006de3fc6b","bugs":{"url":"https://github.com/Susheer/electron-printer/issues"},"_nodeVersion":"20.18.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-sSjDC68971G1zamvOXOnkISs9OClrfziRZfj3Oa4VzeBY2ncWu3ee1ctSxapBInWZsvLkKI5UBVPZtGZ2Cu20g==","shasum":"fe74546c7824fe50b32e0cb67c11a4e70c05ebe8","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@thesusheer/electron-printer/-/electron-printer-2.0.4.tgz","fileCount":35,"unpackedSize":855952,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCI5bwvG0o4dY2H+/XVYLDHaxuzAOsdxx/yGgu/mKQaEQIhAIEiect0CcmGwDrVXCUKWupn7gPa4Ji9zjpPGQRqRr48"}],"size":418551},"_npmUser":{"name":"anonymous","email":"sudheergupta0508@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sudheergupta0508@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/electron-printer_2.0.4_1744113077139_0.19046231806554137"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-08T11:51:17.432Z","publish_time":1744113077432,"_source_registry_name":"default","hasInstallScript":true},"3.1.0":{"name":"@thesusheer/electron-printer","description":"Node API (N-API) supported electron.s || node.js printer bindings","homepage":"https://github.com/Susheer/electron-printer","version":"3.1.0","main":"./lib/index.js","types":"types/index.d.ts","dependencies":{"node-addon-api":"^8.1.0","prebuild-install":"^7.1.3"},"scripts":{"install":"prebuild-install","rebuild":"node-gyp rebuild","release":"node-pre-gyp-github publish --release --commitish main","electron-rebuild":"node-gyp rebuild --target_platform=win32 --target_arch=x64  --runtime=electron --target=32.2.0 --dist-url=https://electronjs.org/headers","test":"node --test test/","grunt:release":"grunt release"},"author":{"name":"Ion Lupascu","email":"ionlupascu@gmail.com","url":"http://program-support.co.uk/"},"contributors":[{"name":"Sudheer Gupta","email":"sudheergupta0508@gmail.com"},{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/Susheer/electron-printer.git"},"binary":{"module_name":"electron-printer","module_path":"./lib/","host":"https://github.com/Susheer/electron-printer/releases/download/","remote_path":"v{version}","tag_path":"https://github.com/Susheer/electron-printer/releases/tag/v{version}"},"licenses":[{"type":"BSD"}],"devDependencies":{"@mapbox/node-pre-gyp":"^2.0.0","grunt":"^1.6.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-jshint":"^3.2.0","grunt-node-gyp":"^5.0.0","grunt-shell":"^4.0.0","node-pre-gyp-github":"github:Susheer/node-pre-gyp-github"},"_id":"@thesusheer/electron-printer@3.1.0","gitHead":"92579eaf4e02fe3f7eb2e1b66976dd128865616b","bugs":{"url":"https://github.com/Susheer/electron-printer/issues"},"_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-wgzT6OgHmVMA1u/7sBgsnvISnLhbweCSGmrebHMINrevkW1p3j5fXhCqpQrbM+8t5hN8KU+dRoAJWa4GdbehlQ==","shasum":"d953498d2218ba9fd0fa4adf83e1bd4c80734f43","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@thesusheer/electron-printer/-/electron-printer-3.1.0.tgz","fileCount":8,"unpackedSize":828398,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDGs91JbrXDj/8jEDuy5rYN4r4vQb5muR+WTZTCOfx0zAiAjyktczsX1miZ0MVEYNrTPDoXMQISf6qN8OcIdDBTabg=="}],"size":410635},"_npmUser":{"name":"anonymous","email":"sudheergupta0508@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sudheergupta0508@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/electron-printer_3.1.0_1784276536873_0.07719378797082177"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-07-17T08:22:17.080Z","publish_time":1784276537080,"_source_registry_name":"default"},"4.0.1":{"name":"@thesusheer/electron-printer","description":"Node API (N-API) supported electron.s || node.js printer bindings","homepage":"https://github.com/Susheer/electron-printer","version":"4.0.1","main":"./lib/index.js","types":"types/index.d.ts","dependencies":{"node-addon-api":"^8.1.0","prebuild-install":"^7.1.3"},"scripts":{"install":"prebuild-install --runtime=napi","rebuild":"node-gyp rebuild","release":"node-pre-gyp-github publish --release --commitish main","electron-rebuild":"node-gyp rebuild --target_platform=win32 --target_arch=x64  --runtime=electron --target=32.2.0 --dist-url=https://electronjs.org/headers","test":"node --test test/","grunt:release":"grunt release"},"author":{"name":"Ion Lupascu","email":"ionlupascu@gmail.com","url":"http://program-support.co.uk/"},"contributors":[{"name":"Sudheer Gupta","email":"sudheergupta0508@gmail.com"},{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/Susheer/electron-printer.git"},"binary":{"module_name":"electron-printer","module_path":"./lib/{napi_build_version}/{platform}/{arch}/","host":"https://github.com/Susheer/electron-printer/releases/download/","remote_path":"v{version}","package_name":"{module_name}-v{version}-napi-v{napi_build_version}-{platform}-{arch}.tar.gz","napi_versions":[8]},"licenses":[{"type":"BSD"}],"buildMatrix":{"platforms":[{"os":"win32","architectures":["ia32","x64"]},{"os":"linux","architectures":["x64","arm64"]},{"os":"darwin","architectures":["x64","arm64"]}]},"devDependencies":{"@mapbox/node-pre-gyp":"^2.0.0","grunt":"^1.6.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-jshint":"^3.2.0","grunt-node-gyp":"^5.0.0","grunt-shell":"^4.0.0","node-pre-gyp-github":"github:Susheer/node-pre-gyp-github"},"_id":"@thesusheer/electron-printer@4.0.1","gitHead":"6b772e9de9e2359840871c6359bec11763e026cb","bugs":{"url":"https://github.com/Susheer/electron-printer/issues"},"_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Mn1QUFSInbNfl9pcX58wMQweVSTzaji20RuL+AlqsuZG7LaPrLNwhjQkONpnlE0Pjhj1rXJujJ0Zzo+yjQvT/Q==","shasum":"e0c328dae5e2aed80b505d4cb6a604b85008b863","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@thesusheer/electron-printer/-/electron-printer-4.0.1.tgz","fileCount":7,"unpackedSize":538189,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD6eNtzTdWNnijTBpk1usvp1lpoDXw/8O6NnvPNznrs6gIhAJ/67veO4WAGgG4jfCd/6qYhbWF2E5OdWrocLezK7WKk"}],"size":268363},"_npmUser":{"name":"anonymous","email":"sudheergupta0508@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sudheergupta0508@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/electron-printer_4.0.1_1784292430976_0.7362983190865628"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-07-17T12:47:11.138Z","publish_time":1784292431138,"_source_registry_name":"default"},"4.0.2":{"name":"@thesusheer/electron-printer","description":"Node API (N-API) supported electron.s || node.js printer bindings","homepage":"https://github.com/Susheer/electron-printer","version":"4.0.2","main":"./lib/index.js","types":"types/index.d.ts","dependencies":{"node-addon-api":"^8.1.0","@mapbox/node-pre-gyp":"^2.0.0"},"scripts":{"install":"node-pre-gyp install","rebuild":"node-gyp rebuild","release":"node-pre-gyp-github publish --release --commitish main","electron-rebuild":"node-gyp rebuild --target_platform=win32 --target_arch=x64  --runtime=electron --target=32.2.0 --dist-url=https://electronjs.org/headers","test":"node --test test/","grunt:release":"grunt release"},"author":{"name":"Ion Lupascu","email":"ionlupascu@gmail.com","url":"http://program-support.co.uk/"},"contributors":[{"name":"Sudheer Gupta","email":"sudheergupta0508@gmail.com"},{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/Susheer/electron-printer.git"},"binary":{"module_name":"electron-printer","module_path":"./lib/{napi_build_version}/{platform}/{arch}/","host":"https://github.com/Susheer/electron-printer/releases/download/","remote_path":"v{version}","package_name":"{module_name}-v{version}-napi-v{napi_build_version}-{platform}-{arch}.tar.gz","napi_versions":[8]},"licenses":[{"type":"BSD"}],"buildMatrix":{"platforms":[{"os":"win32","architectures":["ia32","x64"]},{"os":"linux","architectures":["x64","arm64"]},{"os":"darwin","architectures":["x64","arm64"]}]},"devDependencies":{"grunt":"^1.6.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-jshint":"^3.2.0","grunt-node-gyp":"^5.0.0","grunt-shell":"^4.0.0","node-pre-gyp-github":"github:Susheer/node-pre-gyp-github"},"_id":"@thesusheer/electron-printer@4.0.2","gitHead":"6b772e9de9e2359840871c6359bec11763e026cb","bugs":{"url":"https://github.com/Susheer/electron-printer/issues"},"_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-0ECTvXwaL84iPKTgUnvu1s18E1y4jysQzjFMk6+a11nCvmXpCebHlkz3h7PXJ04WGfBw/P3SEoXJl+84Jzjo1w==","shasum":"ca649b1c9c2cc5935916ca214d2b8d3233fde8bc","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@thesusheer/electron-printer/-/electron-printer-4.0.2.tgz","fileCount":7,"unpackedSize":538143,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD2glSkFMlJvtTDUnzrSphPQ1YqNMXVJA8EcgmsMy34oQIhAMg5ijJY8zf/A1zSK48WiXnVpjvQHTYISDyKlcudPxBC"}],"size":268352},"_npmUser":{"name":"anonymous","email":"sudheergupta0508@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sudheergupta0508@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/electron-printer_4.0.2_1784293904838_0.284244030947016"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-07-17T13:11:44.974Z","publish_time":1784293904974,"_source_registry_name":"default"}},"dist-tags":{"latest":"4.0.2"},"name":"@thesusheer/electron-printer","time":{"created":"2024-11-07T15:29:23.504Z","modified":"2026-07-17T13:12:03.420Z","2.0.0":"2024-11-07T14:51:21.097Z","2.0.1":"2024-11-08T13:53:09.241Z","2.0.2":"2024-11-12T07:51:42.324Z","2.0.3":"2025-04-07T08:42:48.466Z","2.0.4":"2025-04-08T11:51:17.432Z","3.1.0":"2026-07-17T08:22:17.080Z","4.0.1":"2026-07-17T12:47:11.138Z","4.0.2":"2026-07-17T13:11:44.974Z"},"readme":"# @thesusheer/electron-printer\r\n\r\n**No recompilation required when upgrading Node.js versions, thanks to N-API!** 🎉\r\n\r\nNative bind printers on POSIX and Windows OS from Node.js, Electron, and node-webkit.\r\n\r\n## Runtime Compatibility\r\n\r\nThis package distributes N-API binaries.\r\n\r\nThe same binary can be used across supported versions of:\r\n\r\n- Node.js\r\n- Electron\r\n- NW.js\r\n\r\nwithout recompilation, provided the runtime supports the targeted N-API version.\r\n\r\n> Supports Node.js versions from 8.0.0 onwards, including the latest versions, thanks to the transition to N-API.\r\n\r\nIf you have a problem, ask a question on !Gitter or find/create a new Github issue\r\n\r\n___\r\n### **Below is the original README**\r\n___\r\n### Reason:\r\n\r\nI was involved in a project where I needed to print from Node.js. This is the reason why I created this project and I want to share my code with others.\r\n\r\n### Features:\r\n\r\n* No dependencies on NAN or V8;\r\n* Native method wrappers for Windows and POSIX (which uses CUPS 1.4/MAC OS X 10.6) APIs;\r\n* Compatible with Node.js versions that support N-API, ensuring long-term stability and compatibility;\r\n* Compatible with Electron versions that support N-API, reducing the need for frequent recompilation;\r\n* `getPrinters()` to enumerate all installed printers with current jobs and statuses;\r\n* `getPrinter(printerName)` to get a specific/default printer info with current jobs and statuses;\r\n* `getPrinterDriverOptions(printerName)` (POSIX only) to get a specific/default printer driver options such as supported paper size and other info;\r\n* `getSelectedPaperSize(printerName)` (POSIX only) to get a specific/default printer default paper size from its driver options;\r\n* `getDefaultPrinterName()` returns the default printer name;\r\n* `printDirect(options)` to send a job to a specific/default printer, now supports CUPS options passed in the form of a JS object (see `cancelJob.js` example). To print a PDF from Windows, it is possible by using node-pdfium module to convert a PDF format into EMF and then send it to the printer as EMF;\r\n* `printFile(options)` (POSIX only) to print a file;\r\n* `getSupportedPrintFormats()` to get all possible print formats for the `printDirect` method, which depends on the OS. `RAW` and `TEXT` are supported on all OSes;\r\n* `getJob(printerName, jobId)` to get specific job info including job status;\r\n* `setJob(printerName, jobId, command)` to send a command to a job (e.g., `'CANCEL'` to cancel the job);\r\n* `getSupportedJobCommands()` to get supported job commands for `setJob()`, depending on the OS. The `'CANCEL'` command is supported on all OSes.\r\n\r\n### How to install:\r\n```\r\nnpm install @thesusheer/electron-printer\r\n```\r\n### Distribution Change Notice\r\nStarting from this version, the npm package distributes only runtime JavaScript\r\nfiles and prebuilt binaries. Native C++ source files, build scripts, and other\r\ndevelopment-only artifacts are intentionally excluded to ensure compatibility\r\nwith enterprise security scanners and clean production deployments.\r\n\r\nIf you need to modify native code, please use the GitHub repository instead of\r\nnode_modules.\r\n\r\n### How to use:\r\n\r\nSee examples\r\n\r\n### Author(s):\r\n\r\n* Ion Lupascu, ionlupascu@gmail.com\r\n\r\n### Contributors:\r\n\r\n* Thiago Lugli, @thiagoelg\r\n* Eko Eryanto, @ekoeryanto\r\n* Sudheer Gupta, @susheer\r\n\r\n### Project History:\r\n\r\nThis project was originally written by Ion Lupascu using NAN and V8. It has been rewritten by @susheer to use N-API exclusively, removing dependencies on NAN and V8 to ensure better stability and compatibility with future Node.js and Electron versions.\r\n\r\n### Node.js Version Support:\r\n\r\nThis project supports Node.js versions from 8.0.0 onwards. N-API ensures that native addons do not require recompilation when upgrading Node.js versions. For more details, refer to the [Node.js N-API documentation](https://nodejs.org/api/n-api.html)¹(https://nodejs.org/api/n-api.html).\r\n\r\nFeel free to download, test, and propose new features.\r\n\r\n### License:\r\n The MIT License (MIT)\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Please open an issue or submit a pull request on GitHub.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License.\r\n\r\n### Keywords:\r\n\r\n* node-printer\r\n* printer\r\n* electron-printer\r\n* node-addon-api\r\n* POSIX printer\r\n* Windows printer\r\n* CUPS printer\r\n* print job\r\n* printer driver\r\n\r\n---","users":{}}