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

assetgraph-sprite

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assetgraph-sprite

AssetGraph plugin for creating sprites from background images

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.3K
increased by72.97%
Maintainers
1
Weekly downloads
 
Created
Source

AssetGraph-sprite

A plugin (or "transform") for AssetGraph <http://github.com/One-com/assetgraph>_ that optimizes CSS background images by creating sprite images. The spriting is guided by a set of custom CSS properties with a -one-sprite prefix.

(More docs will follow!)

Installation

For creating the sprite images themselves AssetGraph-sprite uses node-canvas <http://github.com/LearnBoost/node-canvas>_, which is not a pure-node module and requires the Cairo development sources (version 1.10 or later), libjpeg (version 8 or later) and libgif. On Ubuntu 10.10 and above you should be able to get them like this::

$ sudo apt-get install libcairo2-dev libgif-dev libjpeg8-dev

Now you can proceed to install AssetGraph-sprite::

$ npm install assetgraph-sprite

License

AssetGraph-sprite is licensed under a standard 3-clause BSD license -- see the LICENSE-file for details.

FAQs

Package last updated on 14 Aug 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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