{"_id":"coveo-png-sprite","_rev":"67-406f856b72d01620420f09a6322d73b3","name":"coveo-png-sprite","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"coveo-png-sprite","version":"1.0.0","keywords":["coveo","gulp","png","sprite","css","less","sass"],"author":{"name":"Coveo Solutions Inc."},"license":"MIT","_id":"coveo-png-sprite@1.0.0","maintainers":[{"name":"germainbergeron","email":"germain.bergeron1@gmail.com"}],"homepage":"https://github.com/Coveo/png-sprite#readme","bugs":{"url":"https://github.com/Coveo/png-sprite/issues"},"dist":{"shasum":"955636c8b3ec895e9fb0199c6ee7fdbce88766d2","tarball":"https://registry.npmjs.org/coveo-png-sprite/-/coveo-png-sprite-1.0.0.tgz","integrity":"sha512-LDVIIjrYfd8WH8pIv07KQfQ/BZmR7hhw5lqJvPpMoKZalwxCl3U0a8ixHaL6uAotC3ch19GwJ0B0lQERafk0uQ==","signatures":[{"sig":"MEYCIQDNjsUZXxz4oX4D6nZ94kgyZP8oPFqmWIjptWShdiRkWgIhAL6yOZhP8Z172E7VMAgy9PTDHfvMDCHjDwnka3YyH7gV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"955636c8b3ec895e9fb0199c6ee7fdbce88766d2","gitHead":"9eb3cd9ff463db47daa44d1848a27fdaf49893ec","scripts":{"test":"node ./test/test.js"},"_npmUser":{"name":"germainbergeron","email":"germain.bergeron1@gmail.com"},"repository":{"url":"git+https://github.com/Coveo/png-sprite.git","type":"git"},"_npmVersion":"3.3.12","description":"Gulp task that converts images to sprites+css","directories":{},"_nodeVersion":"5.5.0","dependencies":{"ejs":"^2.5.6","gulp":"^3.8.10","through":"^2.3.6","through2":"^2.0.3","gulp-util":"^3.0.1","node-pngjs":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/coveo-png-sprite-1.0.0.tgz_1488469786797_0.17396590253338218","host":"packages-18-east.internal.npmjs.com"}},"1.0.1":{"name":"coveo-png-sprite","version":"1.0.1","keywords":["coveo","gulp","png","sprite","css","less","sass"],"author":{"name":"Coveo Solutions Inc."},"license":"MIT","_id":"coveo-png-sprite@1.0.1","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"},{"name":"coveoit","email":"itaccounts@coveo.com"},{"name":"germainbergeron","email":"germain.bergeron1@gmail.com"},{"name":"jplachance","email":"jplachance@coveo.com"},{"name":"michelmoreaul","email":"mmlapointe@coveo.com"},{"name":"pochretien","email":"pochretien@coveo.com"},{"name":"sroy3","email":"sroy3@coveo.com"}],"homepage":"https://github.com/Coveo/png-sprite#readme","bugs":{"url":"https://github.com/Coveo/png-sprite/issues"},"dist":{"shasum":"2176eaf3ff933ea9c08f050483c604801f547d8c","tarball":"https://registry.npmjs.org/coveo-png-sprite/-/coveo-png-sprite-1.0.1.tgz","fileCount":11,"integrity":"sha512-ebplNbIFkSPUK0Q6y1V6G43GcpOzctHPxXQiYOb0BXOfwqOD37gkul2QPFRPasxsJq+5k8Mh9qf4+s9jo4M4Zw==","signatures":[{"sig":"MEYCIQDDRqc727O8O+wXo4/Wr6jsxaPW78PoIz9h+Ef6UPkzDQIhANrhiBboWvwQcgNPXtGNCzuvYccjYXlp8P9BNvmVwMBr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12034,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj+87CRA9TVsSAnZWagAAAfwQAIGsnlncDAw/aNfTQ8YR\nc6E5easepKYFF21341lp5EA3FHEnRh3kkWFDXK9vRKxH8LPizq5jYEzj6Ozi\na01uKLmvXZyQp4IGT06pgcZiMIquQEpcHkOzKy4oRtWElN+9NDKDpCiiheV4\nrwVJn3Bfu321/PR8lL029Mq17Vs/9mYW4Or2SS4scYbh0t7v6VFrPsARYqtT\nX3QNh06fsv2Ts7u+jNWmzVEoQmjw+3IDVBsdIqcZR/Rrr7KtHEm+9m2ivoHY\nc5LWCF04zLPTsXQNmCTJ7fWUxsjKJh44vsEymYi4tGadyahndgo0ygO9MSio\ndVBZx0aTojLMfH4KSh3cGu5yOi1wHZfbrX3/L81j3ll77AVe9EDVjB0GUwHj\ni7/MBStn68GzyQa2CW8/85MyaZBUMMlUV6hAFqDstuEiQB+EHd9XZ6yjpQZ4\nHJhT4K1E7N1SS5EGYvXTBl9/bqAmRxDzTTlHtmoKS12+z1FKHp5yeGF4c0Mm\nkLOGWiqAJfu8zpCvPMybUuBg5t0rBu1bArM/odjPTUJJQsTrJ3lurwfz7P4y\ncscOoMSwH/8gpnEd7tgsZvDiOHzKu4ntfO2eaA05tsWReS26VhAYZ7T79e3z\nnER0zLz80aRVoNZ1n2ZYUg+RsDzOsn3ywdl1SZCF9zhW3FGzK5CMx7Scm/7j\nyGn7\r\n=/TNq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"90cc6fb90a72e7e471c1e9c41644f9cbef12f112","scripts":{"test":"node ./test/test.js"},"_npmUser":{"name":"germainbergeron","email":"germain.bergeron1@gmail.com"},"repository":{"url":"git+https://github.com/Coveo/png-sprite.git","type":"git"},"_npmVersion":"6.4.1","description":"Gulp task that converts images to sprites+css","directories":{},"_nodeVersion":"10.11.0","dependencies":{"ejs":"2.6.1","gulp":"4.0.0","pngjs":"3.4.0","vinyl":"2.2.0","through2":"3.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/coveo-png-sprite_1.0.1_1552936762433_0.3997396004965441","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-03-02T15:49:47.426Z","modified":"2026-05-13T17:39:24.877Z","1.0.0":"2017-03-02T15:49:47.426Z","1.0.1":"2019-03-18T19:19:22.639Z"},"bugs":{"url":"https://github.com/Coveo/png-sprite/issues"},"author":{"name":"Coveo Solutions Inc."},"license":"MIT","homepage":"https://github.com/Coveo/png-sprite#readme","keywords":["coveo","gulp","png","sprite","css","less","sass"],"repository":{"url":"git+https://github.com/Coveo/png-sprite.git","type":"git"},"description":"Gulp task that converts images to sprites+css","maintainers":[{"email":"oa-npmcoveo@oacvo.com","name":"oa-npmcoveo"}],"readme":"coveo-png-sprite\n==========\n[![npm](https://img.shields.io/npm/v/coveo-png-sprite.svg?style=flat-square)](https://www.npmjs.com/package/coveo-png-sprite)\n[![dependencies](https://img.shields.io/david/Coveo/png-sprite.svg?style=flat-square)](https://david-dm.org/Coveo/png-sprite)\n[![Code Climate](https://img.shields.io/codeclimate/github/Coveo/png-sprite.svg?style=flat-square)](https://codeclimate.com/github/Coveo/png-sprite)\n[![license](http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/Coveo/png-sprite/blob/master/LICENSE)\n\ncoveo-png-sprite is a gulp module that creates sprite sheets from multiple images\n\n```js\nvar gulp = require('gulp');\nvar pngSprite = require('coveo-png-sprite');\n\ngulp.task('buildSprites', function (done) {\n  return gulp.src('img/**/*.png')\n      .pipe(pngSprite.gulp({\n        cssPath: 'sprites.scss',\n        pngPath: 'sprites.png',\n        namespace: 'sprites'\n      }))\n      .pipe(gulp.dest('./target/'))\n});\n```\n```js\nvar fs = require('fs');\nvar Sprite = require('coveo-png-sprite').Sprite;\nvar sprite = new Sprite();\nsprite.addImageSrc([\n  \"./img/a.png\",\n  \"./img/b.png\",\n  \"./img/c.png\",\n  \"./img/d.png\"\n], function(){\n  var obj = sprite.compile('./sprite.png');\n  obj.png.pipe(fs.createWriteStream('sprite.png'));\n  fs.writeFile('sprite.css', obj.css);\n});\n```\n","readmeFilename":"README.md"}