@agrinous/epson-escpos

A minimal js implementation of the Epson ESC POS printer commands

Usage no npm install needed!

<script type="module">
  import agrinousEpsonEscpos from 'https://cdn.skypack.dev/@agrinous/epson-escpos';
</script>

README

epson-escpos

Samples

Check out the samples folder for some examples of how to use this library.

Building

Simply run yarn build to rebuild the library. This will build to the intermediary /build folder. Here you will find the compiled samples to run as well as a copy of the library itself.

Packaging

Packaging the library is achieved by running yarn package. This will rebuild the to the intermediary directory, and copy the final library to the /lib folder. This may be useful for locally including the library via the file:/ protocol in npm or yarn.

Publishing

Execute the command yarn publish to rebuild the package and publish a new version to NPM.

Appendix

Command technical references