Vue Print NB
JSON →vue-print-nb is a JavaScript library providing a Vue directive for client-side printing of web content. It enables developers to print either the entire current page, specific HTML elements identified by an ID, or content from a specified URL (subject to same-origin policy). The library exists in two distinct packages to support different major Vue versions: `vue-print-nb` for Vue 2 applications (currently at version 1.7.5) and `vue3-print-nb` for Vue 3 applications (currently at version 0.1.4). Its key differentiator is its straightforward API for declarative printing via a `v-print` directive, offering options for custom titles, injecting extra CSS, and executing lifecycle callbacks before, during, and after the print operation. It doesn't appear to follow a strict major-minor-patch release cadence, with updates driven by bug fixes and compatibility requirements.
Traffic · last 30 days ↓29% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France