{"_id":"@elephant-healthcare/escpos-buffer-async","_rev":"22-d1d49baf8f80eb7f9a52bc7f183b9d63","name":"@elephant-healthcare/escpos-buffer-async","dist-tags":{"latest":"2.0.4"},"versions":{"2.0.1":{"name":"@elephant-healthcare/escpos-buffer-async","version":"2.0.1","author":{"name":"GrandChef Team","email":"desenvolvimento@grandchef.com.br"},"license":"MIT","_id":"@elephant-healthcare/escpos-buffer-async@2.0.1","maintainers":[{"name":"dave.cooper","email":"dave.cooper@elephant.healthcare"},{"name":"timreynolds","email":"tim@timothyreynolds.co.uk"},{"name":"grug","email":"dave@davecooper.dev"},{"name":"connell-elephant","email":"connell@elephant.healthcare"},{"name":"henshaw__","email":"james.henshaw@elephant.healthcare"},{"name":"mr-bt","email":"bruno.tavares@elephant.healthcare"},{"name":"roisemccloy","email":"roise.mccloy@elephant.healthcare"},{"name":"ludov04","email":"ludovic.vannoorenberghe@elephant.healthcare"}],"homepage":"https://github.com/tjmgregory/escpos-buffer#readme","bugs":{"url":"https://github.com/tjmgregory/escpos-buffer/issues"},"dist":{"shasum":"3c3b0c46efa440174fd7ea55aea548fbcdb49f9e","tarball":"https://registry.npmjs.org/@elephant-healthcare/escpos-buffer-async/-/escpos-buffer-async-2.0.1.tgz","fileCount":141,"integrity":"sha512-PPpL6u5S38YhwAowpBWgUL8EEUu9leHsAwYE+q0iraJIr6u2TjsynqAZ8JmQ/8doMO+JCcvJnlVnVfDkyzieHA==","signatures":[{"sig":"MEYCIQCbtykbKpLb6/TMIgGF4pVhzQfvGkLtRnZfeAB2E86nWgIhAMMp4XfIQEDfO1mzkznZc+SXR3U1xqWNdwaaGkT8gYxt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":249602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKzOmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5phAAmrH982b1KRwaxbRL0T7dz6spFilZYpyAZabOq161rbYkOLDH\r\nzoEQXlItezpe4fEcAmNcdkOjnBTAfDE5CndOgik0SN6W0sfHzki7P+VrqPgb\r\n/DY7ZNB2Lr9zz5lvnUAQt06gNcBMIz6ZT/PqTL2iuRfteGLc0d1KdruzlCqh\r\nTHTPyEvI+MgNByyR9ooNJG6zHM/GYpNe3QNR7H8rAWRKLatQTrHZDIpchIAY\r\nGPfSC8jQDpKEvtOtNaPnjVSOppZlDnkjN2oZ0wupQL0ahnS4tU3uERy1ROsz\r\n1uGH3Gt5SBm0Q/5ix+av86hpRqW7sWepHYXuEgChLEMwEIaXqmKPIFBSucj3\r\nfj6kwfmXTxVi238w7S6p6VpSEPxVCFCIJLCIi9QjLyrBIw3rEolu33I/eobM\r\nSN7JsmBl6s1MoTgq1JKKPCYf8OKnQnE4iQK/5O0EgMk+W1r+Rvw6scPyEO38\r\nRIOYhFLnqEdyFRmzWsez1AGayHDsmUFYNvlFYa1NoYwuKjefmI+RHENAt+yo\r\nTAcLyz9xs0VJeDvPyBpseVn61aBSugjGjHbLc8vsM7IErUgKeeba/u52XUc9\r\n2B4W2uQqOM7rPA6QqBGCms9j9gOWNj2R/XX4H2xm+7cJfZRVseS8FPcZu05G\r\ndznyNeCx7/sRsZqp5iWP/dw/VXrwQxYEeqw=\r\n=BsBd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">= 10"},"scripts":{"lint":"tslint -t stylish --project \"tsconfig.json\"","test":"jest --coverage","build":"tsc -d -p tsconfig.release.json","clean":"rimraf coverage dist tmp","style:fix":"prettier --write \"src/**/*.ts\"","test:debug":"node --inspect-brk=9229 node_modules/.bin/jest -i","test:watch":"jest --watch","build:watch":"tsc -w -p tsconfig.release.json","style:check":"prettier --check \"src/**/*.ts\""},"_npmUser":{"name":"grug","email":"dave@davecooper.dev"},"repository":{"url":"git+ssh://git@github.com/tjmgregory/escpos-buffer.git","type":"git"},"description":"Library to generate buffer for thermal printers.","directories":{},"licenseText":"Copyright (c) 2018 GrandChef Desenvolvimento de Sistemas LTDA\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","dependencies":{"pngjs":"^5.0.0","tslib":"~1.10.0","qrcode":"^1.4.4","iconv-lite":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"~24.9.0","rimraf":"^3.0.0","tslint":"~5.20.1","ts-jest":"^24.1.0","tsutils":"~3.17.0","prettier":"~1.19.0","typescript":"~3.7.2","@types/jest":"^24.0.21","@types/node":"^12.12.5","@types/w3c-web-usb":"1.0.4","tslint-config-prettier":"1.18.0","tslint-microsoft-contrib":"~6.2.0"},"_npmOperationalInternal":{"tmp":"tmp/escpos-buffer-async_2.0.1_1646998438078_0.7670126212240149","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@elephant-healthcare/escpos-buffer-async","version":"2.0.2","author":{"name":"GrandChef Team","email":"desenvolvimento@grandchef.com.br"},"license":"MIT","_id":"@elephant-healthcare/escpos-buffer-async@2.0.2","maintainers":[{"name":"dave.cooper","email":"dave.cooper@elephant.healthcare"},{"name":"timreynolds","email":"tim@timothyreynolds.co.uk"},{"name":"grug","email":"dave@davecooper.dev"},{"name":"connell-elephant","email":"connell@elephant.healthcare"},{"name":"henshaw__","email":"james.henshaw@elephant.healthcare"},{"name":"mr-bt","email":"bruno.tavares@elephant.healthcare"},{"name":"roisemccloy","email":"roise.mccloy@elephant.healthcare"},{"name":"ludov04","email":"ludovic.vannoorenberghe@elephant.healthcare"}],"homepage":"https://github.com/tjmgregory/escpos-buffer#readme","bugs":{"url":"https://github.com/tjmgregory/escpos-buffer/issues"},"dist":{"shasum":"376fa4da7b1e7c539bb0798398d3c6258e40195f","tarball":"https://registry.npmjs.org/@elephant-healthcare/escpos-buffer-async/-/escpos-buffer-async-2.0.2.tgz","fileCount":143,"integrity":"sha512-K2FCQC5IJpxZ2DCShr88dNDcH+A4hk27eKznDDAm/Q2cY41GxSYFWixl4gH7RVg+49YgRNlbgnMmwG/qGP8bwA==","signatures":[{"sig":"MEYCIQCw2p9HYTNEYA2shfK3xnIhstI994JpgAdv2GkWXTa0jwIhAK6sI7Br5muHWQ3L/NolFfTBTNrSK9P/izs6Wb9YNcsw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":250146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiK22RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPdRAAm0rg78ePZdImG7e15XLhrLm0fRi+Mh+/2+SA+rIblWgc5Dq8\r\nncUZh9NgKbj0E/q4rdQZT5heyE8mq2A7i4aXawz8GjjdJDuHG/98zaSmzEf9\r\nJikVEhWDjULFdd1Yj62pfFyY3EXaGSVAyMGWkySyL229Z1Pn8CP3BnAoM8ZU\r\nsapowPhFgYmPu8fMlK5iduUHlALbOqq+ksKSJiayQOEMcz47oOPyk1N9ZICX\r\nHMz61PNNASftAqRfzsquV+mV+jUTZXD35+nURwluKjWf2uphbzr3J4KPNnP9\r\nMINVC2WHTaLwwyOM9QIvGTrJe5deNpJAX+sKehg4w52v9ULgEKPk/ParbKAW\r\nIJPx3DUh5MBsEfy25oDljOs9uDqXJxoNbSnsmCt4Nf/EnWbevWcL+1rVhoar\r\nWw4ccQfrwQa6NOudhdbKAYoN7xGgShzPZgAn2Rr6k3slKPODs62wbPbqu8me\r\nXsTG4X4VMu4z4R2oUVZuGorc5zrlKHH6C0zRdXWhQa1kaRRUhoOAiTIQqi8E\r\n5c5isuMfwaA2E+f7a5aLZZ5gFQ4cQjHlcc585v3cbYrDtvkJz0MVBL1pvUK3\r\nb68F5wrphWZlQtOUgmSfvyaam+Oo6IO3ZiN29c+LLt5KmhidzSIx/iFeuja/\r\nKGd4zsL8DtWhxwMa5DA7/BYuyG0HdBU7KxY=\r\n=nHVJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">= 10"},"scripts":{"lint":"tslint -t stylish --project \"tsconfig.json\"","test":"jest --coverage","build":"tsc -d -p tsconfig.release.json","clean":"rimraf coverage dist tmp","style:fix":"prettier --write \"src/**/*.ts\"","test:debug":"node --inspect-brk=9229 node_modules/.bin/jest -i","test:watch":"jest --watch","build:watch":"tsc -w -p tsconfig.release.json","style:check":"prettier --check \"src/**/*.ts\""},"_npmUser":{"name":"grug","email":"dave@davecooper.dev"},"repository":{"url":"git+ssh://git@github.com/tjmgregory/escpos-buffer.git","type":"git"},"description":"Library to generate buffer for thermal printers.","directories":{},"licenseText":"Copyright (c) 2018 GrandChef Desenvolvimento de Sistemas LTDA\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","dependencies":{"pngjs":"^5.0.0","tslib":"~1.10.0","qrcode":"^1.4.4","iconv-lite":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"~24.9.0","rimraf":"^3.0.0","tslint":"~5.20.1","ts-jest":"^24.1.0","tsutils":"~3.17.0","prettier":"~1.19.0","typescript":"~3.7.2","@types/jest":"^24.0.21","@types/node":"^12.12.5","@types/w3c-web-usb":"1.0.4","tslint-config-prettier":"1.18.0","tslint-microsoft-contrib":"~6.2.0"},"_npmOperationalInternal":{"tmp":"tmp/escpos-buffer-async_2.0.2_1647013265161_0.26454808845149635","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"@elephant-healthcare/escpos-buffer-async","version":"2.0.3","author":{"name":"GrandChef Team","email":"desenvolvimento@grandchef.com.br"},"license":"MIT","_id":"@elephant-healthcare/escpos-buffer-async@2.0.3","maintainers":[{"name":"dave.cooper","email":"dave.cooper@elephant.healthcare"},{"name":"timreynolds","email":"tim@timothyreynolds.co.uk"},{"name":"grug","email":"dave@davecooper.dev"},{"name":"connell-elephant","email":"connell@elephant.healthcare"},{"name":"henshaw__","email":"james.henshaw@elephant.healthcare"},{"name":"mr-bt","email":"bruno.tavares@elephant.healthcare"},{"name":"roisemccloy","email":"roise.mccloy@elephant.healthcare"},{"name":"ludov04","email":"ludovic.vannoorenberghe@elephant.healthcare"}],"homepage":"https://github.com/tjmgregory/escpos-buffer#readme","bugs":{"url":"https://github.com/tjmgregory/escpos-buffer/issues"},"dist":{"shasum":"dbcd7920802c6bb482f7db1f062ea5b84518eaa9","tarball":"https://registry.npmjs.org/@elephant-healthcare/escpos-buffer-async/-/escpos-buffer-async-2.0.3.tgz","fileCount":90,"integrity":"sha512-mP7RVKvJcZ1OdkbIxrHRkQ3p4w/W1wUWWxlUFZ6/aeQbcdR3bG2+KW2kzzbJtcowwVS28js4NggZaQg4ZBI1iw==","signatures":[{"sig":"MEUCIHqXVnL3SfT+66/RAhHbxaKzE45YwIpbgC8kCktJvjCkAiEAne3jjZYrKaMlJnwwbS+35hEwsfULtOX/UAUFW+kzl1s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiK2+dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnGg/8C1LxbNObwJ3KO72riOu44s7+eAR93EqHip8JSQc1HGdNYmwP\r\n2hX5Zuj1YOn+oW097Tyd7AZtVZit27sucYbgvGeeUxO0CwchTsSuzZ881XOW\r\np0pJCGbnpFw8qrCjP/jgJPRKLRadHgrdYqnQhoiG5xCZSzSrW2FKASoT0Zx7\r\nngaOnjklOHEYwnKiyvJ5nEUSi0a5vMejIkPN8rplkrBA1v4KBYA9vpDRTktU\r\nmAQayOmiMf0Qc8NwblvwiVOOvHwCoGEPeEpvoK7v//71nQXvMvLSDnLVPQZy\r\nTDTA7LxoZhH/eZy4mff23Psj/DDkeymy+499/GqyoH1Uvh12HPuK5zCSoXlx\r\nocVi9/OuLRfptjP8moJHRJIg0GEWUpMxfqMNU5lyYN6DwLmvfWBYaQdX0K0a\r\nhosTjXGgVtKjwYyPUPLLofmu6aLmdx3b9HC71UrduKef7BQGJhDmZEIXEgyi\r\nuDlNxpc6KcrjF0xRno6+jobtVRd4zVkiEA1rNJk5dT+oDXIXZcL1sDTIlz7U\r\n5/sRreyuuVZNcO06yOqigMeZXK68Pjmpu9pknN9R5GycBQ4UerpP88kBITzo\r\nEUT9uK4afdj7Q4jDuLgKWrwq43iK++5VP2ivlfRXziddC3h1S1diPrdGwHm/\r\ni3R6rSLwSMX5XveqOoNH4lEdYKm5JSK0ykc=\r\n=E+U4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">= 10"},"scripts":{"lint":"tslint -t stylish --project \"tsconfig.json\"","test":"jest --coverage","build":"tsc -d -p tsconfig.release.json","clean":"rimraf coverage dist tmp","style:fix":"prettier --write \"src/**/*.ts\"","test:debug":"node --inspect-brk=9229 node_modules/.bin/jest -i","test:watch":"jest --watch","build:watch":"tsc -w -p tsconfig.release.json","style:check":"prettier --check \"src/**/*.ts\""},"_npmUser":{"name":"grug","email":"dave@davecooper.dev"},"repository":{"url":"git+ssh://git@github.com/tjmgregory/escpos-buffer.git","type":"git"},"description":"Library to generate buffer for thermal printers.","directories":{},"licenseText":"Copyright (c) 2018 GrandChef Desenvolvimento de Sistemas LTDA\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","dependencies":{"pngjs":"^5.0.0","tslib":"~1.10.0","qrcode":"^1.4.4","iconv-lite":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"~24.9.0","rimraf":"^3.0.0","tslint":"~5.20.1","ts-jest":"^24.1.0","tsutils":"~3.17.0","prettier":"~1.19.0","typescript":"~3.7.2","@types/jest":"^24.0.21","@types/node":"^12.12.5","@types/w3c-web-usb":"1.0.4","tslint-config-prettier":"1.18.0","tslint-microsoft-contrib":"~6.2.0"},"_npmOperationalInternal":{"tmp":"tmp/escpos-buffer-async_2.0.3_1647013789118_0.8816713884571696","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"@elephant-healthcare/escpos-buffer-async","version":"2.0.4","author":{"name":"GrandChef Team","email":"desenvolvimento@grandchef.com.br"},"license":"MIT","_id":"@elephant-healthcare/escpos-buffer-async@2.0.4","maintainers":[{"name":"dave.cooper","email":"dave.cooper@elephant.healthcare"},{"name":"timreynolds","email":"tim@timothyreynolds.co.uk"},{"name":"grug","email":"dave@davecooper.dev"},{"name":"connell-elephant","email":"connell@elephant.healthcare"},{"name":"henshaw__","email":"james.henshaw@elephant.healthcare"},{"name":"mr-bt","email":"bruno.tavares@elephant.healthcare"},{"name":"roisemccloy","email":"roise.mccloy@elephant.healthcare"},{"name":"ludov04","email":"ludovic.vannoorenberghe@elephant.healthcare"}],"homepage":"https://github.com/tjmgregory/escpos-buffer#readme","bugs":{"url":"https://github.com/tjmgregory/escpos-buffer/issues"},"dist":{"shasum":"b1e5177230bf043d97675d109c1bc12cb0840467","tarball":"https://registry.npmjs.org/@elephant-healthcare/escpos-buffer-async/-/escpos-buffer-async-2.0.4.tgz","fileCount":81,"integrity":"sha512-8SyoxQmw6xOyt+NcRWAL5aJGRAyaWtQgbL4WxfbmfSBUa752mPhIaCbgqI2lLy9to+NAP5ouB2N43xry+Itv/A==","signatures":[{"sig":"MEUCIDDbc2MC2GtPNXamrb0xFbvi54Iw+CP1Exus5IGrjK/NAiEAs6RiMHsYpXPZyzIIrckNUtBBajV46sAfH+RQfVO5GLQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiK4T/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmolIw//Z1BNgJQkxgbqcyIvRDd7g4Qqegt19Lr7Gprrx1zmY81UxOMa\r\nqCl/4i5SEKDuG7FcD2X7ESzGJ4SpB9cmgyNC7pJy2H4j3wFNn2KAuWaIh1L/\r\nKZYJv0c6Y55CKGnR6PdVuJqj9aB0aXi8bQZaMLxF41afR5wJ0Jxu7QmHlubc\r\nsrwIP6lmCTH8Yl8E5MNOZt/4/WgU9wQDw7H1I1g8gkkMw3AlKdSVG9FjGQGz\r\ncvPKMa+vMM5zNmuHBkbY7Gd9KEPC3T4PsEci7hBHdy4WHAUKr9kKsl2EXcJZ\r\nNyYTiHPq6oxJfxtywKJdsXa3+FrT8XpcBtAMHgFc4sk3YmlH8m2rIjkVsfDs\r\nGvrwOMN3chY7Ir2rBDct/W9Y2WvDwpeVclmDpV6HAZvPHtqzJT07juPO1F4/\r\nkRaZkuKJFdrExgLXr/3RihL5sQNypE8FDmQKt2wl5+1NShpzX3kcrMQvkCTk\r\nxmSm5L3hp/hjgwkU047JfKHhYPfZMufZVNjaGpiRC7yBmT8A39dXOYJhqHOR\r\n9wZWWn4m1AicWWN14s9fJrnTtemc4t2P71rsHAOdlWPV9sQ5toi8XJohNjF+\r\nmB1rwnUBtl/lb7lWZDyJBnYXZ69mWe+BWMpzt/tBtbiQkzoE1gyzHPUZW/Ix\r\ngxLY1qBcEfZEl0fBnpcVc30h8l23iQBOqlo=\r\n=jSgb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">= 10"},"scripts":{"lint":"tslint -t stylish --project \"tsconfig.json\"","test":"jest --coverage","build":"rimraf dist && tsc -d -p tsconfig.release.json","clean":"rimraf coverage dist tmp","style:fix":"prettier --write \"src/**/*.ts\"","test:debug":"node --inspect-brk=9229 node_modules/.bin/jest -i","test:watch":"jest --watch","build:watch":"tsc -w -p tsconfig.release.json","style:check":"prettier --check \"src/**/*.ts\""},"_npmUser":{"name":"grug","email":"dave@davecooper.dev"},"repository":{"url":"git+ssh://git@github.com/tjmgregory/escpos-buffer.git","type":"git"},"description":"Library to generate buffer for thermal printers.","directories":{},"licenseText":"Copyright (c) 2018 GrandChef Desenvolvimento de Sistemas LTDA\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","dependencies":{"pngjs":"^5.0.0","tslib":"~1.10.0","qrcode":"^1.4.4","iconv-lite":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"~24.9.0","rimraf":"^3.0.0","tslint":"~5.20.1","ts-jest":"^24.1.0","tsutils":"~3.17.0","prettier":"~1.19.0","typescript":"~3.7.2","@types/jest":"^24.0.21","@types/node":"^12.12.5","@types/w3c-web-usb":"1.0.4","tslint-config-prettier":"1.18.0","tslint-microsoft-contrib":"~6.2.0"},"_npmOperationalInternal":{"tmp":"tmp/escpos-buffer-async_2.0.4_1647019263098_0.5659150522285195","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-03-11T11:33:58.017Z","modified":"2026-02-26T15:49:46.557Z","2.0.1":"2022-03-11T11:33:58.317Z","2.0.2":"2022-03-11T15:41:05.383Z","2.0.3":"2022-03-11T15:49:49.299Z","2.0.4":"2022-03-11T17:21:03.229Z"},"bugs":{"url":"https://github.com/tjmgregory/escpos-buffer/issues"},"author":{"name":"GrandChef Team","email":"desenvolvimento@grandchef.com.br"},"license":"MIT","homepage":"https://github.com/tjmgregory/escpos-buffer#readme","repository":{"url":"git+ssh://git@github.com/tjmgregory/escpos-buffer.git","type":"git"},"description":"Library to generate buffer for thermal printers.","maintainers":[{"email":"tjmg@outlook.com","name":"tjmgregory"},{"email":"ci@elephant.healthcare","name":"ci-elephant"},{"email":"wmboult94@gmail.com","name":"warrenboult"},{"email":"andrew.hale@elephant.healthcare","name":"andrewhale"},{"email":"eng_admin@elephant.healthcare","name":"eng_admin"}],"readme":"[![Latest Version][version-badge]][npm-link]\n[![Build Status][github-badge]][github-ci]\n[![TypeScript version][ts-badge]][typescript-37]\n[![Node.js version][nodejs-badge]][nodejs]\n[![MIT][license-badge]][license]\n\n# ESC/POS Printer Library\n\nLibrary to generate buffer for thermal printers.\n\n## Install\n\nRun command bellow on your project folder\n\n```sh\nyarn add escpos-buffer\n```\n\nor\n\n```sh\nnpm install escpos-buffer\n```\n\n## Setup\n\n### Node\n\n```js\nconst { Printer, InMemory } = require('escpos-buffer');\n\nconst connection = new InMemory();\nconst printer = new Printer('MP-4200 TH', connection);\n```\n\n### Browser\n\nUse the WebUSB protocol [in Chrome](https://caniuse.com/webusb) to connect directly to the printer.\n\n```js\nimport { Printer, Model, WebUSB } from 'escpos-buffer';\n\nconst device = await navigator.usb.requestDevice({\n  filters: [\n    {\n      vendorId: VENDOR_ID,\n    },\n  ],\n});\nconst connection = new WebUSB(device);\nconst printer = await Printer.connect('TM-T20', connection);\n```\n\n## Usage\n\n```js\n// Following setup above...\nawait printer.columns = 56\nawait printer.write('Simple Text *** ')\nawait printer.writeln('Bold Text -> complete line text.[]123456', Style.Bold)\nawait printer.writeln('Double height', Style.DoubleHeight | Style.Bold, Align.Center)\nawait printer.writeln('Áçênts R$ 5,00', Style.DoubleWidth | Style.DoubleWidth, Align.Center)\nawait printer.withStyle({\n  width: 4,\n  height: 6,\n  bold: true,\n  italic: true,\n  underline: true,\n  align: Align.Center,\n  }, () => {\n    printer.writeln('You can apply multiple styles at once using withStyle()')\n    printer.writeln('Font sizes 1-8 are available')\n})\nawait printer.writeln('Default style is restored afterwards')\nawait printer.feed(6)\nawait printer.buzzer()\nawait printer.cutter()\nawait printer.drawer(Drawer.First)\nprocess.stdout.write(connection.buffer())\n\n// to print, run command bellow on terminal\n//> node examples/basic.js | lp -d MyCupsPrinterName\n```\n\n## Usage in the browser\n\n## Available scripts\n\n- `clean` - remove coverage data, Jest cache and transpiled files,\n- `build` - transpile TypeScript to ES6,\n- `build:watch` - interactive watch mode to automatically transpile source files,\n- `lint` - lint source files and tests,\n- `style:fix` - fix prettier style problems,\n- `style:check` - check for prettier style,\n- `test` - run tests,\n- `test:watch` - interactive watch mode to automatically re-run tests\n- `test:debug` - run tests debugging\n\n## License\n\nLicensed under the MIT. See the [LICENSE](https://github.com/grandchef/escpos-buffer/blob/master/LICENSE) file for details.\n\n[ts-badge]: https://img.shields.io/badge/TypeScript-3.7-blue.svg\n[typescript-37]: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html\n[nodejs-badge]: https://img.shields.io/badge/Node.js->=%2010-blue.svg\n[nodejs]: https://nodejs.org/dist/latest-v10.x/docs/api/\n[github-badge]: https://github.com/grandchef/escpos-buffer/actions/workflows/main.yml/badge.svg\n[github-ci]: https://github.com/grandchef/escpos-buffer/actions\n[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg\n[license]: https://github.com/grandchef/escpos-buffer/blob/master/LICENSE\n[version-badge]: https://img.shields.io/npm/v/escpos-buffer?label=escpos-buffer\n[npm-link]: https://www.npmjs.com/package/escpos-buffer\n","readmeFilename":"README.md"}