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

vect2bmp

v1.2.1

Published

Convert SVGs to bitmaps

Downloads

5

Readme

vect2bmp

vect2bmp converts SVGs and HTML pages to PNGs using PhantomJS 2.0, and thus supports webfonts.

NPM

Build status checklist

Installation

$ npm install -g vect2bmp
$ vect2bmp svgs/a.svg pngs/a.png
$ vect2bmp pages/a.html pngs/a.png
$ vect2bmp http://google.com pngs/google.png

Checklist

  • [x] passes unit tests (mocha)

  • [x] passes linter (jshint)

  • [x] run linting and unit tests on each commit locally (pre-git)

  • [ ] use code quality as a service tool to fight creeping code complexity. Codacy, CodeClimate, BitHound

  • [x] validate commit message using (pre-git)

  • [ ] use logging library to show more information during debugging or verbose mode. debug, logdown

  • [ ] show the project's GitHub open issues on demand or on commit using git-issues

  • [x] continuous integration server (TravisCI)

  • [x] add badges to the README to make broken unit tests or out of date dependencies visible

    • ci server badge
  • [x] check module published size and white list only necessary files, tutorial

  • [ ] setup semantic-release to automate publishing and avoid breaking semver. This is important, but is currently broken in too many projects. Even this checklist is using semver!

  • [ ] avoid surprizes by using exact versions of the top level dependencies. Use save-exact NPM setting and exact-semver to enforce it.

  • [ ] setup a script to reliably update out of date dependencies using next-update

    • [ ] setup automatic pull requests when newer versions of dependencies appear greenkeeper.io
  • [ ] if writing a CLI tool, add a way to check if it is out of date and should be upgraded; update-notifier

  • [ ] scan dependencies and code for known security vulnerabilities. snyk, NodeSecurity

  • [ ] catch missing or invalid package.json values using grunt-nice-package or fixpack

  • [x] write simple installation commands for your module

  • [x] write "quick intro" example showing the main feature of your module

  • [ ] add CONTRIBUTING.md file with clear guidelines how others can add new features or fix bugs in your module. Atom editor and lodash have excellent examples to follow. When GitHub finds a CONTRIBUTING.md file it shows a message to anyone opening an issue.

  • [ ] generate documentation automatically. xplain is my own tool for JS to HTML/Markdown generation

  • [ ] place most of the public API documentation in README file for simple retrieval. This allows other developers to find relevant sections right from the command line manpm or by looking up npm home package-name

  • [ ] use a library to output the correct plural forms of words in the user messages pluralize

Source: npm-module-checklist