For documentation and examples please visit: printjs.crabbly.com
To install via npm:
npm install print-js --save
To install via yarn:
yarn add print-js
When installing via npm or yarn, import the library into your project:
import print from 'print-js'
You can find documentation at printjs.crabbly.com.
Contributing to Print.js
Contributions to Print.js are welcome and encouraged.
The issue tracker is the preferred channel for reporting bugs, requesting new features and submitting pull requests.
Keep in mind that we would like to keep this a lightweight library.
Please do not use the issues channel for support requests. For help using Print.js, please ask questions on Stack Overflow and use the tag
Well structured, detailed bug reports are hugely valuable for the project.
- Check the issue search to see if it has already been reported
- Isolate the problem to a simple test case
Please provide any additional details associated with the bug.
Clear, concise pull requests are excellent at continuing the project's community driven growth.
Please make your commits in logical sections with clear commit messages.
Setting up a dev environment
npm install npm run watch
If you want to test your modified code:
npm install http-server -g http-server
Print.js is available under the MIT license.