npm

print-js-with-headers-footers-m
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Print.js

Software License Standard - JavaScript Style Guide npm

A tiny javascript library to help printing from the web.

Installation

You can download the latest version of Print.js from the GitHub releases or use the Print.js CDN available on the documentation page.

To install via npm:

npm install print-js-with-headers-footers --save

Import the library into your project:

import printJS from 'print-js-with-headers-footers'
Setting up a dev environment
npm install
npm run watch
Tests

The library is written following the Javascript Standard code style. When running tests, we will also test for any style issues or warnings.

Automated tests are written using the Jasmine framework and Karma runner.

To run the automated tests:

npm run test

To manually test the library features:

npm start

This will serve test\manual\test.html and open http://localhost:8080/test/manual in your default browser.

License

Print.js is available under the MIT license.

Dependencies (0)

    Dev Dependencies (23)

    Package Sidebar

    Install

    npm i print-js-with-headers-footers-m

    Weekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    146 kB

    Total Files

    23

    Last publish

    Collaborators

    • max_russell1