{"_id":"aws-cloudfront-sign","_rev":"32-d1e47b6bcebb3f9f359531fd85e8c78f","name":"aws-cloudfront-sign","description":"Utility module for signing AWS CloudFront URLs","dist-tags":{"latest":"3.0.2"},"versions":{"0.0.1":{"name":"aws-cloudfront-sign","version":"0.0.1","description":"Utility module for signing AWS CloudFront URLs","main":"./lib/cloudfront-util.js","scripts":{},"repository":{"type":"git","url":"https://github.com/jasonsims/aws-cloudfront-sign.git"},"keywords":["aws","CloudFront","signed URL"],"author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"dependencies":{"moment":"~2.5.1"},"_id":"aws-cloudfront-sign@0.0.1","dist":{"shasum":"81ee13fe83c5de8bc9c7338d76c0200e8e6046e4","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-0.0.1.tgz","integrity":"sha512-1+6iv4fpgiG+1I22KR3WY0v/CJc1xlSey1mieACDsL1s9H6F2JNXWdkhgdojjSNi2ezap6oex0bU5Nd/2NOILQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+sCYNdEnMhOMz3VV3DFWulXjMfRWTb6dA2UvXnWPdBQIgbmGB6icRYzg7uiIvfCeI0TlpDBHm3ddG+jGn6Cw9bRk="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"directories":{}},"0.0.2":{"name":"aws-cloudfront-sign","version":"0.0.2","description":"Utility module for signing AWS CloudFront URLs","main":"./lib/cloudfront-util.js","scripts":{},"repository":{"type":"git","url":"https://github.com/jasonsims/aws-cloudfront-sign.git"},"keywords":["aws","CloudFront","signed URL"],"author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"dependencies":{"moment":"~2.5.1"},"_id":"aws-cloudfront-sign@0.0.2","dist":{"shasum":"0e6ab34c96f663a1ec094e820857117c12abe104","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-0.0.2.tgz","integrity":"sha512-7RwdToNyfH+32UUaQ9HR8aenHffW/Vpo7f8npMMMFn00sR8bCFYji+3hPxuCIYoc7NV9Kx1mT7VsuR2ZH2kNXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMUtCEjUcNA6HvMyUXI9yN+HQnC1CRHpBLdcwAT1+LUwIge38cHi42pKedvxeAPFCWCujHm2gIN6UunTXveovrhx0="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"directories":{}},"0.0.3":{"name":"aws-cloudfront-sign","version":"0.0.3","description":"Utility module for signing AWS CloudFront URLs","main":"./lib/cloudfront-util.js","scripts":{},"repository":{"type":"git","url":"https://github.com/jasonsims/aws-cloudfront-sign.git"},"keywords":["aws","CloudFront","signed URL"],"author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"dependencies":{"moment":"~2.5.1"},"_id":"aws-cloudfront-sign@0.0.3","dist":{"shasum":"15a059f05e3cd8a7a8f4ce2f1e4207f40e824717","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-0.0.3.tgz","integrity":"sha512-D1sGagR/2ZZnHhLnNGCkNMFaAtFFBZMFsTx7XbYIhSfzm/GTU6TxGpZKE9aXt8vJLtdsxSc9r01x2lhsdAENyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSqsEiDT+3+KV9KoWdRSTKNWMIVwwq3TWp3+OlYOVqlgIhAM9r9Aho+b5TYIxkSj1kCx1KHbIMx7JryapuSSvCsMGu"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"directories":{}},"1.0.0":{"name":"aws-cloudfront-sign","version":"1.0.0","description":"Utility module for signing AWS CloudFront URLs","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"contributors":[{"name":"Matt Palmerlee"}],"main":"./lib/cloudfront-util.js","scripts":{},"repository":{"type":"git","url":"https://github.com/jasonsims/aws-cloudfront-sign.git"},"keywords":["aws","CloudFront","signed URL"],"license":"MIT","bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"dependencies":{},"homepage":"https://github.com/jasonsims/aws-cloudfront-sign","_id":"aws-cloudfront-sign@1.0.0","dist":{"shasum":"58f217d2a9026a8b8af0a644499a26597db67fe5","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-1.0.0.tgz","integrity":"sha512-dxIlQJGvLCawAyoNP4lXsK2zb0mLSgYyDsrIX2ex623zMUhILhdsmlTLvTRkMuzfGz04FyVDzGa2uE5T7oMl/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpujPrYax42jX/SiidU8+9iUFsmf94E01cWx82ccmiJwIhAIEcb6nYCL0IDjSbqs5wP+HFQYqCGJBNj2aA+BDguhll"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"directories":{}},"1.1.0":{"name":"aws-cloudfront-sign","version":"1.1.0","description":"Utility module for signing AWS CloudFront URLs","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"contributors":[{"name":"Matt Palmerlee"}],"main":"./lib/cloudfront-util.js","scripts":{"test":"node ./test/lib/cloud-front-util.test.js"},"repository":{"type":"git","url":"https://github.com/jasonsims/aws-cloudfront-sign.git"},"keywords":["aws","CloudFront","signed URL"],"license":"MIT","bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"dependencies":{},"devDependencies":{"tap":"^0.4.12"},"gitHead":"9eb9439e96f0190b75a78b154fb9be058dfe0e8c","homepage":"https://github.com/jasonsims/aws-cloudfront-sign","_id":"aws-cloudfront-sign@1.1.0","_shasum":"21ca2f73111b496098fb347195c412a6c8182c28","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"dist":{"shasum":"21ca2f73111b496098fb347195c412a6c8182c28","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-1.1.0.tgz","integrity":"sha512-g73wHJoLYU2aJF2VUvfpZYixg+IvDd2b/EjdAOI0ws5zLCSXvsFNzhApnAW7xUFkXH81GFmIYVUU0wmoS1f49g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6F7dChVA89VEUDXVBRv8TdcHL3f6+nuE+IY1/y9QFCwIgTs2jJMsDmR80A1aylnrgtRkUL84U56jquAmC7b9sWDA="}]},"directories":{}},"2.0.0":{"name":"aws-cloudfront-sign","version":"2.0.0","description":"Utility module for signing AWS CloudFront URLs","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"contributors":[{"name":"Matt Palmerlee"}],"main":"./lib/cloudfrontUtil.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jasonsims/aws-cloudfront-sign.git"},"keywords":["aws","CloudFront","signed URL"],"license":"MIT","bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"dependencies":{"lodash":"^3.6.0"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.2.1","moment":"^2.9.0","sinon":"^1.14.1"},"homepage":"https://github.com/jasonsims/aws-cloudfront-sign","_id":"aws-cloudfront-sign@2.0.0","dist":{"shasum":"b6275669deaf635fbb1f924323880ff7fd536f50","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-2.0.0.tgz","integrity":"sha512-6Grat0xRfUPw5LcRwO012kz2kl1T8YehAhpSIZ85I8Z0WZB++BfhRWjAnM2y9j3VzTFgC20DTS52qJeSVHXX6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiEPvCkXVthIQTjgA+FLHP/65/o5TtQeHmhWlOv+QG1wIgYMs/UqCw97eW5JG788MeMLyN4wvXHtL/hqMqK7eFgWs="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"directories":{}},"2.0.1":{"name":"aws-cloudfront-sign","version":"2.0.1","description":"Utility module for signing AWS CloudFront URLs","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"contributors":[{"name":"Matt Palmerlee"}],"main":"./lib/cloudfrontUtil.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jasonsims/aws-cloudfront-sign.git"},"keywords":["aws","CloudFront","signed URL"],"license":"MIT","bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"dependencies":{"lodash":"^3.6.0"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.2.1","moment":"^2.9.0","sinon":"^1.14.1"},"homepage":"https://github.com/jasonsims/aws-cloudfront-sign","_id":"aws-cloudfront-sign@2.0.1","dist":{"shasum":"0e3039fa3efad0ba4aa651affaab0cb8571c76ab","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-2.0.1.tgz","integrity":"sha512-sEvCT+8KieDmDCvQ0BZSNd5MpXg4StNukod+1io0KR/VZVfQoVfWxfMw8AcXV+7edOFRBfOYwcXLtdrsx6yHjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBslHvOJ4W6ItCCMjtLwCe5Vh05VoaIoZS9ebF24cMWvAiAh5e9Xbs+b5Kvvo6Na94EHsWNeQ+i21Mho7E/RLpkG1A=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"directories":{}},"2.1.0":{"name":"aws-cloudfront-sign","version":"2.1.0","description":"Utility module for signing AWS CloudFront URLs","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"contributors":[{"name":"Matt Palmerlee"}],"main":"./lib/cloudfrontUtil.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/jasonsims/aws-cloudfront-sign.git"},"keywords":["aws","CloudFront","signed URL"],"license":"MIT","bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"dependencies":{"lodash":"^3.6.0"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.2.1","moment":"^2.9.0","sinon":"^1.14.1"},"gitHead":"c813ee4961eb4e2c0dd52ec8aa84e80a364abf62","homepage":"https://github.com/jasonsims/aws-cloudfront-sign#readme","_id":"aws-cloudfront-sign@2.1.0","_shasum":"9dd55cd26a7fa3f2407b5fc7b1c0fa7c2c4b0bc2","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"dist":{"shasum":"9dd55cd26a7fa3f2407b5fc7b1c0fa7c2c4b0bc2","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-2.1.0.tgz","integrity":"sha512-Pl1eaI0sgYRyE3EEomINOYGcMeQcNBYKfn8p5Um7TfstXjBaFgN3Ybk3fQ+rVsikFA7IghDWOr0z0J3ZsRy6sQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFvdCaKk1rJUuDhsuiy+5rhuDKQwj9GkeaGea6BDJp7EAiEA6PIdDePja+sB33R4YfTn/lqkcyyw3oijdBGOUmgTgzk="}]},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/aws-cloudfront-sign-2.1.0.tgz_1456342917033_0.2695461034309119"},"directories":{}},"2.1.1":{"name":"aws-cloudfront-sign","version":"2.1.1","description":"Utility module for signing AWS CloudFront URLs","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"contributors":[{"name":"Matt Palmerlee"}],"main":"./lib/cloudfrontUtil.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/jasonsims/aws-cloudfront-sign.git"},"keywords":["aws","CloudFront","signed URL"],"license":"MIT","bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"dependencies":{"lodash":"^3.6.0"},"tonicExampleFilename":"./examples/signedURL.js","devDependencies":{"chai":"^2.2.0","mocha":"^2.2.1","moment":"^2.9.0","sinon":"^1.14.1"},"gitHead":"62f899fae0dd9f30833df58cfd69a51274ff6d2e","homepage":"https://github.com/jasonsims/aws-cloudfront-sign#readme","_id":"aws-cloudfront-sign@2.1.1","_shasum":"77e4a2f871e6fefda7184c90c0ff575be0302b74","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"dist":{"shasum":"77e4a2f871e6fefda7184c90c0ff575be0302b74","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-2.1.1.tgz","integrity":"sha512-vYVXyANuln5K/BlxUuw9qo7Qxvvy79cQAsm0EDCqbL3ATDRKakBvabFAEpGGryzUsaJptEaU4oqrrlCD5a/YuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKmHc/fEJjbRqv31w/tz8Ak/BHrJUfPTCRCaAXlvf2bQIhAKfH+9IPmhEjEbsw5spgqNC6CqXdYB3469ekA/3shGPj"}]},"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/aws-cloudfront-sign-2.1.1.tgz_1456348846659_0.403799993917346"},"directories":{}},"2.1.2":{"name":"aws-cloudfront-sign","version":"2.1.2","description":"Utility module for signing AWS CloudFront URLs","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"contributors":[{"name":"Matt Palmerlee"}],"main":"./lib/cloudfrontUtil.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/jasonsims/aws-cloudfront-sign.git"},"keywords":["aws","CloudFront","signed URL"],"license":"MIT","bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"dependencies":{"lodash":"^3.6.0"},"tonicExampleFilename":"./examples/signedURL.js","devDependencies":{"chai":"^2.2.0","mocha":"^2.2.1","moment":"^2.9.0","sinon":"^1.14.1"},"gitHead":"ba10d997d5c85bbe1f3f787bada196016314cafd","homepage":"https://github.com/jasonsims/aws-cloudfront-sign#readme","_id":"aws-cloudfront-sign@2.1.2","_shasum":"c40e54bd341d8f2ecc9fcc4211f467baaf84fe7f","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"dist":{"shasum":"c40e54bd341d8f2ecc9fcc4211f467baaf84fe7f","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-2.1.2.tgz","integrity":"sha512-WYG7yzUabyHkvaWvphTqcHvhxG7Q4tn8xC6CXYoaTRsWYPiRDcYpPTkIiP76T+W2Z5ZHFKgAnNgSeSb4Rpe3sw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDr8pb4Iu3OODm77ggpNyLlxEGyU/sO44upSLiaKyrK6wIhAO6oktkQnymVysr9UGw1dGpNf39ttMg9o1zyc1Zkj0ey"}]},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/aws-cloudfront-sign-2.1.2.tgz_1456549240905_0.056108422577381134"},"directories":{}},"2.2.0":{"name":"aws-cloudfront-sign","version":"2.2.0","description":"Utility module for signing AWS CloudFront URLs","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"contributors":[{"name":"Matt Palmerlee"}],"main":"./lib/cloudfrontUtil.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/jasonsims/aws-cloudfront-sign.git"},"keywords":["aws","CloudFront","signed URL"],"license":"MIT","bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"dependencies":{"lodash":"^3.6.0"},"tonicExampleFilename":"./examples/signedURL.js","devDependencies":{"chai":"^2.2.0","mocha":"^2.2.1","moment":"^2.9.0","sinon":"^1.14.1"},"gitHead":"c2e8a4a2ea4dc2c4546f8dc363fcb64ba8f18d2e","homepage":"https://github.com/jasonsims/aws-cloudfront-sign#readme","_id":"aws-cloudfront-sign@2.2.0","_shasum":"3910f5a6d0d90fec07f2b4ef8ab07f3eefb5625d","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"dist":{"shasum":"3910f5a6d0d90fec07f2b4ef8ab07f3eefb5625d","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-2.2.0.tgz","integrity":"sha512-qG+rwZMP3KRTPPbVmWY8DlrT56AkA4iVOeo23vkdK2EXeW/brJFN2haSNKzVz+oYhFMEIzVVloeAcrEzuRkuVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID4RqouKEIyzcxYAEbh9tFFLZjcs8F9ZlmwYo0X/2DbNAiAa0/dA5OerXiNTQDe3wianDdCRS40Wq4jXwb/h/SszQA=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/aws-cloudfront-sign-2.2.0.tgz_1478753615974_0.14844535011798143"},"directories":{}},"2.2.1":{"name":"aws-cloudfront-sign","version":"2.2.1","description":"Utility module for signing AWS CloudFront URLs","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"contributors":[{"name":"Matt Palmerlee"}],"main":"./lib/cloudfrontUtil.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/jasonsims/aws-cloudfront-sign.git"},"keywords":["aws","CloudFront","signed URL"],"license":"MIT","bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"dependencies":{"lodash":"^4.17.21"},"tonicExampleFilename":"./examples/signedURL.js","devDependencies":{"chai":"^2.2.0","mocha":"^2.2.1","moment":"^2.9.0","sinon":"^1.14.1"},"gitHead":"f9f7e73cfab9c7e8348f0d3fa6db501c792d6c61","homepage":"https://github.com/jasonsims/aws-cloudfront-sign#readme","_id":"aws-cloudfront-sign@2.2.1","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-QNDzghynIwx512lZ49JamQU/P1oZqo52+rjCbWUDlmzeaZD+nSwXD0ZKpIrT5Cy/aZR76ekFEAhtMInrDNlm3A==","shasum":"3480f05eaec12593c3e51d5f12b6915113b78d8a","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-2.2.1.tgz","fileCount":14,"unpackedSize":34992,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICSmdVob1r7+RG6K+nBNIV/8wfOrSF/HQKlhzcjj05tKAiEA2m/KgmgB51tnT2ciPDb/HpUxOalyFgkB6DtmWDpUQqk="}]},"_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"directories":{},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-cloudfront-sign_2.2.1_1688652652500_0.010804770614809556"},"_hasShrinkwrap":false},"3.0.0":{"name":"aws-cloudfront-sign","version":"3.0.0","description":"Utility module for signing AWS CloudFront URLs","keywords":["aws","CloudFront","signed URL"],"bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"repository":{"type":"git","url":"git+https://github.com/jasonsims/aws-cloudfront-sign.git"},"funding":"https://ko-fi.com/jzimz","license":"MIT","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"contributors":[{"name":"Matt Palmerlee"}],"main":"./dist/cjs/index.js","scripts":{"build":"npm run build:esm && npm run build:cjs","build:cjs":"tsc --project tsconfig.cjs.json","build:esm":"tsc --project tsconfig.esm.json","commitlint":"commitlint --edit","lint":"eslint ./src","prepare":"husky install","test":"jest ./src"},"devDependencies":{"@commitlint/cli":"^17.6.5","@commitlint/config-conventional":"^17.6.5","@jest/globals":"^29.5.0","@types/node":"^20.4.0","@types/sinon":"^10.0.15","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","eslint":"^8.41.0","eslint-config-semistandard":"^17.0.0","husky":"^8.0.0","moment":"^2.9.0","sinon":"^15.2.0","ts-jest":"^29.1.0","typescript":"^5.0.4"},"engines":{"node":">=18"},"tonicExampleFilename":"./examples/signedURL.js","types":"./dist/cjs/index.d.ts","gitHead":"a6535c65be8ed893ade8a56a4eca0ddb430b4270","homepage":"https://github.com/jasonsims/aws-cloudfront-sign#readme","_id":"aws-cloudfront-sign@3.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-tT+3VEkEicP0OgPplwm/kI0a5cnaO9syhFDg3vGu2JZPRToGMbgGQD4autJv4l5u19pO67WpFvQi52VnZVSyjQ==","shasum":"1af286f6224afc30cf6164b3ac1846d9b9dad106","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-3.0.0.tgz","fileCount":39,"unpackedSize":36101,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6hzpBqjuq6uyaeWfB0NQ9AVxCF4+NKIbSko1x/yVwHgIgMPvTFDq5CzgKyrFxiIGYC1RrkB/uvcmIUs0NKYUQv08="}]},"_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"directories":{},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-cloudfront-sign_3.0.0_1688963102654_0.9305209314719833"},"_hasShrinkwrap":false},"3.0.1":{"name":"aws-cloudfront-sign","version":"3.0.1","description":"Utility module for signing AWS CloudFront URLs","keywords":["aws","CloudFront","signed URL"],"bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"repository":{"type":"git","url":"git+https://github.com/jasonsims/aws-cloudfront-sign.git"},"funding":"https://ko-fi.com/jzimz","license":"MIT","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"contributors":[{"name":"Matt Palmerlee"}],"main":"./dist/cjs/index.js","scripts":{"build":"npm run build:esm && npm run build:cjs","build:cjs":"tsc --project tsconfig.cjs.json","build:esm":"tsc --project tsconfig.esm.json","commitlint":"commitlint --edit","lint":"eslint ./src","prepare":"husky install","test":"jest ./src"},"devDependencies":{"@commitlint/cli":"^17.6.5","@commitlint/config-conventional":"^17.6.5","@jest/globals":"^29.5.0","@types/node":"^20.4.0","@types/sinon":"^10.0.15","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","eslint":"^8.41.0","eslint-config-semistandard":"^17.0.0","husky":"^8.0.0","moment":"^2.9.0","sinon":"^15.2.0","ts-jest":"^29.1.0","typescript":"^5.0.4"},"engines":{"node":">=18"},"tonicExampleFilename":"./examples/signedURL.js","gitHead":"f2388023fd72dc9e6d47d5089c1c4ee3f53d7057","homepage":"https://github.com/jasonsims/aws-cloudfront-sign#readme","_id":"aws-cloudfront-sign@3.0.1","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-f+dmmH4Z9JH5wjfRJPxLy5GFmQfl8EmQTqdYeUK8cDTf0Djz+UNNXVIaJclMDocFAIVTanE1cWh6S7gtanz0Wg==","shasum":"3844f130a7501ec7d27c93ddc09b6b28a103a52a","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-3.0.1.tgz","fileCount":3,"unpackedSize":8400,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmkXQIwS25z1SHnJmcOsnxe9XmGqfrjJM7etFOZMwrAwIgf5MniSKbQjP5aLVf//cEzVPpLt08L6NQPiL8E3pddSY="}]},"_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"directories":{},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-cloudfront-sign_3.0.1_1689173686766_0.5137413095695187"},"_hasShrinkwrap":false,"deprecated":"critical bug fixed in v3.0.2"},"3.0.2":{"name":"aws-cloudfront-sign","version":"3.0.2","description":"Utility module for signing AWS CloudFront URLs","keywords":["aws","CloudFront","signed URL"],"bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"repository":{"type":"git","url":"git+https://github.com/jasonsims/aws-cloudfront-sign.git"},"funding":"https://ko-fi.com/jzimz","license":"MIT","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"contributors":[{"name":"Matt Palmerlee"}],"main":"./dist/cjs/index.js","scripts":{"build":"npm run build:esm && npm run build:cjs","build:cjs":"tsc --project tsconfig.cjs.json","build:esm":"tsc --project tsconfig.esm.json","commitlint":"commitlint --edit","lint":"eslint ./src","prepare":"husky install","test":"jest ./src"},"devDependencies":{"@commitlint/cli":"^17.6.5","@commitlint/config-conventional":"^17.6.5","@jest/globals":"^29.5.0","@types/node":"^20.4.0","@types/sinon":"^10.0.15","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","eslint":"^8.41.0","eslint-config-semistandard":"^17.0.0","husky":"^8.0.0","moment":"^2.9.0","sinon":"^15.2.0","ts-jest":"^29.1.0","typescript":"^5.0.4"},"engines":{"node":">=18"},"tonicExampleFilename":"./examples/signedURL.js","types":"./dist/cjs/index.d.ts","gitHead":"6513f8169cdbdc0080e753e14e5c4dc8a54b473c","homepage":"https://github.com/jasonsims/aws-cloudfront-sign#readme","_id":"aws-cloudfront-sign@3.0.2","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-Z/yOGZ3Hd1rhYbY13mtRiLCbCDC1Xf/v+dQUyUwMLnyunD/nfDZd/2LMZ9MKxxOhVb2RzEmEwY0F9f+riPaSWQ==","shasum":"da5273b0301bcd70312c8c76293d5fec6d414f0a","tarball":"https://registry.npmjs.org/aws-cloudfront-sign/-/aws-cloudfront-sign-3.0.2.tgz","fileCount":33,"unpackedSize":34775,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0OrUj7ihpo7B2BJbrA6vpBlCfJqkseEhlyUCriPGQOAiAlFjk7jgTKN2yq8gSYc1OW9AVQlzeo2ZEBZ9WtOrzFAA=="}]},"_npmUser":{"name":"jasonsims","email":"sims.jrobert@gmail.com"},"directories":{},"maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-cloudfront-sign_3.0.2_1689178239209_0.7520742320848268"},"_hasShrinkwrap":false}},"readme":"AWS CloudFront URL Signature Utility\n===================\n[![Build Status](https://travis-ci.org/jasonsims/aws-cloudfront-sign.svg?branch=master)](https://travis-ci.org/jasonsims/aws-cloudfront-sign)\n[![npm version](https://badge.fury.io/js/aws-cloudfront-sign.svg)](http://badge.fury.io/js/aws-cloudfront-sign)\n\n---\n\n**NOTE**\n\nThe [AWS SDK for JavaScript](https://docs.aws.amazon.com/en_pv/sdk-for-javascript/v2/developer-guide/welcome.html) has added support for generating signed URLs and Cookies.  Please see [Class: AWS.CloudFront.Signer](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CloudFront/Signer.html)\n\n---\n\nGenerating signed URLs for CloudFront links is a little more tricky than for S3. It's because signature generation for S3 URLs is handled a bit differently than CloudFront URLs and this functionality is not currently supported by the [aws-sdk](https://github.com/aws/aws-sdk-js) library for JavaScript. In case you also need to do this, I've created this simple utility to make things easier.\n\n## Usage\n### Requirements\n* Node.js >=18\n* Active CloudFront distribution with origin configured\n\n### Configuring CloudFront\n1. Create a CloudFront distribution\n2. Configure your origin with the following settings:\n\n   **Origin Domain Name:** {your-s3-bucket}\n   **Restrict Bucket Access:** Yes\n   **Grant Read Permissions on Bucket:** Yes, Update Bucket Policy\n3. Create CloudFront Key Pair. [more info][cf_keypair_docs]\n\n### Installing\n```sh\nnpm install aws-cloudfront-sign\n```\n\n### TypeScript\n```js\nimport { SignatureOptions } from 'aws-cloudfront-sign/types'\n```\n\n### Upgrading from 2.x to 3.x\n* There shouldn't be any breaking changes when coming to 3.x. RTMP URLs were deprecated by Amazon\nbut that will affect all versions.\n* Support for ES Modules was added\n* Support for TypeScript was added\n\n### Upgrading from 1.x to 2.x\n* `expireTime` now takes it's value as milliseconds, Date, or\n [moment][moment_docs] instead of seconds.\n\n### API\n#### getSignedUrl(url, options)\n* `@param {String} url` - Cloudfront URL to sign\n* `@param {Object} options` - URL signature [options](#options)\n* `@return {String} signedUrl` - Signed CloudFrontUrl\n\n#### getSignedCookies(url, options)\n* `@param {String} url` - Cloudfront URL to sign\n* `@param {Object} options` - URL signature [options](#options)\n* `@return {Object} cookies` - Signed AWS cookies\n\n#### ~~getSignedRTMPUrl(domainName, s3key, options)~~\n⛔️ **Deprecated**: [RTMP Support Discontinuing on December 31, 2020](https://repost.aws/questions/QUoUZgHZh7SEWlnQUPlBmVNQ/announcement-rtmp-support-discontinuing-on-december-31-2020)\n* ~~`@param {String} domainName` - Domain name of your Cloudfront distribution~~\n* ~~`@param {String} s3key` - Path to s3 object~~\n* ~~`@param {Object} options` - URL signature [options](#options)~~\n* ~~`@return {Object} url.rtmpServerPath` - RTMP formatted server path~~\n* ~~`@return {Object} url.rtmpStreamName` - Signed RTMP formatted stream name~~\n\n### Options\n* `expireTime` (**Optional** - Default: 1800 sec == 30 min) - The time when the URL should expire. Accepted values are\n   * number - Time in milliseconds (`new Date().getTime() + 1800000`)\n   * moment - Valid [momentjs][moment_docs] object (`moment().add(1, 'day')`)\n   * Date - Javascript Date object (`new Date(2016, 0, 1)`)\n* `ipRange` (**Optional**) - IP address range allowed to make GET requests\n  for your signed URL. This value must be given in standard IPv4 CIDR format\n  (for example, 10.52.176.0/24).\n* `keypairId` - The access key ID from your Cloudfront keypair\n* `privateKeyString` || `privateKeyPath` - The private key from your Cloudfront\n   keypair. It can be provided as either a string or a path to the .pem file.\n  **Note:** When providing the private key as a string, ensure that the newline\n  character is also included.\n\n  ```js\n  const privateKeyString =\n    '-----BEGIN RSA PRIVATE KEY-----\\n'\n    'MIIJKAIBAAKCAgEAwGPMqEvxPYQIffDimM9t3A7Z4aBFAUvLiITzmHRc4UPwryJp\\n'\n    'EVi3C0sQQKBHlq2IOwrmqNiAk31/uh4FnrRR1mtQm4x4IID58cFAhKkKI/09+j1h\\n'\n    'tuf/gLRcOgAXH9o3J5zWjs/y8eWTKtdWv6hWRxuuVwugciNckxwZVV0KewO02wJz\\n'\n    'jBfDw9B5ghxKP95t7/B2AgRUMj+r47zErFwo3OKW0egDUpV+eoNSBylXPXXYKvsL\\n'\n    'AlznRi9xNafFGy9tmh70pwlGG5mVHswD/96eUSuLOZ2srcNvd1UVmjtHL7P9/z4B\\n'\n    'KdODlpb5Vx+54+Fa19vpgXEtHgfAgGW9DjlZMtl4wYTqyGAoa+SLuehjAQsxT8M1\\n'\n    'BXqfMJwE7D9XHjxkqCvd93UGgP+Yxe6H+HczJeA05dFLzC87qdM45R5c74k=\\n'\n    '-----END RSA PRIVATE KEY-----'\n  ```\n  Also, here are some examples if prefer to store your private key as a string\n  but within an environment variable.\n  ```sh\n  # Local env example\n  CF_PRIVATE_KEY=\"$(cat your-private-key.pem)\"\n\n  # Heroku env\n  heroku config:set CF_PRIVATE_KEY=\"$(cat your-private-key.pem)\"\n  ```\n\n## Examples\n### Creating a signed URL\nBy default the URL will expire after half an hour.\n```js\n// ESM: import { getSignedUrl } from 'aws-cloudfront-sign'\nconst cf = require('aws-cloudfront-sign')\nconst options = {keypairId: 'APKAJM2FEVTI7BNPCY4A', privateKeyPath: '/foo/bar'}\nconst signedUrl = cf.getSignedUrl('http://xxxxxxx.cloudfront.net/path/to/s3/object', options);\nconsole.log('Signed URL: ' + signedUrl);\n```\n\n### Creating signed cookies\n```js\n// ESM: import { getSignedCookies } from 'aws-cloudfront-sign'\nconst cf = require('aws-cloudfront-sign')\nconst options = {keypairId: 'APKAJM2FEVTI7BNPCY4A', privateKeyPath: '/foo/bar'}\nconst signedCookies = cf.getSignedCookies('http://xxxxxxx.cloudfront.net/*', options);\n\n// You can now set cookies in your response header. For example:\nfor(var cookieId in signedCookies) {\n res.cookie(cookieId, signedCookies[cookieId]);\n}\n```\n\n[moment_docs]: http://momentjs.com/docs\n[cf_keypair_docs]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html#private-content-creating-cloudfront-key-pairs\n","maintainers":[{"name":"jasonsims","email":"sims.jrobert@gmail.com"}],"time":{"modified":"2023-07-12T16:19:30.213Z","created":"2014-02-09T23:43:12.186Z","0.0.1":"2014-02-09T23:43:13.298Z","0.0.2":"2014-02-09T23:45:10.346Z","0.0.3":"2014-02-10T00:01:47.835Z","1.0.0":"2014-06-07T20:51:01.356Z","1.1.0":"2014-11-26T23:03:04.593Z","2.0.0":"2015-04-02T02:32:56.249Z","2.0.1":"2015-04-22T00:47:01.041Z","2.1.0":"2016-02-24T19:41:57.841Z","2.1.1":"2016-02-24T21:20:47.668Z","2.1.2":"2016-02-27T05:00:43.526Z","2.2.0":"2016-11-10T04:53:36.214Z","2.2.1":"2023-07-06T14:10:52.759Z","3.0.0":"2023-07-10T04:25:02.845Z","3.0.1":"2023-07-12T14:54:47.000Z","3.0.2":"2023-07-12T16:10:39.417Z"},"readmeFilename":"README.md","author":{"name":"Jason Sims","email":"sims.jrobert@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/jasonsims/aws-cloudfront-sign.git"},"homepage":"https://github.com/jasonsims/aws-cloudfront-sign#readme","keywords":["aws","CloudFront","signed URL"],"contributors":[{"name":"Matt Palmerlee"}],"bugs":{"url":"https://github.com/jasonsims/aws-cloudfront-sign/issues"},"license":"MIT","users":{"khay":true,"eserozvataf":true,"amaynut":true,"koulmomo":true,"esperluette":true}}