{"name":"@jimp/plugin-shadow","version":"0.8.1-canary.786.223.0","description":"Creates a shadow on an image.","main":"dist/index.js","module":"es/index.js","types":"index.d.ts","scripts":{"test":"cross-env BABEL_ENV=test mocha --require @babel/register","test:watch":"npm run test -- --reporter min --watch","test:coverage":"nyc npm run test","build":"npm run build:node:production && npm run build:module","build:watch":"npm run build:node:debug -- -- --watch --verbose","build:debug":"npm run build:node:debug","build:module":"cross-env BABEL_ENV=module babel src -d es --source-maps --config-file ../../babel.config.js","build:node":"babel src -d dist --source-maps --config-file ../../babel.config.js","build:node:debug":"cross-env BABEL_ENV=development npm run build:node","build:node:production":"cross-env BABEL_ENV=production npm run build:node"},"author":"","license":"MIT","dependencies":{"@jimp/utils":"0.8.1-canary.786.223.0","core-js":"^2.5.7"},"peerDependencies":{"@jimp/custom":">=0.3.5","@jimp/plugin-blur":">=0.3.5","@jimp/plugin-resize":">=0.3.5"},"devDependencies":{"@jimp/custom":"0.8.1-canary.786.223.0","@jimp/plugin-blur":"0.8.1-canary.786.223.0","@jimp/plugin-resize":"0.8.1-canary.786.223.0","@jimp/test-utils":"0.8.1-canary.786.223.0"},"publishConfig":{"access":"public"},"gitHead":"62486b053cb9cc408422e1b131813927d87edbbe","readme":"<div align=\"center\">\n  <img width=\"200\" height=\"200\"\n    src=\"https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png\">\n  <h1>@jimp/plugin-shadow</h1>\n  <p>Creates a shadow on an image.</p>\n</div>\n\n## Usage\n\n- @param {function(Error, Jimp)} options (optional)\n  - opacity - opacity of the shadow between 0 and 1\n  - size,- of the shadow\n  - blur - how blurry the shadow is\n  - x - x position of shadow\n  - y - y position of shadow\n- @param {function(Error, Jimp)} cb (optional) a callback for when complete\n\n```js\nimport jimp from 'jimp';\n\nasync function main() {\n  const image = await jimp.read('test/image.png');\n\n  image.shadow();\n  // or\n  image.shadow({ opacity: 0.8, size: 1.2, blur: 10, x: -75, y: -75 });\n}\n\nmain();\n```\n","readmeFilename":"README.md","_id":"@jimp/plugin-shadow@0.8.1-canary.786.223.0","_nodeVersion":"8.14.1","_npmVersion":"lerna/3.13.4/node@v8.14.1+x64 (linux)","dist":{"integrity":"sha512-MiilmUvilBx7DtEGN+/3SfDRFv5yJMvihD+42CijrMxp7NYXBdsTMxF4Zi9GhrzvOwRHE8ngorQNz5f7ZfjCag==","shasum":"12cd765097abf90c7961ce1a2375c3289a362f19","tarball":"http://registry-npm.ywwl.com/@jimp/plugin-shadow/download/@jimp/plugin-shadow-0.8.1-canary.786.223.0.tgz","fileCount":12,"unpackedSize":20163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdd1IECRA9TVsSAnZWagAAjQUP/i/8aY+Iz1BZDiw6bOpq\nUrM9O+V9yazE8vgCvHQvMvUXBAXfH43kuxi1ZxMUj4d3Jef19nFkE/qyyuru\n/JPHcIrFxNKO07mEZhIXBN6vARepr9SX5/V/b7rI2aSyBKsOztRXHKZ9FVAa\nGMMAnZUzWBvzsmeCW71T6C0MDel8890dwpkOr/LM+Js3os7WEFzNjbf3UMG8\n623e3ESS837irbDgOObh2i4bjchv9jIEW11NsPpesO1KIwFphFB3k8WiLEHc\nTIOIFn9j41nc/fceS253IOzRGLXiuuQpKLiVMpOR8habLw7RjoUNpIgt97eE\n6qLlqr0sdsbzgtH6zFXTjM5/1mgpK7T7aIRVLUIoFvfZh4L0cxp3KGByU8gt\noTuNNbvoN+cIRKXgE7khuyafVB5CmhCPp84avNjDn/8YZ1zDsChA7hC3n+h3\ng6z92rWUtFAdIN12aQ4DESWVQb0XdHjH4hcC2z68aC5BtYy0FVIhPitK8iEM\ntCzJdF3g9YY5UC6c9uTTZ5w7QgsEkL3S2pTWac4ZqwCCZUpZAqC3Tn0EM4Qf\nFYaMYQvl74wKJwokwaYYoScW+KwJy6F1oc6L9CAhirUK1zgMbcEwEPWon7HR\neIBZxm9BD+I+ZwSzZgfOKcUblYFaz8tdv7TEs/TMTkpmDiilp08fs9zbCxSG\nDaTp\r\n=rqWJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPTTPg2lXUIs5hOju4fI+gL4CV8okLRGQ0Bt7z+gq/nQIhAJPnwq1uEkEvUId0rktgYMaSqr9EGv+M9yszRyvIBVX9"}],"size":5284,"noattachment":false,"key":"/@jimp/plugin-shadow/-/@jimp/plugin-shadow-0.8.1-canary.786.223.0.tgz"},"maintainers":[{"name":"alisowski","email":"lisowski54@gmail.com"},{"name":"oliver.moran","email":"oliver@nth-iteration.ie"}],"_npmUser":{"name":"alisowski","email":"lisowski54@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-shadow_0.8.1-canary.786.223.0_1568100868108_0.8330524247093498"},"_hasShrinkwrap":false,"publish_time":1568100868249,"_cnpm_publish_time":1568100868249,"dist-tags":{"canary":"1.1.5--canary.d9590e7.0","latest":"1.6.1"}}