{"_id":"match-casing","_rev":"10-51de748810b406e86393080ff30354f1","name":"match-casing","description":"Match the case of `value` to that of `base`","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"match-casing","version":"1.0.0","description":"Match the case of `value` to that of `base`","license":"MIT","keywords":["string","match","case","casing"],"repository":{"type":"git","url":"git+https://github.com/wooorm/match-casing.git"},"bugs":{"url":"https://github.com/wooorm/hast-util-to-html/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{},"files":["index.js"],"devDependencies":{"browserify":"^13.0.1","esmangle":"^1.0.1","nyc":"^8.1.0","remark":"^6.0.1","remark-cli":"^2.0.0","remark-preset-wooorm":"^1.0.0","tape":"^4.0.0","xo":"^0.16.0"},"scripts":{"build-md":"remark . --quiet --frail","build-bundle":"browserify index.js --bare -s matchCasing > match-casing.js","build-mangle":"esmangle < match-casing.js > match-casing.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"ignores":["match-casing.js"]},"remarkConfig":{"output":true,"presets":"wooorm"},"gitHead":"793fbc87df41274228639831cc10c233c70c2a5e","homepage":"https://github.com/wooorm/match-casing#readme","_id":"match-casing@1.0.0","_shasum":"b9d8f836ed2d6c5fa3c78bff4458efd894b371a4","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"b9d8f836ed2d6c5fa3c78bff4458efd894b371a4","tarball":"https://registry.npmjs.org/match-casing/-/match-casing-1.0.0.tgz","integrity":"sha512-Uk1cmYcmxfHkYc8VtDQBl7bu2sTJscjpw9SEeYg1LyvpCJWnWVYCbM3SL0jV3DsGy2OAtKvs0lzVdSfpdD9SqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCh2o/hN5981TuZsLuSAiGvtVf2V01105LNOliCx05XiwIgNIkKB/mJmm8PlbVIrXR3SObrKEWhtwiGB6OK8wtuYUI="}]},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/match-casing-1.0.0.tgz_1473178754609_0.18108274624682963"},"directories":{}},"1.0.1":{"name":"match-casing","version":"1.0.1","description":"Match the case of `value` to that of `base`","license":"MIT","keywords":["string","match","case","casing"],"repository":{"type":"git","url":"git+https://github.com/wooorm/match-casing.git"},"bugs":{"url":"https://github.com/wooorm/match-casing/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{},"devDependencies":{"browserify":"^14.1.0","esmangle":"^1.0.1","nyc":"^11.0.0","remark-cli":"^4.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","xo":"^0.18.0"},"scripts":{"build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s matchCasing > match-casing.js","build-mangle":"esmangle < match-casing.js > match-casing.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"esnext":false,"ignores":["match-casing.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"4389bd9973012bd7512b6e20c9711c76f4194929","homepage":"https://github.com/wooorm/match-casing#readme","_id":"match-casing@1.0.1","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"integrity":"sha512-zUroBN1AtMqqtIOb2qfwgncEuUAG7b5wQ1J9/D8jYRxbdvUZnpuRIlkqFyrX/1RbWJNzERwHG4BMj2LTtZW48g==","shasum":"baa22d0b0279b848bf63e7cc33dd19f161377d8e","tarball":"https://registry.npmjs.org/match-casing/-/match-casing-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFGnN9gHQFIC6FL+/pE1ijAsiEuEJrRe2ajJZWKVJe8xAiBpJUEhiSb4is2cBBl66T4+mJI4lLIWBmXY0svOrl94Qg=="}]},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/match-casing-1.0.1.tgz_1501180998865_0.17539373692125082"},"directories":{}},"1.0.2":{"name":"match-casing","version":"1.0.2","description":"Match the case of `value` to that of `base`","license":"MIT","keywords":["string","match","case","casing"],"repository":{"type":"git","url":"git+https://github.com/wooorm/match-casing.git"},"bugs":{"url":"https://github.com/wooorm/match-casing/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^14.0.0","prettier":"^1.12.1","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.5.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s matchCasing -o match-casing.js","build-mangle":"browserify . -s matchCasing -p tinyify -o match-casing.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["match-casing.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"04d9670a35c7e6e00c5d22ef0c0a44daf528753c","homepage":"https://github.com/wooorm/match-casing#readme","_id":"match-casing@1.0.2","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-NH4X/9dxkjgl08sGHg0M15YJH8xk49kPpeSsVqr+5Ct4Qd8gaBn41ubSBd+nEzMZt5iJDdoeSnKXV57UVeyK2w==","shasum":"30b1073b9a98ef2afcd5a7058c5c3cda5a62b3a8","tarball":"https://registry.npmjs.org/match-casing/-/match-casing-1.0.2.tgz","fileCount":4,"unpackedSize":5735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1+Z6CRA9TVsSAnZWagAAtIcP/0mGZItCeghRTD0jvst9\nhBEmBwzHHpEKBNbE8t/Kmzc1NC/hJYfnzf97abrcj7f+SqSjrg9WDDy7CB34\nFzNVBLYZt5jvcG7WEKRdoAP99n8lK/d3uBhvEtH6aoVr0Qi4Et1OWSmyRw3D\np2JNqUtI8R+8GBytgEkbT5qYp+Lm5jKYSJ3p0Rstx8A6h+NLLMEJYNy+cOdG\nHfRBMAqV89yHKubd1x5R/dbjU7b4fusBNYaTiqShnfijJJh/TQt1SXuesW4T\n2pEEbMRqUwk2/gQK5b19Ap0G23ypLuc/skBpwXN3rSJSvCL8gpiDCAQgT5Ln\nk0iuYwvFylfssBoEyBCR1g+lLxSTCMSrxYct1aDnDeW5QaiWqUmjNcnlJw1s\ngCiwID/acf/3r6R/5bTcIa4gm3dGqnr+XJ15nV4jSoPytUMWVUDtdcemXJYY\nI5zj4fUwK5HbM7k5w1evKoEr5CQpCZ/IpRXv5chjBxS7JirHiI4FU7yZUbud\nwadQ2dFd9nkHAliTS3R4NuUSO5Pk6icq9v2vBTn/pv7wuHWd+TP+x/9rBRa7\n0rAlCt4JQLaCDe6klqWHbvB6G4EOe4bAiRbo1cl8L6I9T58Cc+NItkgj5GzD\nBh8N1FyvHb2ortOIcxOLmbYV+ZJb56/VDRhtbujGeSE2v79HAi3ZxEXlD9bs\nfXR0\r\n=ywjy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAJX7kKwhj/v741cuNMcBjUmoOgRT+x1qlXGcrRKx0ogAiAMVg9dzTaasgYidy10WJzU1ZbuLdO6aSgMNoHW4Q5hRw=="}]},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/match-casing_1.0.2_1557653113996_0.9847368197716697"},"_hasShrinkwrap":false},"1.0.3":{"name":"match-casing","version":"1.0.3","description":"Match the case of `value` to that of `base`","license":"MIT","keywords":["string","match","case","casing"],"repository":{"type":"git","url":"git+https://github.com/wooorm/match-casing.git"},"bugs":{"url":"https://github.com/wooorm/match-casing/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^15.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","xo":"^0.25.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s matchCasing -o match-casing.js","build-mangle":"browserify . -s matchCasing -p tinyify -o match-casing.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["match-casing.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"45c67239b64ae439c9081ef380915d276ff2e03c","homepage":"https://github.com/wooorm/match-casing#readme","_id":"match-casing@1.0.3","_nodeVersion":"13.0.1","_npmVersion":"6.13.6","dist":{"integrity":"sha512-oMyC3vUVCFbGu+M2Zxl212LPJThcaw7QxB5lFuJPQCgV/dsGBP0yZeCoLmX6CiBkoBcVbAKDJZrBpJVu0XcLMw==","shasum":"cda6c33e377dbe49daff286e0d500d90766b16a4","tarball":"https://registry.npmjs.org/match-casing/-/match-casing-1.0.3.tgz","fileCount":4,"unpackedSize":5796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLA+PCRA9TVsSAnZWagAA+TAP/jz+llJhfFPMiQHLQttv\n9eYmz9gNu+a1PLw0WASIqNIK31LT6dtRezf7O/sJ2HTU7ONGPFf3B2bKZPRW\nEuaDTFMoajz77uUelhEUmrfHbMeQKWoNIh69Q9HgxObPzDgW+IY8fTYrKBSJ\nVjtBOU3e9S5c1YEB1AzuIOG+r+N8B10a7G60EV8UX7NPgWf8fIX8ae7nxwRf\n0rRh0ENVGzqv2UIW8oXMvLA1hc8kmwLPGXFDs+6rjMbNevN+x5IKlXGM0GPJ\nj+WYy/G0MXt4m1B48+D5GjqEVtAfkdrqXkLZmk1idF2YcO5dJoSg1cljhSe9\nhcsQa2t8h42wQR043CK2TXs1uA1efPGSZyih4p6WyZHiKXDTExu9qwmwNfug\n3STCmzE7D3U1UfLbkAD6TjHj9V4wy9p6HnoOlrtiPpYoNokIqU3QV9vOYUPH\nMa0Or7bDXJK244xODaXbDntxcPfRKrwL2yjTSEgAeeEOlL6Ba2L/IVeiwNuU\nJd5YDp5NLuBW9tG53iV2UTiQ8W9fcDVSJicRqRU/JvNGKcpMFAZCJ6/H6Du+\npzQdv7RIg5uS2jQzBGFbs+nwbp+3LomaYQ+8tq3wn6N+e4+5J2AQ32oWg+Qn\nL+TiDgMGdl+3fPGAfkGqAUNYLp6zfar2RfYq/aT/Yfvsvy3oOkpMvPMv21kE\ni9Pi\r\n=Pbb/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4u/Yu2qskYK+xEcmfROsP7aLlxPbz2PaJ56JI7xdtVQIhANtbqOlkoXkqKJxwiNpQyCnCdPj9A3zHuD4xpTv8++g/"}]},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/match-casing_1.0.3_1579945870749_0.6724975683930716"},"_hasShrinkwrap":false},"2.0.0":{"name":"match-casing","version":"2.0.0","description":"Match the case of `value` to that of `base`","license":"MIT","keywords":["string","match","case","casing"],"repository":{"type":"git","url":"git+https://github.com/wooorm/match-casing.git"},"bugs":{"url":"https://github.com/wooorm/match-casing/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.38.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"8df17cd3aaadb016fddebef5b76e1716ce4ccb7c","homepage":"https://github.com/wooorm/match-casing#readme","_id":"match-casing@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.2","dist":{"integrity":"sha512-yWG59YBJvFZLJC9PTtpckce1JVu3j0C4Am9/AO65qmug4iHdpMdzj2BC7FGoN5kGsjr1jS8i6zdeVy05P7SjWg==","shasum":"76d56d1fd6ff75fc02b71f1a17c6180e12153f22","tarball":"https://registry.npmjs.org/match-casing/-/match-casing-2.0.0.tgz","fileCount":5,"unpackedSize":6562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYFZbCRA9TVsSAnZWagAAKgwP/1Pxf7Kb+PL1jDYWXuz0\n5rfQRRGowqwrAh2ieXBwtUisUoIXLxoVQfwUdBMK44eopoNhN02f2JudZOta\nD8NIb9SyPDYEQhVZ3zAgbAsYK/tSy3TQ22J1Or6doS15nrxl09ilnpwNa57B\npMAcdTGHGPl0d4ebJyj5iuQ2QRaTBZkW3bjipXNSB6i5C5X5O8EXL9gQvPxl\naUWheIATMNap8LfLlMqG9PsrXi+DoSSgD9wkZo/y7jGde9hNY95JVKfn19sj\nX1X/IyG3yagBVrZ/S9bfAqQQLARwOnlNRzes/8w2sYGDLnZsGD4y0V587oo2\nFZyt9aWc/1Y+CJyVmYJysZ97BlZrSCK5MZBFDtI+MbfyVKvVHpYDCVIIYNIW\nS5ZDp1erfZ5tcSOH8fCfFATwAecAtMsHyRrlquAQtQYTzPcIJ92BBWK4y+0c\nWUcFs+RCZe98ZqU8gCNj30EsfG+Q627Zo1fHJWlf6ECHxGbtX4t4fVYZw+Po\nLGCb26Pd1f/W2aEWJGKlhmDXEimTr0A5qfdFFCyHRMTRhPiX1pGfN2eVs7p5\nDWPeQVM88RWUMz/pwS06iLly1BC1ympH2SD/pc6433BAT4EkDfKfARiFXl9M\nqNrK04yKofhS8nIlwLo/MgZrIO95haiiu1f+YllbAE8jdbs3F5Gc7obch6gq\nUBA6\r\n=fzRj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICLjPpRlpO4PdXb3fXfxNdoBeObHpZGI7jCo6tOmx0P+AiAYNdOfYN7sfPLkItlnIB/hxBpmpVFxF+rFXSXOmJkpfA=="}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/match-casing_2.0.0_1616926298775_0.5431130904349362"},"_hasShrinkwrap":false},"2.0.1":{"name":"match-casing","version":"2.0.1","description":"Match the case of `value` to that of `base`","license":"MIT","keywords":["string","match","case","casing"],"repository":{"type":"git","url":"git+https://github.com/wooorm/match-casing.git"},"bugs":{"url":"https://github.com/wooorm/match-casing/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.46.0"},"scripts":{"prepublishOnly":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"83f79fb81a53f4ddaacd44359b1eb74ae6837486","homepage":"https://github.com/wooorm/match-casing#readme","_id":"match-casing@2.0.1","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-LeCq9FI5u4nppJnt4hklxcchkH9qH9+uFjX17f74a99lLkRXfVE49iL0hCtM5DZolps483viAy5zjvlTz/JNoA==","shasum":"fe5142127c7d710e9159033c196786edc57923a3","tarball":"https://registry.npmjs.org/match-casing/-/match-casing-2.0.1.tgz","fileCount":5,"unpackedSize":8446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2yzdCRA9TVsSAnZWagAABVsQAJhZ1i3mvk4aYBs9k9Oz\n7Km+YEMBSQahdMVyh5AWuovPKmVNr074xIVqIyUnMtGwCGZohE6Z2NZ9NtSb\nmv296+aJx/TdwhMo09/HxgNxm6XTYa4MdiEgcXuQtezixBfDwCckfReJ+unD\nXVzGoJw0N65cGAFShQfHMKp0CW9p/V8Vs8NOfRpzc0riSEUfJknkUJ7/L9ne\nI0p7KvsaiGt190ekf4AFYRJ7SBa9i+MTxE97w1/ekoxiicM5gK0C6G4UwVLY\nc6UQWSs1cqu/CyFGrB+yXKGGJtJuLWuI7TnX0r/Vh2Be8bpt3QDuVmz0JieL\n7pB0f7+1ypqWN4CYFN8HC0RhClbhWkj5OCCbDeR7SoYuUUIBL5u/cx3oE+XA\nk3Vzx72YbaW47UsAfhC2x6st6B9Dqwr3YiFv9cQ8gXYpY3HIB+LBRixBhvy0\nZ4FAnACln89zAOw6KfBz51Vi6yLXgyIijaLNDZs/vTwt2XP9lwMhgs4ydBJu\ncR4GmKpe99rHsfcGC9yVsWzRqLPNkRTHpXsVdqTAFrs36+nquICjJEgsE1b4\nr0HKp1uka+L16nFRBXDt+LIWaUC6Qi31cA1U3b/Kmw1TgRVbmRlEfPLoyCxP\nwyda36jfOQSxsJW7cl+ZrAAJ663CmTNgzxhGZMgyGKzedmxXOG4+IP7mw6+4\nFDMv\r\n=+7cu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFUpoyWtNcvmm1kv5AgVfqBn90eaX4M8crlnOYNTp6pGAiBWPEfPLBDgBF1NaHCaMaAAsa6Da+Cb+VR4lPnQG3fokA=="}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/match-casing_2.0.1_1636282978096_0.4210101787074927"},"_hasShrinkwrap":false}},"readme":"# match-casing\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nMatch the case of `value` to that of `base`.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`matchCasing(value, base)`](#matchcasingvalue-base)\n*   [Types](#types)\n*   [Algorithm](#algorithm)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package matches the case (lowercase, uppercase, capitalized) of a string to\nthat of another string.\n\n## When should I use this?\n\nThis package is useful if a user wrote some word, and you want to suggest a\nreplacement, and want to make sure that the suggestion matches that of the\noriginal.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]:\n\n```sh\nnpm install match-casing\n```\n\nIn Deno with [Skypack][]:\n\n```js\nimport {matchCasing} from 'https://cdn.skypack.dev/match-casing@2?dts'\n```\n\nIn browsers with [Skypack][]:\n\n```html\n<script type=\"module\">\n  import {matchCasing} from 'https://cdn.skypack.dev/match-casing@2?min'\n</script>\n```\n\n## Use\n\n```js\nimport {matchCasing} from 'match-casing'\n\nmatchCasing('foo', 'BAZ') // => 'FOO'\nmatchCasing('foo', 'Baz') // => 'Foo'\nmatchCasing('foo', 'baz') // => 'foo'\nmatchCasing('foo', 'BaZ') // => 'foo'\n\nmatchCasing('FOO', 'BAZ') // => 'FOO'\nmatchCasing('FOO', 'Baz') // => 'Foo'\nmatchCasing('FOO', 'baz') // => 'foo'\nmatchCasing('FOO', 'BaZ') // => 'FOO'\n\nmatchCasing('Foo', 'BAZ') // => 'FOO'\nmatchCasing('Foo', 'Baz') // => 'Foo'\nmatchCasing('Foo', 'baz') // => 'foo'\nmatchCasing('Foo', 'BaZ') // => 'Foo'\n\nmatchCasing('’90S', '’twas') // => '’90s'\nmatchCasing('’N’', 'a') // => '’n’'\n```\n\n## API\n\nThis package exports the following identifier: `matchCasing`.\nThere is no default export.\n\n### `matchCasing(value, base)`\n\nTransform the case in `value` (`string`) to match that of `base` (`string`).\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nThere are no extra exported types.\n\n## Algorithm\n\n*   If `base` is uppercase, `value` is uppercased\n*   Else, if `base` is lowercase, `value` is lowercased\n*   Else, if the first alphabetic character in `base` is uppercase,\n    and the rest of `base` is lowercase, uppercase the first alphabetic\n    character in `value` and lowercase the rest\n*   Else, return `value` unmodified\n\nThe third case deals with initial non-alphabetical characters as expected.\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 12.20+, 14.14+, and 16.0+.\nIt also works in Deno and modern browsers.\n\n## Security\n\nThis package is safe.\n\n## Related\n\n*   [`words/emoji-emotion`](https://github.com/words/emoji-emotion)\n    — list of emoji rated for valence\n*   [`wooorm/emoticon`](https://github.com/wooorm/emoticon)\n    — info on ASCII emoticons\n*   [`wooorm/strip-skin-tone`](https://github.com/wooorm/strip-skin-tone)\n    — Strip skin-tones from emoji\n*   [`wooorm.com/checkmoji`](https://wooorm.com/checkmoji/)\n    — Check emoji across platforms\n\n## Contribute\n\nYes please!\nSee [How to Contribute to Open Source][contribute].\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/wooorm/match-casing/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/match-casing/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/match-casing.svg\n\n[coverage]: https://codecov.io/github/wooorm/match-casing\n\n[downloads-badge]: https://img.shields.io/npm/dm/match-casing.svg\n\n[downloads]: https://www.npmjs.com/package/match-casing\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/match-casing.svg\n\n[size]: https://bundlephobia.com/result?p=match-casing\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[skypack]: https://www.skypack.dev\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[typescript]: https://www.typescriptlang.org\n\n[contribute]: https://opensource.guide/how-to-contribute/\n","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2022-06-19T16:29:06.898Z","created":"2016-09-06T16:19:15.595Z","1.0.0":"2016-09-06T16:19:15.595Z","1.0.1":"2017-07-27T18:43:19.809Z","1.0.2":"2019-05-12T09:25:14.397Z","1.0.3":"2020-01-25T09:51:10.915Z","2.0.0":"2021-03-28T10:11:38.964Z","2.0.1":"2021-11-07T11:02:58.250Z"},"homepage":"https://github.com/wooorm/match-casing#readme","keywords":["string","match","case","casing"],"repository":{"type":"git","url":"git+https://github.com/wooorm/match-casing.git"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/wooorm/match-casing/issues"},"license":"MIT","readmeFilename":"readme.md"}