npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@siva7170/electron-printer-new

v1.0.0

Published

Node.js printer bindings - electron builds

Downloads

32

Readme

electron-printer

node-printer fork to be used with electron. It's a fork from node-printer which binary are released on github. It's a temporary solution until binary package will be available for node 5.1.x and windows / linux platforms for node-printer on electron runtime. Please refer to https://github.com/tojocky/node-printer on how to use these APIs.

Prerequisite

Install the node version used by electron (currently is 5.1.1 for electron 0.36.7). A github valid NODE_PRE_GYP_GITHUB_TOKEN must be set as env variable.

Release & Build

Remember to change the binary host with the correct version (see https://github.com/bchr02/node-pre-gyp-github). After the release, build the binaries for each OS.

Linux build

On Ubuntu 15.10, install:

sudo apt-get install libudev-dev libusb-1.0-0-dev g++-multilib libudev-dev:i386 libcups2-dev

And then run npm run release-linux (x64) or npm run release-linux-ia32 (ia32) to publish the binary build

Windows build

Use a Windows 7 on x64. Install Visual Studio (2013 is OK on Windows 7) and Python 2.7.x Always specify the VisualStudio version using --msvs_version=xxxx, foor instance npm i --msvs_version=2013

Release using npm run release-win --msvs_version=2013 (x64) or npm run release-win-ia32 --msvs_version=2013 (ia32)

OSx build

After npm i, just use npm run release-darwin (npm run release should work)