{"name":"@jimp/plugin-shadow","version":"0.16.2-canary.1052.1235.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":{"@babel/runtime":"^7.7.2","@jimp/utils":"0.16.2-canary.1052.1235.0"},"peerDependencies":{"@jimp/custom":">=0.3.5","@jimp/plugin-blur":">=0.3.5","@jimp/plugin-resize":">=0.3.5"},"devDependencies":{"@jimp/custom":"0.16.2-canary.1052.1235.0","@jimp/plugin-blur":"0.16.2-canary.1052.1235.0","@jimp/plugin-resize":"0.16.2-canary.1052.1235.0","@jimp/test-utils":"0.16.2-canary.1052.1235.0"},"publishConfig":{"access":"public"},"gitHead":"89a57dcfad0e81ed5a3727410849741e94186e60","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.16.2-canary.1052.1235.0","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.16.4/node@v10.24.1+x64 (linux)","dist":{"integrity":"sha512-bYSgf3jvaZtSLR9nOlGAT6BAxAB5cX6JhtL7yptSv068TdzyGzYcIqTwKEZMuhcrG2n+uvPYZwBTICwDkutdLw==","shasum":"b28173cb7381c1400a9d728d30096cbc3a185302","tarball":"http://registry-npm.ywwl.com/@jimp/plugin-shadow/download/@jimp/plugin-shadow-0.16.2-canary.1052.1235.0.tgz","fileCount":13,"unpackedSize":21888,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTeOkJPu51ZeBA/exC4USzy27EI0UXL4vsSw5AD3dI6AIgD1N3/G6DrxMwi1ZbmPXrVgxOgwq1mpY1BTQQozRvGcs="}],"size":5727,"noattachment":false,"key":"/@jimp/plugin-shadow/-/@jimp/plugin-shadow-0.16.2-canary.1052.1235.0.tgz"},"_npmUser":{"name":"alisowski","email":"lisowski54@gmail.com"},"directories":{},"maintainers":[{"name":"alisowski","email":"lisowski54@gmail.com"},{"name":"oliver.moran","email":"oliver@nth-iteration.ie"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-shadow_0.16.2-canary.1052.1235.0_1635364685217_0.027181522199267727"},"_hasShrinkwrap":false,"publish_time":1635364685370,"_cnpm_publish_time":1635364685370,"dist-tags":{"canary":"1.1.5--canary.d9590e7.0","latest":"1.6.1"}}