{"_id":"smaller-modules","_rev":"7-f6d6bc67a08bfed0496148fd1620bab8","name":"smaller-modules","dist-tags":{"latest":"0.3.0","alpha":"0.3.0-alpha.1"},"versions":{"0.2.0":{"name":"smaller-modules","version":"0.2.0","description":"Shrink node_modules for deployment","type":"module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build","build":"tsc -p .","buildinstallrun":"npm run build && npm install && node dist/index.js"},"bin":{"smaller-modules":"dist/cli.js"},"repository":{"type":"git","url":"git+https://github.com/eliotlim/smaller-modules.git"},"keywords":["node_modules","shrink","smaller","zip","nodejs","node","modules","trace","nft","lambda","deployment"],"author":{"name":"Eliot Lim"},"license":"MIT","bugs":{"url":"https://github.com/eliotlim/smaller-modules/issues"},"homepage":"https://github.com/eliotlim/smaller-modules#readme","dependencies":{"@vercel/nft":"^0.22.1","commander":"^9.4.0","fs-extra":"^10.1.0","klaw-sync":"^6.0.0","random-words":"^1.2.0","typescript":"^4.8.2","zip-lib":"^0.7.3"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.1"},"gitHead":"acf8e95c50a9ab87f13d9fa4a8794dfc28877fb1","_id":"smaller-modules@0.2.0","_nodeVersion":"17.7.2","_npmVersion":"8.5.2","dist":{"integrity":"sha512-ecqcmusv6O6+O7QNbnJTwHqFc0f4sSzLAGqsGjmPXvenbCrKbaBJ9fbqv5Vj8DR91LbhTx8c+MSi0GbqlapdLg==","shasum":"373b5fa959a93f5cb19727b7301dfbc36fda86d2","tarball":"https://registry.npmjs.org/smaller-modules/-/smaller-modules-0.2.0.tgz","fileCount":13,"unpackedSize":33358,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGY80Gm4+gOX/hIhEH58UUrzy38DEZbHwpNLGNs9Xq62AiEA0H9M14snSOhKq7al9MVgY+riCE0oTdR0fqp0eqXQDMg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJKHSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmodug/9HX7VCLockxNFQdNjbuYnUCdI1bZKp8kiHJ8lw/x+q4MfDk3Y\r\ng64/tLavg3YIzYAQF+I/PFEh5ie563yeAHzitN4OxHlc0W738LSEYs+hCl7B\r\nr0H/Cx8mFBdf9EHm7UG6QmRs4eOi+P+KHPvBiE/81GsAnUs1WuBDi49rAekj\r\nXAlyRUPimnKZ5Gwpk2jk1dBlnCpnjtjjPIYpOKU7klYId1OFs/QU6sCuvimH\r\nPRgpdAaVJKFYiHUgNSH+diH4geNWPOu4fCFKkHyv0tFRGd+Y9Vv3EICcHfjB\r\n22WU9H/N2/wSuC8kNEjj3myNBXFQA0tQ+dBEqeIzxtnieFQ5WvHCCxTe8deY\r\nVviX4TFShLAvpbjMmkbZptkE35Zbnf5DutsFMHJJgNkRgVqGElomJwQRHMfJ\r\nJDlF442NS4AFuH6xqRhiTI/Lcvodavo9OD29DUmRdqCAO/wNvHpHuvfvTpSd\r\nDaqnmonNJ8FFdGKaCLdI51wTnN8cO8bPZqEcvobjVy16c6c42R7P4UUGEgs5\r\nVZgNXfgf8QobCoc+jm3rCaJfAxEjD9208fZwjUBBpBCvMsjB82EyypTZi1wV\r\naUGhX3H8mr6FmUG+v0hWUVTGd/fEHcp83q9XelOHfBuaKDHwb3MlkChnjwWX\r\nA7wLP9pvgGsTTub2cJxiiXkld+re+zBj+L8=\r\n=+tVK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"},"directories":{},"maintainers":[{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smaller-modules_0.2.0_1663345106361_0.7871532978899443"},"_hasShrinkwrap":false},"0.2.1":{"name":"smaller-modules","version":"0.2.1","description":"Shrink node_modules for deployment","type":"module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build","build":"tsc -p .","buildinstallrun":"npm run build && npm install && node dist/index.js"},"bin":{"smaller-modules":"dist/cli.js"},"repository":{"type":"git","url":"git+https://github.com/eliotlim/smaller-modules.git"},"keywords":["node_modules","shrink","smaller","zip","nodejs","node","modules","trace","nft","lambda","deployment"],"author":{"name":"Eliot Lim"},"license":"MIT","bugs":{"url":"https://github.com/eliotlim/smaller-modules/issues"},"homepage":"https://github.com/eliotlim/smaller-modules#readme","dependencies":{"@vercel/nft":"^0.22.1","commander":"^9.4.0","fs-extra":"^10.1.0","klaw-sync":"^6.0.0","random-words":"^1.2.0","typescript":"^4.8.2","zip-lib":"^0.7.3"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.1"},"gitHead":"406d249b1b3dc9a8dd3f487a0755adeb6c5990b5","_id":"smaller-modules@0.2.1","_nodeVersion":"17.7.2","_npmVersion":"8.5.2","dist":{"integrity":"sha512-u6G99+AQjsp+6ynif5dbsUxm/xJjVCk4PsghGL4ZQSfoqceNnsv7RYsc6hh2Gi6oN1168DemQ3XYpG0UffdhCg==","shasum":"68693f1de00f12d55950cdcb952e43b59809d6ff","tarball":"https://registry.npmjs.org/smaller-modules/-/smaller-modules-0.2.1.tgz","fileCount":10,"unpackedSize":32574,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoreCqLGybepK0Mc/G6M2IRHs/9AjX3ZCcvdjBciRVQgIgLKPzdGr5lITEshSYEfEVHFAxZ8w2tGyhvaTqwzDjhZA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJKMqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7lg//dvlB/zhcI/pp3Mzu0hucOZNtHqBQl8v3K+tvem0YtSSDLyDQ\r\nBVtYcSCQ8YFPxY7mFak5v2E8F4nIMF0Vkwbzj8aTbirr1vJEjWuD1jsCgPXC\r\nZpoDNVnVQjrU2aM2ymMRBCM8peqk+M5QAly0juix38u04Y6Oo6WRypb3NgMH\r\nWaC5djz2ZoUnu8f0ctfrbgwy3zGhMx6pNmuxe7ndU94HWeElHesKZSWkLO8Y\r\nwTqpAObUyC5Sdg/f6YxaEBUFpRvG08qyMkV7IulNwHcNLShY1igtFgpVq34y\r\nJPJ7M9/lz/jModBgH2Rce0PHRCuOvQoI0D8lsyKLe7bDxOq1Cy1ZTQISlY7u\r\nUKKS93/4n2aHeBhDbODzauY7Lh0m1y87YBTQskUEvmOOrZRdkLIGUPdx4pGZ\r\nWVCVoXCD1tG6uINF8oVwb8oJeVO7OEn9jJvVdRkGSs7OC9sGYuBFAwcAVQ0S\r\nGwD6krnk7Eq50W3IE+z7Nlfu/wfibjO9TVDqq6tdayEjx9EKayD0k6QFjSkQ\r\nUtuUKPOpkABZS2uYqQxObjm225IDY3M7T7clPpDg1IrYL6O6bM343je+dWzU\r\nUlC0bWCLiwqkrNEjdL1OKVp027ryLvJdnJfBS/++TdVdeJUXFKhJj4pKx3le\r\nrzeqhuTtyIL7GpgZ0k4obx1Fce4CocIad0Y=\r\n=fM7s\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"},"directories":{},"maintainers":[{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smaller-modules_0.2.1_1663345450082_0.4377981487559659"},"_hasShrinkwrap":false},"0.2.2":{"name":"smaller-modules","version":"0.2.2","description":"Shrink node_modules for deployment","type":"module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","prepublish":"npm run build && npm run test","build":"tsc -p ."},"bin":{"smaller-modules":"dist/cli.js"},"repository":{"type":"git","url":"git+https://github.com/eliotlim/smaller-modules.git"},"keywords":["node_modules","shrink","smaller","zip","nodejs","node","modules","trace","nft","lambda","deployment"],"author":{"name":"Eliot Lim"},"license":"MIT","bugs":{"url":"https://github.com/eliotlim/smaller-modules/issues"},"homepage":"https://github.com/eliotlim/smaller-modules#readme","dependencies":{"@vercel/nft":"^0.22.1","commander":"^9.4.0","fs-extra":"^10.1.0","klaw-sync":"^6.0.0","random-words":"^1.2.0","typescript":"^4.8.2","zip-lib":"^0.7.3"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/jest":"^29.0.3","@types/klaw-sync":"^6.0.1","jest":"^29.0.3","ts-jest":"^29.0.2","ts-node":"^10.9.1"},"gitHead":"406d249b1b3dc9a8dd3f487a0755adeb6c5990b5","_id":"smaller-modules@0.2.2","_nodeVersion":"17.7.2","_npmVersion":"8.5.2","dist":{"integrity":"sha512-PEj1ZQmTRXgEQzpetUXtVLy1Z4YfAke3R9U1pQhqd7nnRPu/tS9jY+07qteS4SCw9GIiWw2J4TvFUsYaKfeMjw==","shasum":"bb96c72d54608ea1f60af240a784c018a90856ea","tarball":"https://registry.npmjs.org/smaller-modules/-/smaller-modules-0.2.2.tgz","fileCount":13,"unpackedSize":655031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHLrVGRrXG3v3HjaqHmdTUPw9jVO8xc+qDe6/OudEaeQAiBLo++bLFY15yr6FterQ1fjd5JWiew3gODLUGS/jcs6MQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMGp7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoL5g//Vx6tbK8P8hW4yVMnzoLop6CAejBfOD17H9lICwiV1vLU/3YD\r\n07lO2QdEsyxd2ArSviN37fXHBLU4y56clDmbugVHFnMNPqkMyEIGi5/86dp0\r\nnTjRlAqpij3yjK1k7MSSXQd9BHqlmlBJhZs5ENS5UKNA4vFldmJxxPl1dm4C\r\nXjHr40+f3gm8WQbONb17b6nnIyMAi+yijB+oJzkXQ2S+XLkWCyZD6DEaP4sT\r\nv4hWGUxgmO9sj7tF89uvh2YpnNyT1ZXOcreBy9gA2e9HgiAhBnMunio7PCd5\r\nafls+U+UGtOstBC4KkngWfb6hi01cYTQ6XlEgrAxckdfzdoXqYMEO0DafHiZ\r\nbYcyOpMdQ08Hhbjkz2ZriIxMr0o6lmwX+iFAMP7UVqGJoUoFEhh8Iilr+EQ9\r\nSl3gnbf1dyNy2HGPP6sNAcaVHVebMcBMP/O56D0bYfagBCzoY7/u+Gg/YcdO\r\nIHLb72RT7vTUOKJ22LXWUh8UaXfoOtFYKJYgR/z49/cuTxmHnAJIrOm0KeeH\r\nSwHvTWtfuZYCzBSpdaSDuY4Vkx6hC+VGuy2ZmguILDr58hNbnA41feJO2e8G\r\nmqd2zfwzA5h3O0UHFpLtYjq/1wrDcmohwzxd6IYIL98jFd+opMEA9wQah+nZ\r\nCs9KAi3GiCSNIE6R/9F2PgJcR3udh22MrO8=\r\n=6Kpc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"},"directories":{},"maintainers":[{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smaller-modules_0.2.2_1664117371254_0.16841725534541307"},"_hasShrinkwrap":false},"0.2.3":{"name":"smaller-modules","version":"0.2.3","description":"Shrink node_modules for deployment","type":"module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","prepublish":"npm run build && npm run test","build":"tsc -p ."},"bin":{"smaller-modules":"dist/cli.js"},"repository":{"type":"git","url":"git+https://github.com/eliotlim/smaller-modules.git"},"keywords":["node_modules","shrink","smaller","zip","nodejs","node","modules","trace","nft","lambda","deployment"],"author":{"name":"Eliot Lim"},"license":"MIT","bugs":{"url":"https://github.com/eliotlim/smaller-modules/issues"},"homepage":"https://github.com/eliotlim/smaller-modules#readme","dependencies":{"@vercel/nft":"^0.22.1","commander":"^9.4.0","fs-extra":"^10.1.0","klaw-sync":"^6.0.0","random-words":"^1.2.0","typescript":"^4.8.2","zip-lib":"^0.7.3"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/jest":"^29.0.3","@types/klaw-sync":"^6.0.1","jest":"^29.0.3","ts-jest":"^29.0.2","ts-node":"^10.9.1"},"gitHead":"406d249b1b3dc9a8dd3f487a0755adeb6c5990b5","_id":"smaller-modules@0.2.3","_nodeVersion":"17.7.2","_npmVersion":"8.5.2","dist":{"integrity":"sha512-ISnCPlILhpFj0sjMp9O8lPhL8hWtM3sda3Nx2KWfxGk01JxTtv1S6D2JD+WTefKRFa0XeypvE8HiPrbgQ5zOsA==","shasum":"1cd2dce7c8c05c48745b0be15dee35f45e2edee0","tarball":"https://registry.npmjs.org/smaller-modules/-/smaller-modules-0.2.3.tgz","fileCount":13,"unpackedSize":655268,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDv2QtlvkGTNcpi5rNyR9kp/gLxUhiLSB2X+VMhBKP6TQIhAPjGqn4qN1ouYZdoexy11mDle5uQ/ywaeezhQPr5Jmgt"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMGv/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9MA/8CKbwkEfHQUl6RWAgY89Oov9GWKfJ/LaZ+q9uUUzplqft2yLD\r\nIILWGDAMVGgr76A0aQoNlFVQmg4KM9kj79TVOMKVgJENkwuynQo4OX9vwzBK\r\nb99tqIzqbW3sxZhEMd2zk4f5DXS8BXTEsW4wg/21sD1nxMAJWYfFmvoluZ6u\r\nE60L+JcsSICYR1uchqMXeFHfnashDeRs3vXb3FwAS+eHLo1/iICfj2FCYfri\r\nHQi2sPHxQMCuRf+J9Y+GDlz5UxyFcLEs2NBmMp4ZDGbB55TMsxoF3X3LYa4j\r\nPQYZAxauRo+EkXjkLPyEM8tYjsHbOIei9hvKQnVk/smULhF1520NT+oVYEYw\r\nxT/U/OtRYX3+ZzJa1bJjcr4Zm0CnXYxPHE8t+kUGAV1L79VNkcnZpnOO8JRq\r\n7bcxOGzs1xkCXjaj0Uu/amk/9a0c0rZ73UDv3TomLnaCAUZrC7w2A5fsN/nf\r\ngsj4jZvtM2N2iEPjra73Ql+JXJth5QbFvS0GK6QR2A2aa2tDuwDZOZ+U4w0x\r\nXqC5wm5J7EHVv44+0whsE9D157NPnx44G9RcxJNc3EcnRoTvRnWFRQT7evee\r\nwJP6erxsQLTDRrbTDRgR5J+YV+2G4JUj29rPlvk9tvWtIocyGZwy53xZr8Ni\r\nKFSi6etM1lm6a/qsGMoIVa4LE/s6tPhbohE=\r\n=/W2q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"},"directories":{},"maintainers":[{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smaller-modules_0.2.3_1664117758964_0.21974974985559115"},"_hasShrinkwrap":false},"0.2.4":{"name":"smaller-modules","version":"0.2.4","description":"Shrink node_modules for deployment","type":"module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","prepublish":"npm run build && npm run test","build":"tsc -p ."},"bin":{"smaller-modules":"dist/cli.js"},"repository":{"type":"git","url":"git+https://github.com/eliotlim/smaller-modules.git"},"keywords":["node_modules","shrink","smaller","zip","nodejs","node","modules","trace","nft","lambda","deployment"],"author":{"name":"Eliot Lim"},"license":"MIT","bugs":{"url":"https://github.com/eliotlim/smaller-modules/issues"},"homepage":"https://github.com/eliotlim/smaller-modules#readme","dependencies":{"@vercel/nft":"^0.22.1","commander":"^9.4.0","fs-extra":"^10.1.0","klaw-sync":"^6.0.0","random-words":"^1.2.0","typescript":"^4.8.2","zip-lib":"^0.7.3"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/jest":"^29.0.3","@types/klaw-sync":"^6.0.1","jest":"^29.0.3","ts-jest":"^29.0.2","ts-node":"^10.9.1"},"gitHead":"406d249b1b3dc9a8dd3f487a0755adeb6c5990b5","_id":"smaller-modules@0.2.4","_nodeVersion":"17.7.2","_npmVersion":"8.5.2","dist":{"integrity":"sha512-XyS9C4nQyikfb9G209sQjl7lXEUNfK8RvDQh4K+54DceA3glLmc6B7fTGGO8YwM5reMVXOwhWyhguj8yzs7H4Q==","shasum":"dfa8d1b0bc2fd9271653c70bed8c672ffe65a653","tarball":"https://registry.npmjs.org/smaller-modules/-/smaller-modules-0.2.4.tgz","fileCount":11,"unpackedSize":33547,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH28+W2ZOttZGpnrZ/YLV5csjF9gjO75KOePRTYWQ+ZlAiBhnkflKD2LsOD/jE5bCzvH5AptUDunsRu5slnMh/x0+Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMGxxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCYBAAhbZqEclLjbuHJpwNwtC3/GbnQVtJ5K6rTTlYXfVF/WR6ObRn\r\n6RPW+9r8JHquo/kYawkBUtWicCfOX8Ia9f3zHdvDsFObfwPs5zxOr14inR8o\r\n9Up2eiD8CHVry6HEcOb9mKlvMS6oGn9owfIMbgHOnnPl56dPZTMX09/zgXAC\r\nvQ6SM2B6ZYqxXfYiAfHP9PHD7XBRsUDL72FqEYJh5N1KxfBw56dnXGpa5JHD\r\nDr0KJoVWvS31B5nOtVMddIAdHShM+g7tVZdAWiKhXF9A6o6osgbHQy+53OVb\r\nA0aPtUsOsafbdvDm3yPENx5H3Tx0GJjQaPV2KT2aIut9BIrmJQXod7U5yPCx\r\nxW6D1cADgUxdkanYn7VzxCcij+wMGB2GAkH6LAfT7tx7560Ux9KX5VC2N5Qc\r\njFRqz9y11qhzalFPoUdp1XXfMupJQI5b1xaNjiJ+0ahjlxY4s2wD3YHxBRZw\r\njC39S9SyHolshfdVGCiVQ2M/+i88a5YiGcwCDn+l9DhTGEUsTyukh0lXnGXs\r\nVruSBw/im0hcXdnvVn6t2cxqwWOQLTn9mKdaX3EV/HpiMfUDP5p4oS5Grs01\r\nsAVJZzqv68PsAL0XEthdA0BYM77fhRDG22wgrapXZiQnYgK9dxEk80PwtNEN\r\nhkvuBDzWNeGzkUuZFVMpv+ZlYVBPII8DeJs=\r\n=eVkr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"},"directories":{},"maintainers":[{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smaller-modules_0.2.4_1664117873014_0.022384962752496795"},"_hasShrinkwrap":false},"0.3.0-alpha.0":{"name":"smaller-modules","version":"0.3.0-alpha.0","description":"Shrink node_modules for deployment","type":"module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","prepublish":"npm run build && npm run test","build":"tsc -p ."},"bin":{"smaller-modules":"dist/cli.js"},"repository":{"type":"git","url":"git+https://github.com/eliotlim/smaller-modules.git"},"keywords":["node_modules","shrink","smaller","zip","nodejs","node","modules","trace","nft","lambda","deployment"],"author":{"name":"Eliot Lim"},"license":"MIT","bugs":{"url":"https://github.com/eliotlim/smaller-modules/issues"},"homepage":"https://github.com/eliotlim/smaller-modules#readme","dependencies":{"@vercel/nft":"^0.22.1","commander":"^9.4.0","fs-extra":"^10.1.0","klaw-sync":"^6.0.0","random-words":"^1.2.0","typescript":"^4.8.2","zip-lib":"^0.7.3"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/jest":"^29.0.3","@types/klaw-sync":"^6.0.1","jest":"^29.0.3","ts-jest":"^29.0.2","ts-node":"^10.9.1"},"readme":"# smaller-modules\n\nShrink node_modules for deployment\n\n# Introduction\n\n![An illustration of the heaviest objects in the universe](https://i.redd.it/tfugj4n3l6ez.png \"node_modules\")\n\nAre you having problems getting `node_modules` down to a reasonable size?\n\n```text\nAn error occurred (RequestEntityTooLargeException) when calling the UpdateFunctionCode operation: Request must be smaller than 69905067 bytes for the UpdateFunctionCode operation\n```\n\nDo you hit size limits, even when creating separate layers to contain dependencies?\n\n```text\nAn error occurred (InvalidParameterValueException) when calling the UpdateFunctionCode operation: Unzipped size must be smaller than 262144000 bytes\n```\n\nHere's a utility that might help.\n\n# Quickstart\n\n## Zip up `node_modules` for Lambda\n\n```bash\nsmaller-modules --zip --file dist/handler.js\n```\n\n## Copy dependencies of compiled output to a new directory\n\n```bash\nsmaller-modules --copy --directory dist --output-subdirectory smaller_modules\n```\n\n## List dependencies of a `.js` file\n\n```bash\nsmaller-modules --list --file dist/index.js --output-path dependencies.txt\n```\n\n## or print it to the command line\n\n```bash\nsmaller-modules --list --file dist/index.js\n```\n\n# Usage\n\n## Zip up `node_modules` for Lambda (in long-hand)\n\n```bash\nsmaller-modules --zip --file dist/index.js --output-subdirectory nodejs --output-path node_modules.zip\n```\n","readmeFilename":"README.md","gitHead":"7605336e081e41b18a8c5dafc8e4b6e5a2ec0c74","_id":"smaller-modules@0.3.0-alpha.0","_nodeVersion":"19.1.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-1tLpOUrTvKchnaQtlesndkJw/zUTnIHnPTN5nEiHYUATUUitVkRzq6ZagBbORINLqihGX2NuOXYxs9PZhWY/Sg==","shasum":"e6347d0292ee9f8b108d997250369501f615e138","tarball":"https://registry.npmjs.org/smaller-modules/-/smaller-modules-0.3.0-alpha.0.tgz","fileCount":11,"unpackedSize":34872,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEkpwmwt1Bbnlt6L09QBkBdmH450Y7Z8zFALpBsyZPu/AiBvx9Q1aKazhQg8qHDK7BRziPK0rw159vr0wJIGrlODNw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvoDTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKVRAAlxX1LRUKCciIwj3k2KaDdT8x/e+1+fnNdpGWiNMEv4ZSFbzh\r\nssudKXD14Br5RLg8lKKJr6Y72REUd3CjxQBzt4ocomS9H2v+wQxK3k87yWPu\r\nVc+Z3N0UIMf4B6Y0EVCnYrcey0XndBR9xB01dbT7PGb0CbMYcgvHdbCgtFRF\r\n0B07yiy3RjU0z/3sNhTT9jGnq5CN0FdlsUCXIkTGgJTJHnRhpVb1ndEVBH2W\r\niP7xo2EFinvAMGqZrRbffqWhXDl2ggoi1L4lnqXrUJZmcKdUYDBEBlArf2qj\r\nADNdeLvO5aAMvqUGJUzO668Z9sLeBbQxdBipI4t1HnSH+yIJh9UZsMs8BUo1\r\n/EkimNGK2ZnQXlORJ+GA0Bf8bNHJtl3kyIXmH0XxOdkNFQXkfNS8/7X5jbE7\r\nG+YrnVmqOQC5HOEcXwTXEaPY/CK+qmMoznzKgE3CRcXv/8gI0IPtjj4WLceQ\r\nJ2JSevtwHP8tlW6h1+0UlHv3ku43Cy9oHvxC9ergePFicSnNV+W8gTSa4GHQ\r\nDnFiYxt025wc+ILUvcwokVTHWT2h2+iA4f+aqxEfwp1LAV3bm4e5HC+Gcl2k\r\n0PiNDwpjoUGTd74XOMnXaPTCcAFvvEuR954vHG4y89UPFJ7Q063Y1eZ6VkiA\r\nHQVishqxatid7+enj101AWOCL7phSLw2yNI=\r\n=2dU9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"},"directories":{},"maintainers":[{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smaller-modules_0.3.0-alpha.0_1673429202848_0.5207813361276385"},"_hasShrinkwrap":false},"0.3.0-alpha.1":{"name":"smaller-modules","version":"0.3.0-alpha.1","description":"Shrink node_modules for deployment","type":"module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","prepublish":"npm run build && npm run test","build":"tsc -p ."},"bin":{"smaller-modules":"dist/cli.js"},"repository":{"type":"git","url":"git+https://github.com/eliotlim/smaller-modules.git"},"keywords":["node_modules","shrink","smaller","zip","nodejs","node","modules","trace","nft","lambda","deployment"],"author":{"name":"Eliot Lim"},"license":"MIT","bugs":{"url":"https://github.com/eliotlim/smaller-modules/issues"},"homepage":"https://github.com/eliotlim/smaller-modules#readme","dependencies":{"@vercel/nft":"^0.22.1","commander":"^9.4.0","fs-extra":"^10.1.0","klaw-sync":"^6.0.0","random-words":"^1.2.0","typescript":"^4.8.2","zip-lib":"^0.7.3"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/jest":"^29.0.3","@types/klaw-sync":"^6.0.1","jest":"^29.0.3","ts-jest":"^29.0.2","ts-node":"^10.9.1"},"readme":"# smaller-modules\n\nShrink node_modules for deployment\n\n# Introduction\n\n![An illustration of the heaviest objects in the universe](https://i.redd.it/tfugj4n3l6ez.png \"node_modules\")\n\nAre you having problems getting `node_modules` down to a reasonable size?\n\n```text\nAn error occurred (RequestEntityTooLargeException) when calling the UpdateFunctionCode operation: Request must be smaller than 69905067 bytes for the UpdateFunctionCode operation\n```\n\nDo you hit size limits, even when creating separate layers to contain dependencies?\n\n```text\nAn error occurred (InvalidParameterValueException) when calling the UpdateFunctionCode operation: Unzipped size must be smaller than 262144000 bytes\n```\n\nHere's a utility that might help.\n\n# Quickstart\n\n## Zip up `node_modules` for Lambda\n\n```bash\nsmaller-modules --zip --file dist/handler.js\n```\n\n## Copy dependencies of compiled output to a new directory\n\n```bash\nsmaller-modules --copy --directory dist --output-subdirectory smaller_modules\n```\n\n## List dependencies of a `.js` file\n\n```bash\nsmaller-modules --list --file dist/index.js --output-path dependencies.txt\n```\n\n## or print it to the command line\n\n```bash\nsmaller-modules --list --file dist/index.js\n```\n\n# Usage\n\n## Zip up `node_modules` for Lambda (in long-hand)\n\n```bash\nsmaller-modules --zip --file dist/index.js --output-subdirectory nodejs --output-path node_modules.zip\n```\n","readmeFilename":"README.md","gitHead":"f302eebfc980efbbf4af75cca49cd72f82f500f9","_id":"smaller-modules@0.3.0-alpha.1","_nodeVersion":"19.1.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-rnf3YVUb3K4MBZtQpxZLkoeKxVsEi0du2RX3Knnj1ka0ergzsV0b90CFI+E5se4TxKdiiz3CD7xkrV2FONfLvw==","shasum":"866b6765a66ef283cccfd6283f3dcbfd84a6f1e4","tarball":"https://registry.npmjs.org/smaller-modules/-/smaller-modules-0.3.0-alpha.1.tgz","fileCount":11,"unpackedSize":35446,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbi3ctWyvQuzHmSw9v5GCzigcPThdNrvmC1TAbXdlSqAiEA6KantC2ItL01yD0LDIWYrA56kBhs86UmjEoZc+Cxewg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvo87ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4PxAAoyXpRMzjM7lLhWpuDPZsniRuf7CXaktQvd+DeiGua7FF9IWC\r\nuvYiPUKOQDTACZJ8Nsng+34+csZvk5EjAmjNqPawLs5KZdqv+4gMys5wyQ6l\r\nqOglYwFxXG+EgR84Z1wfm7JdhMkZQuZffGWXbV8ohrHAXjD1B34cLxzHAMQv\r\np6e3T6OIg+lqf8cZwmEBg9mvyWAvkncFIom+qE0bi4Q4GzycMXDVVF5f1tJq\r\neguQzsF3me6L7z/mH9Q+x1Y4/NBJFYjMUWRyTmGEKU8uCWvTRmEJRcfjpsJO\r\nL0eOrFWPEwwxn0HwW4VpPdlhaUUQQrnStRZLyqqkzUSUVo51lapvlU+4tt1u\r\nEleylS71hRghFS8K8Fp6BLctftGsO/zav09jd/uvKFmxUDR9H3j91pBEyZrM\r\nN7hQDWOwPLGjholV9U1TT9OTR/J8EyP5qb336tgRNRtoainJ0J3tM/Nr/56l\r\nyzcUasrXrwryw8lX0sAbEFeoGTc6+aw7cCxvr3q5wLVv0yHkQk0r5D9CLpK0\r\nJAPbC19oJXPPjeARsn6+kU9YAVmsOvf0tOBq15I7L0SKc1LNdB+nRbFcYoRc\r\nfAJC3PbQxy+FK9ikP05YWdNkGibGIC8FXYnaDgMxF+MuT8LcIxqV8CJ6RKrx\r\nLto+Nl9xxum97W/pVPISVZ2OX0G6aqAQbos=\r\n=QuK1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"},"directories":{},"maintainers":[{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smaller-modules_0.3.0-alpha.1_1673432890868_0.2257994346299932"},"_hasShrinkwrap":false},"0.3.0":{"name":"smaller-modules","version":"0.3.0","description":"Shrink node_modules for deployment","type":"module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","prepublish":"npm run build && npm run test","build":"tsc -p ."},"bin":{"smaller-modules":"dist/cli.js"},"repository":{"type":"git","url":"git+https://github.com/eliotlim/smaller-modules.git"},"keywords":["node_modules","shrink","smaller","zip","nodejs","node","modules","trace","nft","lambda","deployment"],"author":{"name":"Eliot Lim"},"license":"MIT","bugs":{"url":"https://github.com/eliotlim/smaller-modules/issues"},"homepage":"https://github.com/eliotlim/smaller-modules#readme","dependencies":{"@vercel/nft":"^0.22.1","commander":"^9.4.0","fs-extra":"^10.1.0","klaw-sync":"^6.0.0","random-words":"^1.2.0","typescript":"^4.8.2","zip-lib":"^0.7.3"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/jest":"^29.0.3","@types/klaw-sync":"^6.0.1","jest":"^29.0.3","ts-jest":"^29.0.2","ts-node":"^10.9.1"},"gitHead":"f433e5357598963d7d66d7c923486ba51b19c8e9","_id":"smaller-modules@0.3.0","_nodeVersion":"19.1.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-acEUyhsxUnNsKlT4pq3WhlClHCu0eI+ErPEOSa4S/jhxqQPdMTxnVa2piLtbzDMIavwFuRSc4CZG+uOmWwvRag==","shasum":"97e5d8252a48e2252a725c60df7c068f98df1503","tarball":"https://registry.npmjs.org/smaller-modules/-/smaller-modules-0.3.0.tgz","fileCount":23,"unpackedSize":120524,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEIPvT7N03opTNF1cSDIuS28Qvks8kihKJANOkneROqAAiEAkrndWG9rZqqhDi2770lcrQnNrM7YH7i1lXof4tdikTY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvspbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpS4A/+L12U6oZWwZw9aSJCXdgHb0vnnEuYSFeMaYkWvg2TUXnXwQDG\r\npV6v38h/4ThXVwz6Ztoyd/ZaH+EqwjG+rmXRhev3khbqNYQOQAFKK79XS3LN\r\nsI1e/W4XLc2KPuTW74sYaYjELt37RyImuygRJ3C2hKP0TeCVocCNpBUVcj9b\r\n1Q7Y3tBbwIt0SRDSfgvUAKqohjQXf1OZopOVgy0ZRH8lPaThwmRCxIoRQJnk\r\neE+qJzlzqHz/R0u9GbPGLlcTHNonz1OHXSMTxpRvDc66dDUH3jqT+JGMJLXz\r\ntYy4pbN4bVJ1gihvhjJkm9DZhYGLIe21MdWHVLIMMZ2xFh7ISxZ00RG2CgOg\r\nBTjEACLx3MfjoeN/ZP5e7t7rmMtcX/NLwrpA7MmRWUecmuWyj4cuBqnvIzO5\r\ndaubEI12oo5r498IE1NJ2XuPsp+Xt698olLlFPNW+jBo5UA1zHu8ama2BF3F\r\nnRRruWh/ob5HjiWskZWbznKZW53hQ/U/CORlVN0nv5jaNIQtB2AqhbcoSndC\r\nX5ZPTdeqdphbH3tqOpW5KZLahh00eNbr0vfcp/hpMUBckG2lv59KpcJvW6lT\r\nN6fKbBW0i2uUoBVl+LxUU4dq/6xWO7UC6wVl9BiSz6dnPxvGkeeegocVKaZn\r\nSYavPI39OK73TfhhWq+DsKgoCAFDa+66WHY=\r\n=c1rD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"},"directories":{},"maintainers":[{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smaller-modules_0.3.0_1673448027750_0.13429980815954567"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-16T16:18:26.359Z","0.2.0":"2022-09-16T16:18:26.581Z","modified":"2023-01-11T14:40:28.019Z","0.2.1":"2022-09-16T16:24:10.281Z","0.2.2":"2022-09-25T14:49:31.414Z","0.2.3":"2022-09-25T14:55:59.206Z","0.2.4":"2022-09-25T14:57:53.193Z","0.3.0-alpha.0":"2023-01-11T09:26:43.086Z","0.3.0-alpha.1":"2023-01-11T10:28:11.078Z","0.3.0":"2023-01-11T14:40:27.935Z"},"maintainers":[{"name":"eliot_lim","email":"eliot_lim@tech.gov.sg"}],"description":"Shrink node_modules for deployment","homepage":"https://github.com/eliotlim/smaller-modules#readme","keywords":["node_modules","shrink","smaller","zip","nodejs","node","modules","trace","nft","lambda","deployment"],"repository":{"type":"git","url":"git+https://github.com/eliotlim/smaller-modules.git"},"author":{"name":"Eliot Lim"},"bugs":{"url":"https://github.com/eliotlim/smaller-modules/issues"},"license":"MIT","readme":"# smaller-modules\n\nShrink node_modules for deployment\n\n# Introduction\n\n![An illustration of the heaviest objects in the universe](https://i.redd.it/tfugj4n3l6ez.png \"node_modules\")\n\nAre you having problems getting `node_modules` down to a reasonable size?\n\n```text\nAn error occurred (RequestEntityTooLargeException) when calling the UpdateFunctionCode operation: Request must be smaller than 69905067 bytes for the UpdateFunctionCode operation\n```\n\nDo you hit size limits, even when creating separate layers to contain dependencies?\n\n```text\nAn error occurred (InvalidParameterValueException) when calling the UpdateFunctionCode operation: Unzipped size must be smaller than 262144000 bytes\n```\n\nHere's a utility that might help.\n\n# Quickstart\n\n## Zip up `node_modules` for Lambda\n\n```bash\nsmaller-modules --zip --file dist/handler.js\n```\n\n## Copy dependencies of compiled output to a new directory\n\n```bash\nsmaller-modules --copy --directory dist --output-subdirectory smaller_modules\n```\n\n## List dependencies of a `.js` file\n\n```bash\nsmaller-modules --list --file dist/index.js --output-path dependencies.txt\n```\n\n## or print it to the command line\n\n```bash\nsmaller-modules --list --file dist/index.js\n```\n\n# Usage\n\n## Zip up `node_modules` for Lambda (in long-hand)\n\n```bash\nsmaller-modules --zip --file dist/index.js --output-subdirectory nodejs --output-path node_modules.zip\n```\n\n## Use with packages in a mono-repository\n\n```bash\n# Run from packages/<package-name>\nsmaller-modules --list --file dist/index.js --base \"../..\" \n```\n","readmeFilename":"README.md"}