npm install vect2bmpvect2bmp converts SVGs and HTML pages to PNGs using PhantomJS 2.0, and thus
supports webfonts.
[![NPM][vect2bmp-icon] ][vect2bmp-url]
[![Build status][vect2bmp-ci-image] ][vect2bmp-ci-url]

[vect2bmp-icon]: https://nodei.co/npm/vect2bmp.png?downloads=true
[vect2bmp-url]: https://npmjs.org/package/vect2bmp
[vect2bmp-ci-image]: https://travis-ci.org/kensho/vect2bmp.png?branch=master
[vect2bmp-ci-url]: https://travis-ci.org/kensho/vect2bmp
``sh`
$ 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
- [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][Codacy],
[CodeClimate][CodeClimate], [BitHound][BitHound]
- [x] validate commit message using (pre-git)
- [ ] use logging library to show more information during debugging or verbose mode.
[debug][debug], [logdown][logdown]
- [ ] show the project's GitHub open issues on demand or on commit using [git-issues][git-issues]
- [x] continuous integration server (TravisCI)
- [x] [add badges][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][module size]
- [ ] setup [semantic-release][semantic-release] to automate publishing
and avoid breaking [semver][semver]. This is [important][semver important],
but is currently [broken][broken semver] in too many projects. Even this checklist is using semver!
- [ ] avoid surprizes by using exact versions of the top level dependencies.
Use [save-exact][save-exact] NPM setting and [exact-semver][exact-semver] to enforce it.
- [ ] setup a script to reliably update out of date dependencies using [next-update][next-update install]
- [ ] setup automatic pull requests when newer versions of dependencies appear [greenkeeper.io][greenkeeper]
- [ ] if writing a CLI tool, add a way to check if it is out of date and should be upgraded;
[update-notifier][update-notifier]
- [ ] scan dependencies and code for known security vulnerabilities. [snyk][snyk], [NodeSecurity][NodeSecurity]
- [ ] catch missing or invalid package.json values using [grunt-nice-package][grunt-nice-package]
or [fixpack][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][atom] and [lodash][lodash] have excellent examples to follow.
When GitHub finds a CONTRIBUTING.md file it [shows a message][contributing] to anyone opening an issue.
- [ ] generate documentation automatically. [xplain][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][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][pluralize]
[egghead]: https://egghead.io
[egghead series]: https://egghead.io/series/how-to-write-an-open-source-javascript-library
[pick testing framework]: http://glebbahmutov.com/blog/picking-javascript-testing-framework/
[eslint]: http://eslint.org/
[jshint]: http://jshint.com/docs/
[jscs]: http://jscs.info/
[gulp-lint-everything]: https://github.com/bahmutov/gulp-lint-everything
[pre-git]: https://github.com/bahmutov/pre-git
[ghooks]: https://www.npmjs.com/package/ghooks
[Codacy]: https://codacy.com/
[CodeClimate]: https://codeclimate.com/
[BitHound]: https://www.bithound.io/
[commitizen]: https://www.npmjs.com/package/commitizen
[debug]: https://github.com/visionmedia/debug
[logdown]: https://github.com/caiogondim/logdown
[validate-commit-msg]: https://www.npmjs.com/package/validate-commit-msg
[git-issues]: https://www.npmjs.com/package/git-issues
[travis]: https://travis-ci.org/
[circle]: https://circleci.com/
[badges]: http://glebbahmutov.com/blog/tightening-node-project/
[nodeico]: https://nodei.co/
[david-dm]: https://david-dm.org/
[module size]: http://glebbahmutov.com/blog/smaller-published-NPM-modules/
[semantic-release]: https://github.com/semantic-release/semantic-release
[semver]: http://semver.org/
[semver important]: https://medium.com/javascript-scene/software-versions-are-broken-3d2dc0da0783#.h96ppopx3
[broken semver]: https://www.youtube.com/watch?v=tc2UgG5L7WM
[save-exact]: https://docs.npmjs.com/misc/config#save-exact
[exact-semver]: https://github.com/bahmutov/exact-semver
[next-update install]: https://github.com/bahmutov/next-update#install
[greenkeeper]: http://greenkeeper.io/
[update-notifier]: https://github.com/yeoman/update-notifier
[snyk]: https://www.npmjs.com/package/snyk
[NodeSecurity]: https://nodesecurity.io/
[grunt-nice-package]: https://github.com/bahmutov/grunt-nice-package
[fixpack]: https://github.com/henrikjoreteg/fixpack
[atom]: https://github.com/atom/atom/blob/master/CONTRIBUTING.md
[lodash]: https://github.com/lodash/lodash/blob/master/CONTRIBUTING.md
[contributing]: https://github.com/blog/1184-contributing-guidelines
[xplain]: https://github.com/bahmutov/xplain
[manpm]: https://github.com/bahmutov/manpm
[pluralize]: https://github.com/blakeembrey/pluralize
Source: npm-module-checklist