{"_id":"@busyhe/ynn-plugin-cors","_rev":"1-7c5e69a5296596b552e69d9c1122088e","name":"@busyhe/ynn-plugin-cors","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@busyhe/ynn-plugin-cors","version":"0.0.1","description":"用于处理CORS请求授权的Ynn插件。","main":"src/index.js","scripts":{"test":"jest --forceExit","tw":"npm run test-watch","test-watch":"jest --watch","test-cov":"jest --coverage --runInBand --forceExit --detectOpenHandles","lint":"eslint src --cache --ignore-path .eslintignore","precommit-msg":"echo 'Pre-commit checks...' && exit 0"},"repository":{"type":"git","url":"git+ssh://git@github.com/busyhe-ynn-plugins/plugin-cors.git"},"keywords":["cors","access-control","request","cross-origin","cross-domain"],"author":{"name":"LvChengbin","email":"lvchengbin59@gmail.com"},"jest":{"testMatch":["**/test/**/*.spec.js"],"coverageReporters":["text-summary","text","lcov"],"collectCoverageFrom":["lib/**/*.js"],"testEnvironment":"node"},"devDependencies":{"eslint":"^7.3.1","jest":"^26.1.0","pre-commit":"^1.2.2","supertest":"^4.0.2","ynn":"0.1.1"},"dependencies":{"@lvchengbin/is":"0.0.27","vary":"^1.1.2"},"gitHead":"73e730fab40d0b399aaf9b0167c555160e291c31","bugs":{"url":"https://github.com/busyhe-ynn-plugins/plugin-cors/issues"},"homepage":"https://github.com/busyhe-ynn-plugins/plugin-cors#readme","_id":"@busyhe/ynn-plugin-cors@0.0.1","_nodeVersion":"12.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-K4W5TuhLBAulyQSj+WjYrXrGBl5qJkrb4aIh1EXy7ilLz+iMKp/cm4KM5RlmceuS5rMbUB8vpvV87W+R5TRmdQ==","shasum":"7d008f7caf3e6e9555c4db962c36c3db7ea29a6b","tarball":"https://registry.npmjs.org/@busyhe/ynn-plugin-cors/-/ynn-plugin-cors-0.0.1.tgz","fileCount":8,"unpackedSize":6219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/v1dCRA9TVsSAnZWagAAKvUP/12g00o2Ke5U3npc1V1E\nFMmEfnxEPNEaROlgcxTVrbIuoOvD5stSr6aYLpDBqs/+TzBy45kcfodTeX0k\nFFAAYKtnd4pubceA+ULP7XxWWUeQjQw8F+36IjZWXBrZYJH7c0m1m9/OCE/N\nETLCHoJKh7pVajj65i/hWSyLm9udeMfU8c/VH0h2g8G/hhaLkkCbbzHj9RO2\nTtK4dWrR+lbMfop6d7HeY87hhyxDMX1Ifcf+DepqShKAjWgaBrEadPUkMOsA\nuLAcGe/jm6JtV0y8XJXhopMnDDK4CXTahMi2PHFli/2xRcPhORpfGk3P8jmv\njQQOAKNGXH2iC1UKEYpBbdCYeKvtXMWDDtPsdnI7oppNYD9ucIK7oiZD/xzu\nT1RphiPZfkdbOYGMsPrcR8NkYZks+P/9AelZ+DUNEtdRLWaNEOuiny5pNe5w\n4PcdomD3Alh1IjMlu63PS+IdvxE3EY3/RKxjpx/2wiiryLveBoQ+MTqiSHEV\nL7UEHiZGa13NoA4fyQCpZaPHKgIBnRz4MLS8jbYHKdx5oBvrdXQam77Skehr\n6tQD2ulNx+F+Z9/XqqEVELKx/3FaUkTlM+ItD2o5woWNP2jBz+6oF35zcXPw\nyC6ynE+SZteJFi+KP9xXWUuhFoCpvNQoatO/Td8lWGFmiZ8zSvRmSe8glNgz\nz0Jg\r\n=lY8s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA/In7IpoEag19jo6qn6iOqp4b6ryXO++xmUanHcIwhgAiA1uoB7PUkfWRnUP7TqgmQgc8632q+J5pxahG6VJguh2Q=="}]},"maintainers":[{"name":"busyhe","email":"525118368@qq.com"}],"_npmUser":{"name":"busyhe","email":"525118368@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ynn-plugin-cors_0.0.1_1593769309440_0.7500681122072974"},"_hasShrinkwrap":false}},"time":{"created":"2020-07-03T09:41:49.402Z","0.0.1":"2020-07-03T09:41:49.559Z","modified":"2022-04-04T21:09:59.343Z"},"maintainers":[{"name":"busyhe","email":"525118368@qq.com"}],"description":"用于处理CORS请求授权的Ynn插件。","homepage":"https://github.com/busyhe-ynn-plugins/plugin-cors#readme","keywords":["cors","access-control","request","cross-origin","cross-domain"],"repository":{"type":"git","url":"git+ssh://git@github.com/busyhe-ynn-plugins/plugin-cors.git"},"author":{"name":"LvChengbin","email":"lvchengbin59@gmail.com"},"bugs":{"url":"https://github.com/busyhe-ynn-plugins/plugin-cors/issues"},"readme":"# @busyhe/ynn-plugin-cors\n\nCORS请求处理插件。\n\n## Installation\n\n```sh\n$npm install --save @busyhe/ynn-plugin-cors\n```\n\n## Usage\n\n```js\nconst Ynn = require( 'ynn' );\nconst app = new Ynn( {\n    plugins : {\n        cors : {}\n    }\n} );\n```\n","readmeFilename":"README.md"}