{"name":"@jimp/plugin-shadow","version":"0.16.9","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.9"},"peerDependencies":{"@jimp/custom":">=0.3.5","@jimp/plugin-blur":">=0.3.5","@jimp/plugin-resize":">=0.3.5"},"devDependencies":{"@jimp/custom":"^0.16.9","@jimp/plugin-blur":"^0.16.9","@jimp/plugin-resize":"^0.16.9","@jimp/test-utils":"^0.16.9"},"publishConfig":{"access":"public"},"gitHead":"2186f02f9cc418b5769a8c06320ae2e89ae2f18a","_id":"@jimp/plugin-shadow@0.16.9","_nodeVersion":"16.18.1","_npmVersion":"lerna/3.16.4/node@v16.18.1+x64 (linux)","dist":{"integrity":"sha512-02xslBzlDuRXWYitijQP+yjndhX203wD//jVrYXSyCXXMAUZmoJ7SgQd/ZtiI1d2uQQsT/cmg1gxeX8gQ04nRA==","shasum":"62ef1c10650ea8f2e3f4da8862edb0dda6a36ed7","tarball":"http://registry-npm.ywwl.com/@jimp/plugin-shadow/download/@jimp/plugin-shadow-0.16.9.tgz","fileCount":11,"unpackedSize":15529,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7mZY1Z6Gl3VmZT1whIvUgmepvmc9XxV8HBfpcCz4XSAiEAi3zglBH8zEOQ8CvYONuHDhCHfihz+WHe3pzmkXF7jIQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3cAJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqY/g//XyKNAasLffskWS+DIyCFGkVhxGr4JKqwAtdCEi0emCL1mxxv\r\n0lh5/kYT1FXI1S+fQODlDZ+Nvs5yVSne+y+L0l61tW8kOSCgZi+wQV0bAorI\r\ndWrUS9mHmAQcya/DlDsls/j5WU1Wf/hiIaylIY7EhOj8v4KNHLsdES1Z4HL6\r\nezQriDHinseAHN6kme3mHE2aMPkPiSPp9tAt+RzIgSCdD1Ru9luWwtKceMwd\r\neUQ7nIlIwwyxqJ0qT/IcNS+tiTWzhmqIhvvkUMR2uRpfc3b0ZeOS/x3dp5yJ\r\nSLFPm0E5Q65gNmA1a86LpwCKKalZJKHpeNToIlsAVTw0O7VY0oY65eElJh50\r\nY/O4PIaYNMqFfDgEhgNeuDy5XRAvXjBtJvXBQ6UvF+TS9YiElcWwZy86Oijs\r\n4DggsTzB7BRT2C/fiaGj0x69JPJhroF6lRUO2jpEAq+8dgNszh4sQYpxU5JR\r\nKe5CeQ2eEtNbdpJQ0Wxbu1c3uLtFH+PPQzPE8M+C2b3gj3OQmwlOdysmxmpF\r\n3LbPe/dS3cTqzQ184YbdnuJ8pKXzl5AMJGB02C5HkxvQgM+QfT54Vjv6Cdy2\r\nmvVnYLl6PHzSYxmjyWuJGwrUK63wBgKCka254Lft+fKiCiHuIoTbIYhNLre6\r\njXWNwf/IdsAzEqLTD1mC1xPTXcX+dLhWAho=\r\n=KVkN\r\n-----END PGP SIGNATURE-----\r\n","size":5639,"noattachment":false,"key":"/@jimp/plugin-shadow/-/@jimp/plugin-shadow-0.16.9.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.9_1675477001546_0.6810432282855816"},"_hasShrinkwrap":false,"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","publish_time":1675477001725,"_cnpm_publish_time":1675477001725,"dist-tags":{"canary":"1.1.5--canary.d9590e7.0","latest":"1.6.1"}}