New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

spritesmith

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spritesmith - npm Package Compare versions

Comparing version 0.19.1 to 0.19.2

2

CHANGELOG.md
# spritesmith changelog
0.19.2 - Updated documentation for adding new engines. Fixes #44
0.19.1 - Added link to `gulp.spritesmith` via @hitautodestruct in #40

@@ -3,0 +5,0 @@

2

package.json
{
"name": "spritesmith",
"version": "0.19.1",
"version": "0.19.2",
"description": "Utility that takes images and creates a spritesheet with JSON sprite data",

@@ -5,0 +5,0 @@ "main": "src/smith.js",

@@ -94,8 +94,15 @@ # Spritesmith [![Build status](https://travis-ci.org/Ensighten/spritesmith.png?branch=master)](https://travis-ci.org/Ensighten/spritesmith)

### Adding new engines
Example engines can be found in [src/engines](tree/master/src/engines).
Engine specifications can be found in [spritesmith-engine-test][].
[spritesmith-engine-test]: https://github.com/twolfson/spritesmith-engine-test
New engines can be added via `Spritesmith.addEngine(name, engine);`.
If you decide to build a new engine, there are some utilities in [src/utils](tree/master/src/utils) which may be helpful.
Some existing engines are:
- [canvassmith](https://github.com/twolfson/canvassmith)
- [pngsmith](https://github.com/twolfson/pngsmith)
- [phantomjssmith](https://github.com/twolfson/phantomjssmith)
- [gmsmith](https://github.com/twolfson/gmsmith)
### Adding new packing algorithms

@@ -102,0 +109,0 @@ Algorithms are maintained inside of [twolfson/layout](https://github.com/twolfson/layout/). Example algorithms can be found in [twolfson/layout/lib/algorithms](https://github.com/twolfson/layout/tree/master/lib/algorithms).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc