{"name":"@jimp/plugin-shadow","version":"0.8.6-canary.810.481.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.6-canary.810.481.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.6-canary.810.481.0","@jimp/plugin-blur":"0.8.6-canary.810.481.0","@jimp/plugin-resize":"0.8.6-canary.810.481.0","@jimp/test-utils":"0.8.6-canary.810.481.0"},"publishConfig":{"access":"public"},"gitHead":"941ed08d9215f928708b7ab6a9a942a2fc5995df","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.6-canary.810.481.0","_nodeVersion":"8.14.1","_npmVersion":"lerna/3.16.4/node@v8.14.1+x64 (linux)","dist":{"integrity":"sha512-tR5hHYMilpitc8KQDhQg2QtJbk+gp09NeoESfE6SDI57iXzVHQgEovmOm/138icxbxvN0uPkdao29l+mFtByrQ==","shasum":"221f0a2a4c54166a16f37658070a954f7a1f8d8e","tarball":"http://registry-npm.ywwl.com/@jimp/plugin-shadow/download/@jimp/plugin-shadow-0.8.6-canary.810.481.0.tgz","fileCount":12,"unpackedSize":20181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJducVCCRA9TVsSAnZWagAAEsgP/i1DREgtIsFy9hCrUUxz\nI3FOD+9wjUF/AFOO4L+rwTlGq9QGd0p8Qn41lKIV0QN59wIRCLFLlcBs2NKZ\nxMjPaoo3zGCbNpqc+P4X7dRAM/NoISML95A277M9fiKNiOs9vJgZrxQs8AsM\np5sL0PojbLQ9hs8JlLypjxIb9f8tdRxMy/evETWTQLfM9m8acW3MZYrziP+T\ncu+9H0uR677waAjuCwdcOPneSVGLBffFuU3LLGXjatOqQY9S8RwOdzGV5nwT\nyyIfVAwKRRYH+0F2OixGUIqz2GVlSSOW0zRVATK+5Ee2iv93yn7FfjS6lcTM\nYfwnB2io2++rCuOZOnUI/Tnnl/3Nrl15zFMGMh1z5SLwDP4DfF9jTIcz0r81\nteP059j6wqMs1JM3pvbf/+CirdQL+PwubP5NFK3LUr6G4P3hK3o+evYfhEf7\nlPFIfPkXfx6lU7ZDp4jwbdFv1dqt2uis9a6kOT5Y5c2H5k25pDtB922mRIy6\nodX/ORCWGP4B1edy1FX+sBMXL+T/jHF6xUzrAyM6As/uOxLXEnTIGTHyIpne\natBGak+nkaSPrJn1dNS0o7ypruC/GdqpmjhpIoU9oXOtbo7t0sNLWRIW/8hy\ngyQSmzRd+aEryZ6cfN9BgUfqI44dliesTBo97ny2Wewx3zzQm6gRZma4R3Zg\n5qN9\r\n=Q51A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+oadWLGPmT6VtH5c4U64lePa33iDqy2QiQ53heMSO+AiBHuatT/zVqN1w9TwFxxkxeeW+FqBNNWMtbugxG0caWrw=="}],"size":5272,"noattachment":false,"key":"/@jimp/plugin-shadow/-/@jimp/plugin-shadow-0.8.6-canary.810.481.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.6-canary.810.481.0_1572455739371_0.8672144533998447"},"_hasShrinkwrap":false,"publish_time":1572455739472,"_cnpm_publish_time":1572455739472,"dist-tags":{"canary":"1.1.5--canary.d9590e7.0","latest":"1.6.1"}}