{"name":"@jimp/plugin-shadow","version":"0.17.4","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.17.4"},"peerDependencies":{"@jimp/custom":">=0.3.5","@jimp/plugin-blur":">=0.3.5","@jimp/plugin-resize":">=0.3.5"},"devDependencies":{"@jimp/custom":"^0.17.4","@jimp/plugin-blur":"^0.17.4","@jimp/plugin-resize":"^0.17.4","@jimp/test-utils":"^0.17.4"},"publishConfig":{"access":"public"},"gitHead":"c73ee78d5686337a6046c309368473698feb9f5a","_id":"@jimp/plugin-shadow@0.17.4","_nodeVersion":"16.18.1","_npmVersion":"lerna/3.16.4/node@v16.18.1+x64 (linux)","dist":{"integrity":"sha512-eOHQWmgDGk90VtvEPTQ7vsJh3sqk2d9QQ2DSAalO9RcWXue2No2qxwMD4LKzLCKZrTrqsGvlVSX0v/tzNPXvzA==","shasum":"de7f5dde3f623f102d3d686f8329d14c79cc4566","tarball":"http://registry-npm.ywwl.com/@jimp/plugin-shadow/download/@jimp/plugin-shadow-0.17.4.tgz","fileCount":11,"unpackedSize":15529,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCn7vgtv6OpWsohRl3B5UOWZj4TAdrBDOCy0hZoqblsVAIgTMPxznILxlc1Jdo8bMkH2QJLlSIHkZqkEVBr1IFLIhk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3ebtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqE4g//ZcyQmdMRs0F77AmwbkSlndkUQ+3yP34Ppfw4vtQ4A38mKaXV\r\nlAkHpUab+ImC79WxgBkcEtpsxfLkbWWkkd13hFxY+HljwVqZ0IqWo/blkqvv\r\nRVWakREfjyZfS5hntkNGeyxDMjosFArqZHezBClQIh6apSmWqhUWAOFg3gzI\r\n/Y84+zwPRBDsLgopwuTO4k00RoOd7FNFCnlNcTKUnj6Egg0uAS4wD9uC7tCj\r\nnJ8c4wR0KFhLNL/EamxZfBOc6wdnc4419NxKxxYtt2HQA/cycGK7V0AiqLWs\r\nEN8Nu9rl1WpCUwRSEjTBwruN2X66h0R7oW4wqrT35IlyFR7oH0ws6VBqunhb\r\nB9Bo7UXCrtig2gJiJlFbfjpU2X3CZ3Wfhw2qJCBRcrRpmNtKeLJgNCbIjzMy\r\nl3Smmwd9NoNQdUGLpmza0V+sU1hfROTa2s/C0be4kKpw2DfxdCzH40tP9F/S\r\nO6If0PUC3AoA7nsscpAgsTYmYfmT/RGpMxgKrCy3SKMWNhTn+lkD8yv53d0s\r\nclaMj54tEByOr/SPCJNCDawaZ0PxhZQZgrR+2R3jr4pvmkp255upgLoLvM+U\r\nozEV5hw6t3faAnPTmT+TJKGOnMl38iB6bQXi5xsiZWBFf6heARKFFS1eIwJu\r\ndACfvVmU999G+foM4/O0U5DA8X1/2EaQTcQ=\r\n=CUCQ\r\n-----END PGP SIGNATURE-----\r\n","size":5642,"noattachment":false,"key":"/@jimp/plugin-shadow/-/@jimp/plugin-shadow-0.17.4.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.17.4_1675486957532_0.041597798151780996"},"_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":1675486957700,"_cnpm_publish_time":1675486957700,"dist-tags":{"canary":"1.1.5--canary.d9590e7.0","latest":"1.6.1"}}