{"name":"@jimp/plugin-shadow","version":"0.20.2","description":"Creates a shadow on an image.","main":"dist/index.js","module":"es/index.js","repository":{"type":"git","url":"git+https://github.com/jimp-dev/jimp.git"},"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.20.2"},"peerDependencies":{"@jimp/custom":">=0.3.5","@jimp/plugin-blur":">=0.3.5","@jimp/plugin-resize":">=0.3.5"},"devDependencies":{"@jimp/custom":"^0.20.2","@jimp/plugin-blur":"^0.20.2","@jimp/plugin-resize":"^0.20.2","@jimp/test-utils":"^0.20.2"},"publishConfig":{"access":"public"},"gitHead":"cebbdb72f889102a8e3c42b25ad3243b16e3a485","bugs":{"url":"https://github.com/jimp-dev/jimp/issues"},"homepage":"https://github.com/jimp-dev/jimp#readme","_id":"@jimp/plugin-shadow@0.20.2","_nodeVersion":"16.18.1","_npmVersion":"lerna/3.16.4/node@v16.18.1+x64 (linux)","dist":{"integrity":"sha512-arCF6qS/ucJW//63CUE4/CKq7cLr1VE9MbZYd2fWMIf9uCFw2yDGe8gWioJUHvKxuAaJoXLc/IK7QaI1fYNuyA==","shasum":"79ed95604091bfde8cb5b24eede3062f6270d96e","tarball":"http://registry-npm.ywwl.com/@jimp/plugin-shadow/download/@jimp/plugin-shadow-0.20.2.tgz","fileCount":13,"unpackedSize":22045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1lP46mspuxUYhY5k83fUffRf7UvrSy80BmNFrgeEf2QIhAIy3BgCZFSpogztrGmyrwB3Lq+JBcQlFHWyieB99SVY0"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3wHRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7+A/9GZ/d6coR0WeHTDw6LaIoN/XWLYnU59xIKAotI5ALpYh8rT8B\r\n2EUVgt9t5mhhKFpKY/rOwdY81cesjyALmpLxPPXW2i7z12TY96C4R5xxN4hv\r\nl8TgSlJG9xFAFKldonosPjgMDRzzVhJxDYS8h/sueTV37qP356Sk1lXsu9yx\r\nMCX9QLZable+UUXduf1OQymqOXk/Hhmc6/Vz4ciwk7oeJFx5Oa2nWwGLZrkS\r\nFasrCweKPBjGhuNE4gHxojlOlEed6O9Dl7MEVaKh/csjuOIxyT9BWZvUeiFt\r\neCm0DmyzjtM3yRXNSx3N7lqUME1M0hw/mPaUhKJ1LsdagnDMp79iTN7HPKZn\r\nUV+gesMum/WAglC8ZpqrVP2CtjwaB+D3DTBIm7W31CWNd62ybqszNAszc8Q1\r\nSk5Yd5tRfm7DDKsoMuZO2448zouLOj3yON6z3JkFiyy8G4E/CWslpqf7cU8v\r\nOYrlK3JDkgHqBrLNn5Fch0BFfFWFMujMq1G7r4OdiQ2qH4J+vAm5p3UQO5K4\r\nztPZvdjxju9CxYVmGQgV3XF4IyhPfxnhHwuUnsV3Wz4JD5XluQs0oWJTzdij\r\nj9kG9pbvK+Ckt18s7FNSbwLZLw5RDmwec8uX3k4u2ul6ALnsbV2n9WybL5Y+\r\no6nm8lIEwgHn03JhcE24nND8vxFbWoeOmTQ=\r\n=JRF1\r\n-----END PGP SIGNATURE-----\r\n","size":5788,"noattachment":false,"key":"/@jimp/plugin-shadow/-/@jimp/plugin-shadow-0.20.2.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.20.2_1675559377418_0.8767798581135517"},"_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":1675559377581,"_cnpm_publish_time":1675559377581,"dist-tags":{"canary":"1.1.5--canary.d9590e7.0","latest":"1.6.1"}}