{"_id":"string-comparison","_rev":"13-c0736a7e326dd47caf7aa51a13bf4761","name":"string-comparison","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"string-comparison","version":"1.0.0","description":"字符串相似度比较","main":"./src/index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha","lint":"eslint src"},"repository":{"type":"git","url":"https://github.com/Rabbitzzc/js-string-comparision"},"keywords":["strings","compareSimilarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/preset-env":"^7.6.3","async":"^3.1.0","mocha":"^6.2.1","npm-run-all":"^4.1.5"},"_id":"string-comparison@1.0.0","dist":{"shasum":"978a3a03bcadbeddab871ed3e73a6a1beef475a4","integrity":"sha512-rYYxV2omaAZprPhChJ6RPoUjoSyNlsnvpPrBk3Mj0K2az2/PylnYk6jL4ldLjrJBGw0/fSvWaS3yKpDR7j33/g==","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.0.0.tgz","fileCount":29,"unpackedSize":32014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpw7rCRA9TVsSAnZWagAAH+4P/0HkUfWa07K+SkAn3Zi0\nxmMdLS/WQFVQhBxoxRq0DbUiFFFoW8wVyTbSeIW3PCRwNSzKp9s3nql/pZGX\nKa5HyIlsMdRuU+4HJ4HgMLQSxnqjiLYntvmiiqgWybPsohxl6QvQKP2f0lz4\nc6qnyk8qj+0TsEI1XoJYFWss1oNVc+PG9JK7x9G4FRowzS8CgiDYJiRkMWYC\nbvMhv7C64SC8HyD3i6sfbwM0PzCLAxGAa/uG/feMNB70a/uP00IzHc6aj+tf\n2NbbhNo5yo3NED03R/XUkLn1TCIRBZxpK5VQ3R4evRjvw4csoHjZw82bbKI4\nZtKXRvNwwbK5y+rv6UlquAIPMhJkWMx+RxLHch4Zddf+OCm3PI6Y+ZNg6VZ/\njUK1By21ucENjfdt1P6ElNY30qD2tEqUj7FvoAaM+9AaL/BVKuaJM8zxKeLw\nCJz2dsYyrz1muM3ldc1UBdp0f0/wBcKrB8BieOgADOJNFp0rPXuIZch4mwb5\njhA/cYidZ8m5wD6H6b0OOLzDFWnahNS9ZSCHyOHMn5wfU8RwPvR5w9Rz3PMK\n0pBkTwVIc4huV9K5I8DRgdVBVJiFhD3uPETxMaSz1CObZptUejMXxFcZeqxB\nIbAd3VKlzJmjIi7pVHl9r2CeF+1k7dMN3QcSlHc+4K2oR7hlILutHq6IswOl\n7gwI\r\n=ow4o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjYNen2kjf6nYM3TwRhay5dpB973ygVOpeb/zfbEM67wIgHUCw5WuJJaQanDIEEg6/yesptXEQ34YeA9/p1lfrcLs="}]},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.0.0_1571229418973_0.29271562669962026"},"_hasShrinkwrap":false},"1.0.1":{"name":"string-comparison","version":"1.0.1","description":"A library implementing different string similarity","main":"./src/index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha","lint":"eslint src","build":"./node_modules/.bin/babel src  --out-dir lib"},"repository":{"type":"git","url":"https://github.com/Rabbitzzc/js-string-comparision"},"keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/preset-env":"^7.6.3","async":"^3.1.0","babel-preset-minify":"^0.5.1","mocha":"^6.2.1","npm-run-all":"^4.1.5"},"_id":"string-comparison@1.0.1","dist":{"shasum":"ff846c04337a67586665abeaf8612a01cab8755f","integrity":"sha512-tJiIiAfYLRk2O6TWmJmICGPcDr3omCyx0BNgDXfxQID9UvQUIBCL/b7uY/qwA6SuibjJcoU1yKJIuZWtBZj8eg==","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.0.1.tgz","fileCount":41,"unpackedSize":55530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpxcrCRA9TVsSAnZWagAA4EEQAKJ9IpvxSgUtXarp4aFG\nwA63TuDkNcpDTXHI4yW0yOT9XIrOSAruARx+dT7GhN8d2SQsE9/iF6yjsex+\n5fTOH446eGHjrPH1fujEh2P8uMXXnGSIN4AEp25natFIbwYERrpA88WvKGIo\nsJjd+55Ie7n9Zt0zGzFdy8kkQJHu3c2rJwTLcCyOsnETX6ZSDVY0EeNowGyQ\nguIJFIDAObUw5SQAWINIpcmRxgyJSkBNGLCWogqbmlrwLBrKNCgU3hlw5xR6\nauRlrc2kBjp0UoLlSBtmnQKq7Yf7ypE0o0fXE0qp1usuIw/tQGMZ4n2K2DCi\nPB7lonmuq4izlLLkbpRkTyyMy9FmDXs+APSSE47yR4ygwumarfAZ5JoH8tQx\nGjrOzj4hraA6hkehPO7NLZ7CNiL54MueEt4gF5mouWMh7J42mNEBvw/uLI4A\nmAPQMCZGHxO9btCvJLKvAbA2df/bDakAxyo36Vza5r/VdvHSxIkRpFl+HE8U\n2XQ8TUAy17kVgY78IHKTstA+9cRYzf++Q+zKOygP2KHmpePlgzKIy3gQb4IH\nZgrMECtF4HcI6UMy75rQYAosJb45AvxKkHE3rMKgBT++xLAU7u5/lh/jZOKV\nleNhAyXoOR1kJIXMCyS0EIwvft7AtIzT+nDgkLkbMdJqUjq5l0UoVaImXgWU\nuHmJ\r\n=mE0v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID8YfWR9+TapHr52DMF8RglAs8hEZ5hN5jAhbbE8zRa9AiAc/0IOTLLmpk8bILOOZoPd5WCZCbb4+xSdjfeElMfcZw=="}]},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.0.1_1571231530886_0.7909649424009728"},"_hasShrinkwrap":false},"1.0.2":{"name":"string-comparison","version":"1.0.2","description":"A library implementing different string similarity","main":"./src/index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha","lint":"eslint src","build":"./node_modules/.bin/babel src  --out-dir lib"},"repository":{"type":"git","url":"https://github.com/Rabbitzzc/js-string-comparision"},"keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/preset-env":"^7.6.3","async":"^3.1.0","babel-preset-minify":"^0.5.1","mocha":"^6.2.1","npm-run-all":"^4.1.5"},"_id":"string-comparison@1.0.2","dist":{"shasum":"7b80617e16c2d86d7615aca81fb01a24297ecd67","integrity":"sha512-3Y7i5Xp/o85gzfNHxPeOw2cf44Pu3frMhXJTmjSETBqjqakGFttpe8qcnzJBUVFqj/i/kLTEewrZjF6Mw4PgBw==","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.0.2.tgz","fileCount":41,"unpackedSize":55712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdp8VYCRA9TVsSAnZWagAA1LsP/RiM7q8q47XkZBT+jtCI\n9poMVRtyQ0I3uRh4p/89Ugxvakv60Lev26/VfEOFw+jZT90MJgZ7h2CrIix0\nXuLYB11czxrd4D3O1i9/I4qYYwy2bJ2O8WlCvl+vMQUZiM68tmMvuCRt80BN\n+dNmUq/jGEyZkknOhGs3uTJ7BCpdneOtyplo6/2aHkkA98u2PX911AfbH3BX\naXawVkMEd/Xx/vVG6r8hFGsLzblQib9ehbS+R42kTahGT2LkFLu9PIblZFeN\naOkXnX4KL1oPeXLEayMUsXAYhu4zamZsC3CXwpvbmWauzlC3nLlS4aCJML4i\nnseY1q5B5adEfNbOy7eufELnN/Hvr6Pk+AjSltuB0yrSkt56vAJcigl/XGA8\n1yhTPQmzg1IpW8SQn/CrYrydRGvfv1K9FtjyXm0PkqCf7Rl5ipnf83VZY99q\ndt1Qj1d9OgiYefU+cUYjLy/MIPHf1fiZKYe4SBvQnF9kdgokjsW8PGk2JnqA\nm7NzFDebridRhu/X0oU2bOOt1YvzGo81C4TyVbY090RD2PZR9ELiWA00RxAs\noCFMo56IR1x1ItjY4ryKJ4eOYhbbI1Pk/4s+tOVmFELAXmqYaA0ver5f/8pq\nB+V2ci2FwHS3r5Ee918AbseJcPMH4YUg/Usw6D3Rwx3GUC6wiEv5Bn2Lf8GV\nk4BC\r\n=S4hK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDIKxnRhcXkw89PUp7CBL98Xf8r7hmtl9s91M8ALv8jwAiEAsKQHhrkOTuiAwC5Zv66l0fpvicbLFXGkFQHnElZN6Gw="}]},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.0.2_1571276119355_0.41494616880620105"},"_hasShrinkwrap":false},"1.0.3":{"name":"string-comparison","version":"1.0.3","description":"A library implementing different string similarity","main":"./lib/index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha","lint":"eslint src","build":"./node_modules/.bin/babel src --out-dir lib"},"repository":{"type":"git","url":"https://github.com/Rabbitzzc/js-string-comparision"},"keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/preset-env":"^7.6.3","async":"^3.1.0","babel-preset-minify":"^0.5.1","mocha":"^6.2.1","npm-run-all":"^4.1.5"},"_id":"string-comparison@1.0.3","dist":{"shasum":"b6f1fe1831011e43ef551ba7ccfdb9ddca26e739","integrity":"sha512-7WpKr9HA2lyHaJumbtexLevuzvgFdeAJ/J9v7jirGaqHBMNAlBev5SvO8ZVHi2i7x7tMn3VYfGFzDsQ2VDdZcg==","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.0.3.tgz","fileCount":42,"unpackedSize":51637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdp9MMCRA9TVsSAnZWagAAwEgQAKEKpV1A2pzHu4Xv2cER\nm9CKD0V8dNsHE/R5T6pxOuycJDbxJXWaUU62Xpj8esTQC3h6zTEFQeVfiOSD\nq/zqqgwuSnjY3rkEhP6v1L/CCmrqZWfmNPEbSbjBh95XT4ckjCuOsYFFE0RE\nLOqt4a/FjqWgpIFO0v88np01y96IlWS5Mah+SUBcOfDy1QL0UDUjiHFmXOJY\nYWSDDTdE/kSRZrxYXoOLGtlkbAar1Qor6f8ylqfagotstqd5YkqzQM+lSCGu\nIzaFAGaVPRoRnNsxC1gwSgVS/Gb6Tg3Tr/Fjr50qaYZ09sLnTecC+754+b31\ndaO4N6rtwnrdzu1W2yITv5ArmzG9orWe7glV3qxSuJNQ4kSQjuwxx4wmkrsd\nxjVW8ix31ZRVVxW8OZPD3MOfuAnzve9jkM0j8lLK/JsOqIeeHXtwGv8lG7xB\nxl4a0PM2hE69VAheAI2TBMgfSL4nSM+8Zk1GxgDuyo+llML3YFdVUheBVxo9\n1ajRMGOLA07uGu5WxxjllAl3hqF7ciJDjDGFs+xMQ7FV4GIuACmrDzQI6gr1\nJvkz7SvPF49YqJoFKvYNmWADokpuEKWRyXTeGTe756XnuiZ3dqGj8Y4NKn4z\nzkK8pQ47LqjBDTngn6eCeio6IfUFlJr7feNk2TqVgWMpAWUqDxkRWHk7fmIT\ngf75\r\n=zagj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpNcnW2pC0bqrigySfTEouvffjp577j7YZ96TqU8H6tgIhALijrjMmxV2a5EK9xfOubTlcbmB/Od468RsoMa8+G3FB"}]},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.0.3_1571279628135_0.12430549636850374"},"_hasShrinkwrap":false},"1.0.4":{"name":"string-comparison","version":"1.0.4","description":"A library implementing different string similarity","main":"./lib/index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha","lint":"eslint src","build":"./node_modules/.bin/babel src --out-dir lib"},"repository":{"type":"git","url":"https://github.com/Rabbitzzc/js-string-comparision"},"keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/preset-env":"^7.6.3","async":"^3.1.0","babel-preset-minify":"^0.5.1","mocha":"^6.2.1","npm-run-all":"^4.1.5"},"_id":"string-comparison@1.0.4","dist":{"shasum":"ba2fa86df23e601e27f24f8ee10a53df9b0d1f03","integrity":"sha512-Cx3nvGX39pMlPJG5y6k5pPhH29AWCSXRBuOATKdHLPvkFXQvuyn7lsYbuDuvRH9v0zeoY7ENAsrAcgifhJOlvg==","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.0.4.tgz","fileCount":41,"unpackedSize":51590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdp9MtCRA9TVsSAnZWagAAs9YQAIj0SOUGDGImiqpbK3MU\n1l5DllTI7A/wV5qpB2klbjsL36piZMnI7WhpWPAiIHK8MVWsJyZVpKq/+Mnh\n7VA9P6356KHQoTFcgrc9gePWR+fSknUOaqce13QqWq7FAX/Wjgji1+8b4+sI\nCnZmHBpjs/Jw8Ky8WILF0bPonde1+pRpDALb/2YQxlzsduJNMjWN/8syOQ3v\nBo4NiRtaXINPUmYM6gOfr7Q4MyrTKxv6Li7e7A2V9kQqTB173PCwq/6hV9I3\nd2vSMiZGlMnOxq64+mtu4aiz+5m/HN2tOAon/C7E9KHTztTH+iFqyzEc2ZLE\nqNq9bHUL31gh2782aAZCegEpW5r6OtYi0wQ5cLiYTQwuFbkTzTjwnYfkoLyE\nRZHyGRDaRCnNb8yLzmqzNV2veF3OKqDx5i4mOUCzwsOF+wtZkYguSariczBQ\nEBxxpBps9wasErqHb0eQS8AIUaOlRZHhwpEZjh22i808UpG81wr3AqLuVmgc\nrvhwT3QBZMLebTSVsaIHHHIQnVbHxwUhzcV/aMhZYAmMn/b1fg6Sk9qECNAU\nPql491mD/ZxWpVZiYl38F6YyO7KQ/n7vvYCKqHOt78yLu1RMnwBAltHiNoKH\narfGLhuh78yrQfJzrqrHZf4a5OW8g77ybXYH1FQ+/LG9+2y+XsPOCuOEWbbn\ncEMH\r\n=qzET\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBOjlDQi+0CIxNFE51Gmhk5rgKrk90FR2ZFOjK6NaexZAiBl/Xpwp5mMJZjsrPmizsz0tbdlfrCNvrN/uaszE0Zpgg=="}]},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.0.4_1571279661265_0.5390200691493106"},"_hasShrinkwrap":false},"1.0.5":{"name":"string-comparison","version":"1.0.5","description":"A library implementing different string similarity","main":"./lib/index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha","lint":"eslint src","build":"./node_modules/.bin/babel src --out-dir lib"},"repository":{"type":"git","url":"https://github.com/Rabbitzzc/js-string-comparision"},"keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/preset-env":"^7.6.3","async":"^3.1.0","babel-preset-minify":"^0.5.1","mocha":"^6.2.1","npm-run-all":"^4.1.5"},"_id":"string-comparison@1.0.5","dist":{"shasum":"ed6c5ef1d91f8e7a29dabbdee15aa0af2312956a","integrity":"sha512-mlVeNLuPJnZATiHkiMLczERkPoAKh5Fcm2uGr6NDgZ1FQnTq7t9gi2Hac+9eSAyYtiLV2bU9tffIlAX2MmEkXw==","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.0.5.tgz","fileCount":42,"unpackedSize":57392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqZrMCRA9TVsSAnZWagAAvg4P/iZMEEIYhxgevYTTjgC/\nHLg+Niv6tapdr54JKgTcyyQvB8dlXB7yCDUjgi4lA4Xw4BSAjTYs0Fkhlk4c\na0vOttz8VTJqRCJpXdAjXpe6Luulb7cW4df8VG2CZoMLKzBbpxXJ9ozJHdV1\nSostNWMRWhLYEveJjhM4WefjOHD++7AVrKF3edewfFFxeTR/zNQmKI6j2Gy6\nCra95ngjdlVNuSIgXylCF79CHC4R8OlnT2mevGYYUEbOfcrlgEaT/TNpTxAY\n+16DtscwOdl18apAuQ+iBX+Inja8Vi6HYhblbfhcJarOqReYY8tlEOeeXEQw\niRaOvn0tqjAFvKfAmXOzLB8OvliAhmlbtYp3zDx7VR0l06VmQWPk2x7q4FkU\nXarwzcsFTf3efkL8v6V17ANsEsHnKF+OPtHH2qdM320d621bRqkJO+4x6bF8\nVaMLJqbhFZOLXfzlGEGF2MUqIh+4Fp4qiQAV3HKJFkLzy3HyNpJtd+0J6uCr\nE/frptj+Hxu0owoHRFyAss8lBJzjvRib0KNs7NaqWlN/iz+o1ea1yVbNBcBV\ntusPuDkbrnb62TjI7/tJKdkyUwuy/Z0qCz2w2gA3f0WH8+SU4sWlN5RUR7jD\nxzr2aYu9w2K8HNcnNzk/BEWtDwcEC3SHkFlmPgN8A63ArR500mkqbiZagvE6\neAW0\r\n=yxkg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEhUNpo+zP7i4h/EfLT1zLXZQFwgc07gO74BL2XqfbOgIhAIPLuRmvQqFIT5/LByIbirEDL8YA67kCNAL3ViGvBaaB"}]},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.0.5_1571396300004_0.21956195060503214"},"_hasShrinkwrap":false},"1.0.6":{"name":"string-comparison","version":"1.0.6","description":"A library implementing different string similarity","main":"./lib/index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha","lint":"eslint src","build":"./node_modules/.bin/babel src --out-dir lib"},"repository":{"type":"git","url":"https://github.com/Rabbitzzc/js-string-comparision"},"keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/preset-env":"^7.6.3","async":"^3.1.0","babel-preset-minify":"^0.5.1","mocha":"^6.2.1","npm-run-all":"^4.1.5"},"_id":"string-comparison@1.0.6","dist":{"shasum":"aaa2019cf40b488330ed12562993ab74430fb194","integrity":"sha512-JbbUw3a74pkyCE94H+fqayqKFk70d1g00j3L0M2JCWn8UuWWTdN+tfkElPbPS7oa8BGJEW46eEotLg/TdLOogQ==","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.0.6.tgz","fileCount":42,"unpackedSize":58576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqZ1QCRA9TVsSAnZWagAAbpUP/RCC2xtPEJwdx9qtWjS0\nZFyCjdlkrqd7SiqjsJZRPmFQrL1uf2CY91MPN9UOz0TL9pAyXbPa2BL8MWjY\npV+PH5URb1akEIHl0qlFAR+yVtyK0UKr0Zw80vhgIlSKiJwGYCUE2rRlApvD\n9fS1E9V9PiCwb/d7h4IsfHQrHQMKL/rmrD/gY0KMmrYsLvf1QIlaO4y4c+GA\nmxU/ZBuv465CKa6cia5RUR+HIXMvPiNbnyV3KttM3FdUQF2XiX0noNREEZEa\nwOBDFB11HyF4xi2VCe38N5GmQks7/x3vr8OYCqXijnGDsEa+yeO9VLJ9FZCy\nigTFfnzh78aL9Yv4qFLwJm/6eeVPVXVYVv6V8n52O5UNhBinFv8hmm8iOvIf\nsLq/kCTrY1p/EmTkPETZiS8kbao+ZzD3jpwleNCDfG8DYvunrqkcKhJ5Wdzr\ng+fj6EqNt1tSH/r9g4RDWRoEk+eEqi6XLCFm4kL22Az07kEvp/0k/mSC1D2J\nwfq2B7KLO+E7n84f0fVArjVEcDATvUK+xcW6ACrukmHEHzjWIRYLyRzc414i\ngTVo2P0u68sXiccEX02Yx9zZLplT/zKdH72VivBv/n4lnKvNso2EJrGzjdTr\nOA0P+tJQz8Gc0RMYgj+VsAuTmu2knTf1eLVvPmy4AakRgA9ywihGDrK/U4E5\nGRwX\r\n=+Fh3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDg1yNIPUwhrp/+GXsty1MBo5x9PsXxJVAGpwDNiCMk3AiEAkNACDSE7Ad0Cgk9X1aKtXY4R1Rzig9X1hcyeeIbhxyk="}]},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.0.6_1571396943874_0.032483589329129314"},"_hasShrinkwrap":false},"1.0.7":{"name":"string-comparison","version":"1.0.7","description":"A library implementing different string similarity","main":"./lib/index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha","lint":"eslint src","build":"./node_modules/.bin/babel src --out-dir lib"},"repository":{"type":"git","url":"https://github.com/Rabbitzzc/js-string-comparision"},"keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/preset-env":"^7.6.3","async":"^3.1.0","babel-preset-minify":"^0.5.1","mocha":"^6.2.1","npm-run-all":"^4.1.5"},"_id":"string-comparison@1.0.7","dist":{"shasum":"589c586f558d206e2d67879f5418c2b76be2d1b0","integrity":"sha512-vSIQT+5cD+CN/mWr90WhNILJZ3w7FFvc6jIHFDRKT4FGW1chK8R2XYPJmQeCgkAplEVxa+b97gTlsDT/qZ26Iw==","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.0.7.tgz","fileCount":42,"unpackedSize":58298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqZ2zCRA9TVsSAnZWagAAABIQAJZJPd7sMwZjWDlUarx4\ni9yd+kyC9YjuYFZg4ZDO0Rhkp+RxA1vjhgOwI+UAPcMXj8jXm1QBkcJu0cyP\n/wQQkOYAfz2mcN4SXr1bwqRM6UGHhmr6SNYyMinvcCcMw/9nWxv6uP0h2bSD\nBYLjmBjYYsl/nhKVpANOHA4+38zdAqz0aUnPTud/dGQDOgIVUlMSvISVzDJU\nPXcD6oav6XfBMrheE7MDPVpAAcADGLUvJN1bsmPABLHCsQbKQMVgEaoflVd7\nzE7DjjDTLEJKg4zdjruK7VH9QpdvGLf3rNWycraArnp5n2tJ5MNMkFcFRkzh\nks9l5NeyKVby76CH5KCZhK7T1f6L5yQtl6QO0GC9cynAxCfgsNMt3FM8OejY\nvLuDhZkNe13r8bvpP1JJ+RQpp1gEUd7UzYe5sRHDi0+UoG9haJ8gmWD6P8cd\nsnmxSnNRAEx3rNy7ZKP/V44Z5moBK7E3w7ZGZYVz7I14ssSOX/arbZiTGOAo\nNbX4+9Cx5usvJlBI6W/TFQ8eq0Sy+iSlDwNHocP0urbLglrBAArseuVw1RhV\n4dI8c8EuxlTO/zMXOF/jOIigxpMTFXh7PmJHlVbRUIoNUB9vxL0CIQFN1+LG\niJSf682gchtHbToDZ2Gcm20ETMlGNPl7Hoi+hYCeF++TkElbHwcu4na6Q0pp\nRZu4\r\n=GTg3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAhtY7pvKoubfqY1HzO4FhODhMKwQlyaXK5b4pVIkyBSAiAe6Z5xkh5qgDwnzB067LRzymHckfGoNJG4Xlz0Hu8rsA=="}]},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.0.7_1571397042632_0.6548709367294554"},"_hasShrinkwrap":false},"1.0.8":{"name":"string-comparison","version":"1.0.8","description":"A library implementing different string similarity","main":"./lib/index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha","lint":"eslint src","build":"babel src --out-dir lib"},"repository":{"type":"git","url":"git+https://github.com/Rabbitzzc/js-string-comparision.git"},"keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/preset-env":"^7.6.3","async":"^3.1.0","babel-preset-minify":"^0.5.1","mocha":"^6.2.1","npm-run-all":"^4.1.5"},"gitHead":"561f361a17f493db44228a5504eb5084f0b0950c","bugs":{"url":"https://github.com/Rabbitzzc/js-string-comparision/issues"},"homepage":"https://github.com/Rabbitzzc/js-string-comparision#readme","_id":"string-comparison@1.0.8","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-6WRhxiUcFHioqew2QuW1Y0mdBI/m6jKeVrJL8iTlg5Japutye05IlQYem9r1IzzVCGrAFi+1hChJ8Uk0WOW9hg==","shasum":"08497d4c22ce72b887287a7f9cb93ffaea84712e","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.0.8.tgz","fileCount":11,"unpackedSize":30940,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcbeWCRA9TVsSAnZWagAAvBkP/27OJ10djHdRt5KbgyCJ\nupyrvryWD2AzhRUvVP07vecl4x89DIghgQHTKlzowP0IPUfpQex9fjirQ1YX\nVWfCkIRtSkhvxOcxlJxT/I2yOjXhjYN7GIo8e/sThcXNdDVpVez3YU7BCqVA\nEDr+cymcpcd+CnYPZUm1uBGMRMNmBSqh+GAaq1dWjrKzCsN4uP4bqG3XWJyI\nnc7hz8dfPic6q5C4tk3p46tEejGBPFi0O5goZSBJQVQZ6G0rI9GJgzRLBMPM\n6UEFjKRq0PBR356pKFSNOTI8wB4tDsbyadH4U9yKJQNse4Uo+n7tV6UF/fpe\n2Kk5J6/ReAN/kwOja/mUjorB6tRjpYA5j3cHOm1nXXwaMNSUzl94L0lkoZcE\nb4Z+fmaXI3Rqb5OUrzAR0X9iuoAUT95niPlGrzFjTrvrIyq2rnKz02fT0BTf\nn2P/387vTC3dkkZWMatcYQrIFmu9hHN015mYZbeX8skBmgChoJeo//172rle\n66hgD22lPeT7FpgNAazTluv8uktt505GEeYcUJ1ZM19uu09FZkVy99988Hbv\nd483XDWJzLcZBPdrwZDPk76r9lqeTYOWcYeJ7dx2EXtmQunZtWEzKyhs62W7\n8AUinJii53nnepBHK0+zDsd7AhF1gjxo986LuFQNf6duBZKdaUprmxoGrsjm\nlAXw\r\n=m8/I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAv/j5ANnNNJco0hysmM9eAHN9/AFQtvTEIH6YwK5BYfAiEAyJiMZV8u1ZbHtEw14dsbFdq/bdfAPRWb6SKTiPfesls="}]},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.0.8_1601288086136_0.7312727176167853"},"_hasShrinkwrap":false},"1.0.9":{"name":"string-comparison","version":"1.0.9","description":"A library implementing different string similarity","main":"./lib/index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha","lint":"eslint src","build":"babel src --out-dir lib"},"repository":{"type":"git","url":"git+https://github.com/Rabbitzzc/js-string-comparision.git"},"keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/preset-env":"^7.6.3","async":"^3.1.0","babel-preset-minify":"^0.5.1","mocha":"^6.2.1","npm-run-all":"^4.1.5"},"gitHead":"4d2254882a70f25c1066e414ee47e3be6447d8c0","bugs":{"url":"https://github.com/Rabbitzzc/js-string-comparision/issues"},"homepage":"https://github.com/Rabbitzzc/js-string-comparision#readme","_id":"string-comparison@1.0.9","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-phzXndkWdEmrFPR2o92MJeuw/fC0vSelpzCEE7mvc4z8Br1J65ZWKqOUNgUzGkq+9aAmOypePJwPGELgn9iUhA==","shasum":"1435c7d5553a76fc6ae12995fe8f3cf724bb8a54","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.0.9.tgz","fileCount":11,"unpackedSize":30208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcbnTCRA9TVsSAnZWagAAirYQAJ/d9oWsmHzkIcuqgXdZ\nL82kh62HADhMQoUGynrLZCHkBchfPlKoJ+b8APlM19fCro1/vRGPoxfgYa4n\nWa51DtlCLPiPYMmxGWfjawXlVPh2aeL1sK62EyFoVWyvmc/hAmSnJQv2Yy0+\ngGuLO9DLigvvIHET+56vsHI+SeJ7F8hWGUom3huuvpBImGCHmf3CaJytMyZ7\nkBQO2za8F0ntzYpKctYdu28l2ODhLjoq80+6GhQHnDp4rWSXg1WIqRA08vtH\nsIce/HXd95eMClIjGyMLRUMKzBPzKaHhndE3v4EsOeA4eIFidJxBRvvrTuDm\nJ085BK2OJGVjnNi1eF/Pq8MFce4ehhb76JO4YTQAYSQXOvnfMWV9XOt+h737\nmOUnd7prXRQrbJp7na2OG5nopm/JTG/erp1DxMZOxW4LOycdaYLB+T2H3Iqb\nHy50N3CO+Scen0eKP8MzeKdMnr2RGuhBsVbkMVZzeKxiRljpWDuTn0MNZyQl\nm9b7xfIQ4BEUWpMd9n8Elp9Yxog0aHQIoIkqtV6FiXPJ7gieHrnU5aqhi+Zp\nR+s3SgmP3VgAaMGu0ux1PuD4tnodvRLpY5XFqpJqL3MivLeMEodeiLE6Punk\nL+Og3FG4r0iYCho2ekGN8QkIWsgfptBj6FXd4qq5Z9c9HJSi6YuVKtsRN39Q\nw9jt\r\n=2142\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNB65xzlr5GqoDi0yudBpp1u2geLRCOmYX/fIwr22BtQIhAJUVjH03AlQkXYLi38Q+4wxuezf3klKLKaWNBif/FV0A"}]},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.0.9_1601288658905_0.6564008591374895"},"_hasShrinkwrap":false},"1.1.0":{"name":"string-comparison","version":"1.1.0","description":"A library implementing different string similarity","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"test":"mocha","lint":"eslint src","build-fast":"tsup src/index.ts --dts --format cjs,esm --minify","build":"yarn build-fast","watch":"tsup src/index.ts --watch"},"repository":{"type":"git","url":"https://github.com/Rabbitzzc/js-string-comparision"},"keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@types/mocha":"^9.1.0","@types/node":"^17.0.18","@typescript-eslint/eslint-plugin":"^5.12.0","@typescript-eslint/parser":"^5.12.0","async":"^3.1.0","eslint":"^8.9.0","eslint-config-alloy":"^4.5.1","mocha":"^6.2.1","npm-run-all":"^4.1.5","ts-node":"^10.5.0","tsup":"^5.11.13","typescript":"^4.5.5"},"_id":"string-comparison@1.1.0","dist":{"shasum":"579c43554721d68db5a7819bd78b261559af3ed4","integrity":"sha512-9its9Hn37UNw6HlHFH0CGaTkkCWSCFtI3J5qLbuJqKAfbgEc0Ix+rFWfky47TcLlr5GvTSAqbGzHzQndZ7QaSQ==","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.1.0.tgz","fileCount":8,"unpackedSize":23496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiD3ZCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrRKQ//ZAZnFjUMjQBvYcPUc0U+4Mk0ISjdu4H1MKepJd717pHRwZKb\r\nVp7i2hA+pu6LqnJwx1augyPzYvU7Xthkw+RAC6ahKDuzIDQtBHBA3D6Anr+t\r\nIgtaZH8z/R511HgHtnFCr76rAjygV0M7bferHlLUuzytEH01zgUAvsr6UP9f\r\nTELGaBQ7QmzvCG8zuP/a1P9eDxiznOyycC/oNEkTl4uMaQti021XSWhK1Sxx\r\nMxMZr4382KrCwCuQ3kKIMy1uLhkS2CNDrHTjhHDEG6wjcI5uoA0vyVhOeTF4\r\nm9w6og7RdEPZFYIMfYSE91MvE1yslWkXqiP1aV7I7Bz1stlsY655wEwuh1l5\r\nBOofZ4132oCFIoLG1BwTtNTVStE8cKoSOuLRIuMzaF+52e36FlYvw0AF8ou4\r\nK/I0W31zVVIWhQW3JPgk/63Vb5W3C4S01F6lVHdRjgcFVNofz/0I2b2RWqaK\r\nuS5+TCwVrdCI4x5II3QORKZ6ymRgACSklCA4KH0BJsLjyi2J8KngbwGxmvCr\r\n2KX5YttaIah+8EwpJrQUva9RMpDfYtXWf6meSb6Wj4UEgIy7t1UrWguHeKor\r\nMcAlJN+gS/TfZBS3nORiJwSD5yL96KvuqZWPetpN/Zv3boLDfhSKC1VrwB3Q\r\ndHnCcJR215Gp27xhj8vcRDsMdG/ezSe3+94=\r\n=XSTi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBHO6a0INegZ/Db1jnLybvI50LzBQ7vbdOjm3o3WEzuaAiBEFwHs+rIlTOeNleKBUq0Kldrb+NGHkAOzaV5WiSywFw=="}]},"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.1.0_1645180482660_0.19130510071439732"},"_hasShrinkwrap":false},"1.2.0":{"name":"string-comparison","version":"1.2.0","description":"A library implementing different string similarity","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","engines":{"node":"^16.0.0 || >=18.0.0"},"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"test":"mocha","lint":"eslint -c .eslintrc.json \"src/**/*.ts\"","lint:fix":"eslint -c .eslintrc.json \"src/**/*.ts\" --fix","build":"tsup src/index.ts --dts --format cjs,esm --minify","watch":"tsup src/index.ts --watch"},"repository":{"type":"git","url":"https://github.com/Rabbitzzc/js-string-comparision"},"keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@swc/core":"^1.3.76","@types/mocha":"^10.0.1","@types/node":"^20.5.0","@typescript-eslint/eslint-plugin":"^6.3.0","@typescript-eslint/parser":"^6.3.0","async":"^3.2.4","eslint":"^8.47.0","eslint-config-alloy":"^5.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","mocha":"^10.2.0","npm-run-all":"^4.1.5","prettier":"^3.0.1","ts-node":"^10.9.1","tsup":"^7.2.0","typescript":"^5.1.6"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2019-present Rabbitzzc\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"string-comparison@1.2.0","dist":{"shasum":"c443c64180c550145b2e820ad95e86a4e09061b8","integrity":"sha512-Gk7kK438mY/EpZ9iSL02yNCH+k05d2ktwBF6u4RAYzg4ilbp+VICHaui42ArDv63weIl+bZuyXTRYYhI76d+jA==","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.2.0.tgz","fileCount":10,"unpackedSize":31122,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/JbhJWhu1jS6R6I3YLFek8ij1C7JjVAqUhU9gw69wOwIgOckUTU5VppxXnWmYr6tfKmI0yI1taXNfHq40M1ZaPzU="}]},"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.2.0_1693311704157_0.06806516720633149"},"_hasShrinkwrap":false},"1.3.0":{"name":"string-comparison","version":"1.3.0","description":"A library implementing different string similarity","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","engines":{"node":"^16.0.0 || >=18.0.0"},"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"test":"mocha","lint":"eslint -c .eslintrc.json \"src/**/*.ts\"","lint:fix":"eslint -c .eslintrc.json \"src/**/*.ts\" --fix","build":"tsup src/index.ts --dts --format cjs,esm --minify","watch":"tsup src/index.ts --watch"},"repository":{"type":"git","url":"https://github.com/Rabbitzzc/js-string-comparision"},"keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","devDependencies":{"@swc/core":"^1.3.76","@types/mocha":"^10.0.1","@types/node":"^20.5.0","@typescript-eslint/eslint-plugin":"^6.3.0","@typescript-eslint/parser":"^6.3.0","async":"^3.2.4","eslint":"^8.47.0","eslint-config-alloy":"^5.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","mocha":"^10.2.0","npm-run-all":"^4.1.5","prettier":"^3.0.1","ts-node":"^10.9.1","tsup":"^7.2.0","typescript":"^5.1.6"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2019-present Rabbitzzc\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"string-comparison@1.3.0","dist":{"shasum":"345c872d5c1046a067f4d0aacff38c7cb2cb0411","integrity":"sha512-46aD+slEwybxAMPRII83ATbgMgTiz5P8mVd7Z6VJsCzSHFjdt1hkAVLeFxPIyEb11tc6ihpJTlIqoO0MCF6NPw==","tarball":"https://registry.npmjs.org/string-comparison/-/string-comparison-1.3.0.tgz","fileCount":10,"unpackedSize":33786,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB351FNGD/LTU6kYYaQot/g1uSs2CkWnRcO+gP8qni4YAiB1rn7cy9kZYINYXEM/hLu3Thzn/L25a/ibLTibrB16BQ=="}]},"_npmUser":{"name":"simida","email":"zzclovelcs@gmail.com"},"directories":{},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-comparison_1.3.0_1701251623463_0.6734072780032092"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-16T12:36:58.973Z","1.0.0":"2019-10-16T12:36:59.099Z","modified":"2023-11-29T09:53:43.815Z","1.0.1":"2019-10-16T13:12:11.006Z","1.0.2":"2019-10-17T01:35:19.545Z","1.0.3":"2019-10-17T02:33:48.324Z","1.0.4":"2019-10-17T02:34:21.408Z","1.0.5":"2019-10-18T10:58:20.131Z","1.0.6":"2019-10-18T11:09:04.028Z","1.0.7":"2019-10-18T11:10:42.791Z","1.0.8":"2020-09-28T10:14:46.257Z","1.0.9":"2020-09-28T10:24:19.077Z","1.1.0":"2022-02-18T10:34:42.791Z","1.2.0":"2023-08-29T12:21:44.409Z","1.3.0":"2023-11-29T09:53:43.641Z"},"maintainers":[{"name":"simida","email":"zzclovelcs@gmail.com"}],"description":"A library implementing different string similarity","keywords":["strings","compare similarity","similarity","Dice's Coefficient","Cosine","Jaccard Index","Levenshtein","Longest Common Subsequence","Metric Longest Common Subsequence","difference","compare","comparision","similar","distance","match","sort match"],"repository":{"type":"git","url":"https://github.com/Rabbitzzc/js-string-comparision"},"author":{"name":"Rabbitzzc","email":"zzclovelcs@gmail.com"},"license":"MIT","readme":"\n# string-comparison\n![npm bundle size](https://img.shields.io/bundlephobia/minzip/string-comparison)\n![npm](https://img.shields.io/npm/dm/string-comparison)\n[![GitHub stars](https://img.shields.io/github/stars/Rabbitzzc/js-string-comparison)](https://github.com/Rabbitzzc/js-string-comparison/stargazers)\n[![GitHub license](https://img.shields.io/github/license/Rabbitzzc/js-string-comparison)](https://github.com/Rabbitzzc/js-string-comparison/blob/master/LICENCE)\n\n**JavaScript implementation of [tdebatty/java-string-similarity](https://github.com/tdebatty/java-string-similarity)**\n\nA library implementing different string similarity, distance and sortMatch measures. A dozen of algorithms (including Levenshtein edit distance and sibblings, Longest Common Subsequence, cosine similarity etc.) are currently implemented. Check the summary table below for the complete list...\n\n- [string-comparison](#string-comparison)\n  - [Download \\& Usage](#download--usage)\n  - [OverView](#overview)\n  - [Normalized, metric, similarity and distance](#normalized-metric-similarity-and-distance)\n    - [(Normalized) similarity and distance](#normalized-similarity-and-distance)\n  - [Levenshtein](#levenshtein)\n  - [Longest Common Subsequence](#longest-common-subsequence)\n  - [Metric Longest Common Subsequence](#metric-longest-common-subsequence)\n  - [Cosine similarity](#cosine-similarity)\n  - [Sorensen-Dice coefficient](#sorensen-dice-coefficient)\n  - [Jaro-Winkler similarity](#jaro-winkler-similarity)\n  - [API](#api)\n  - [Methods](#methods)\n    - [similarity](#similarity)\n      - [params](#params)\n      - [return](#return)\n    - [distance](#distance)\n      - [params](#params-1)\n      - [return](#return-1)\n    - [sortMatch](#sortmatch)\n      - [params](#params-2)\n      - [return](#return-2)\n  - [CHANGELOG](#changelog)\n  - [MIT](#mit)\n\n\n## Download & Usage\n\ndownload\n\n```shell\nnpm install string-comparison --save\nyarn add string-comparison\npnpm add string-comparison\n```\nusage\n\n```js\nlet stringComparison = require('string-comparison')\n// or import stringComparison from 'string-comparison'\n\nconst Thanos = 'healed'\nconst Rival = 'sealed'\nconst Avengers = ['edward', 'sealed', 'theatre']\n\n// use by cosine\nlet cos = stringComparison.Cosine\n\nconsole.log(cos.similarity(Thanos, Rival))\nconsole.log(cos.distance(Thanos, Rival))\nconsole.log(cos.sortMatch(Thanos, Avengers))\n\n```\n\n## OverView\n\nThe main characteristics of each implemented algorithm are presented below. The \"cost\" column gives an estimation of the computational cost to compute the similarity between two strings of length m and n respectively.\n\n|                                                                                                                                      | Measure(s)                              | Normalized? | Metric? | Type    | Cost   | Typical usage   |\n| ------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------- | ----------- | ------- | ------- | ------ | --------------- |\n| [Jaccard index](https://github.com/luozhouyang/python-string-similarity/blob/master/README.md#jaccard-index)                         | similarity<br/>distance<br />sortMatch  | Yes         | Yes     | Set     | O(m+n) |                 |\n| [Cosine similarity](https://github.com/luozhouyang/python-string-similarity/blob/master/README.md#cosine-similarity)                 | similarity<br/>distance<br />sortMatch  | Yes         | No      | Profile | O(m+n) |                 |\n| [Sorensen-Dice coefficient](https://github.com/luozhouyang/python-string-similarity/blob/master/README.md#sorensen-dice-coefficient) | similarity<br/>distance<br />sortMatch  | Yes         | No      | Set     | O(m+n) |                 |\n| [Levenshtein](https://github.com/luozhouyang/python-string-similarity/blob/master/README.md#levenshtein)                             | similarity<br />distance<br />sortMatch | No          | Yes     |         | O(m*n) |                 |\n| [Jaro-Winkler](https://github.com/luozhouyang/python-string-similarity/blob/master/README.md#jaro-winkler)                           | similarity distance<br />sortMatch      | Yes         | No      |         | O(m*n) | typo correction |\n\n## Normalized, metric, similarity and distance\n\nAlthough the topic might seem simple, a lot of different algorithms exist to measure text similarity or distance. Therefore the library defines some interfaces to categorize them.\n\n### (Normalized) similarity and distance\n\n- StringSimilarity : Implementing algorithms define a similarity between strings (0 means strings are completely different).\n- NormalizedStringSimilarity : Implementing algorithms define a similarity between 0.0 and 1.0, like Jaro-Winkler for example.\n- StringDistance : Implementing algorithms define a distance between strings (0 means strings are identical), like Levenshtein for example. The maximum distance value depends on the algorithm.\n- NormalizedStringDistance : This interface extends StringDistance. For implementing classes, the computed distance value is between 0.0 and 1.0. NormalizedLevenshtein is an example of NormalizedStringDistance.\n\n## Levenshtein\n\nThe Levenshtein distance between two words is the minimum number of single-character edits (insertions, deletions or substitutions) required to change one word into the other.\n\nIt is a metric string distance. This implementation uses dynamic programming (Wagner–Fischer algorithm), with only 2 rows of data. The space requirement is thus O(m) and the algorithm runs in O(m.n).\n\n```js\nimport { levenshtein } from \"string-comparison\"\nimport type {SortMatchResultType} from \"string-comparison\"\n\nconst Thanos = 'healed'\nconst Rival = 'sealed'\nconst Avengers = ['edward', 'sealed', 'theatre']\n\nconsole.log(levenshtein.similarity(Thanos, Rival))\nconsole.log(levenshtein.distance(Thanos, Rival))\nconsole.log(levenshtein.sortMatch(Thanos, Avengers) as SortMatchResultType)\n\n// output\n0.8333333333333334\n1\n[\n  { member: 'edward', index: 0, rating: 0.16666666666666663 },\n  { member: 'theatre', index: 2, rating: 0.4285714285714286 },\n  { member: 'sealed', index: 1, rating: 0.8333333333333334 }\n]\n```\n\n\n## Longest Common Subsequence\n\nThe longest common subsequence (LCS) problem consists in finding the longest subsequence common to two (or more) sequences. It differs from problems of finding common substrings: unlike substrings, subsequences are not required to occupy consecutive positions within the original sequences.\n\nIt is used by the diff utility, by Git for reconciling multiple changes, etc.\n\nThe LCS distance between strings X (of length n) and Y (of length m) is n + m - 2 |LCS(X, Y)|\nmin = 0\nmax = n + m\n\nLCS distance is equivalent to Levenshtein distance when only insertion and deletion is allowed (no substitution), or when the cost of the substitution is the double of the cost of an insertion or deletion.\n\nThis class implements the dynamic programming approach, which has a space requirement O(m.n), and computation cost O(m.n).\n\nIn \"Length of Maximal Common Subsequences\", K.S. Larsen proposed an algorithm that computes the length of LCS in time O(log(m).log(n)). But the algorithm has a memory requirement O(m.n²) and was thus not implemented here.\n\n```js\nimport { longestCommonSubsequence } from \"string-comparison\"\nor \nimport { lcs } from \"string-comparison\"\n\n\nconst Thanos = 'healed'\nconst Rival = 'sealed'\nconst Avengers = ['edward', 'sealed', 'theatre']\n\nconsole.log(lcs.similarity(Thanos, Rival))\nconsole.log(lcs.distance(Thanos, Rival))\nconsole.log(lcs.sortMatch(Thanos, Avengers))\n\n// output\n0.8333333333333334\n2\n[\n  { member: 'edward', index: 0, rating: 0.5 },\n  { member: 'theatre', index: 2, rating: 0.6153846153846154 },\n  { member: 'sealed', index: 1, rating: 0.8333333333333334 }\n]\n```\n\n## Metric Longest Common Subsequence\n\nDistance metric based on Longest Common Subsequence, from the notes \"An LCS-based string metric\" by Daniel Bakkelund.\nhttp://heim.ifi.uio.no/~danielry/StringMetric.pdf\n\nThe distance is computed as 1 - |LCS(s1, s2)| / max(|s1|, |s2|)\n\n```js\nimport { metricLcs } from \"string-comparison\"\nor \nimport { mlcs } from \"string-comparison\"\n\nconst Thanos = 'healed'\nconst Rival = 'sealed'\nconst Avengers = ['edward', 'sealed', 'theatre']\n\nconsole.log(metricLcs.similarity(Thanos, Rival))\nconsole.log(metricLcs.distance(Thanos, Rival))\nconsole.log(metricLcs.sortMatch(Thanos, Avengers))\n\n// output\n0.8333333333333334\n0.16666666666666663\n[\n  { member: 'edward', index: 0, rating: 0.5 },\n  { member: 'theatre', index: 2, rating: 0.5714285714285714 },\n  { member: 'sealed', index: 1, rating: 0.8333333333333334 }\n]\n```\n\n## Cosine similarity\n\nLike Q-Gram distance, the input strings are first converted into sets of n-grams (sequences of n characters, also called k-shingles), but this time the cardinality of each n-gram is not taken into account. Each input string is simply a set of n-grams. The Jaccard index is then computed as |V1 inter V2| / |V1 union V2|.\n\nDistance is computed as 1 - similarity.\nJaccard index is a metric distance.\n\n```js\nimport { cosine } from \"string-comparison\"\n```\n\n## Sorensen-Dice coefficient\n\nSimilar to Jaccard index, but this time the similarity is computed as 2 * |V1 inter V2| / (|V1| + |V2|).\n\nDistance is computed as 1 - similarity.\n\n```js\nimport { diceCoefficient } from \"string-comparison\"\n```\n\n## Jaro-Winkler similarity\n\nThe Jaro-Winkler similarity is a string metric measuring edit distance between two strings. Jaro – Winkler Similarity is much similar to Jaro Similarity. They both differ when the prefix of two string match. Jaro – Winkler Similarity uses a prefix scale ‘p’ which gives a more accurate answer when the strings have a common prefix up to a defined maximum length l. \n\n```js\nimport { jaroWinkler } from \"string-comparison\"\n```\n\n## API\n\n* `cosine`\n* `diceCoefficient`\n* `jaccardIndex`\n* `levenshtein`\n* `lcs` = `longestCommonSubsequence`\n* `mlcs` = `metricLcs`\n* `jaroWinkler`\n\n\n## Methods\n* `similarity`.\n* `distance`.\n* `sortMatch`\n\n### similarity\n\nImplementing algorithms define a similarity between strings\n\n#### params\n\n1. thanos [String]\n2. rival [String]\n\n#### return\n\nReturn a similarity between 0.0 and 1.0\n\n### distance\n\nImplementing algorithms define a distance between strings (0 means strings are identical)\n\n#### params\n\n1. `thanos` [String]\n2. `rival` [String]\n\n#### return\n\nReturn a number\n\n### sortMatch\n\n#### params\n\n1. thanos [String]\n2. avengers [...String]\n\n#### return\n\nReturn an array of objects - `SortMatchResultType` ex:\n```js\n[\n  { member: 'edward', rating: 0.16666666666666663 },\n  { member: 'theatre', rating: 0.4285714285714286 },\n  { member: 'mailed', rating: 0.5 },\n  { member: 'sealed', rating: 0.8333333333333334 }\n]\n```\n\n## CHANGELOG\n[CHANGELOG](./CHANGELOG.md)\n\n\n## MIT\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}