{"_id":"string-width","_rev":"4122613","name":"string-width","description":"Get the visual width of a string - the number of columns required to display it","dist-tags":{"latest":"8.2.0","version4":"4.2.3"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2026-02-24T19:25:48.000Z","created":"2015-07-16T22:08:17.757Z","8.2.0":"2026-02-18T16:38:40.818Z","8.1.1":"2026-01-29T03:42:41.370Z","8.1.0":"2025-09-01T11:47:08.387Z","8.0.0":"2025-08-22T06:09:04.665Z","7.2.0":"2024-06-30T14:48:16.656Z","7.1.0":"2024-01-22T10:48:05.404Z","7.0.0":"2023-10-28T12:17:10.078Z","6.1.0":"2023-05-06T19:32:57.382Z","6.0.0":"2023-05-06T08:39:49.319Z","5.1.2":"2022-02-28T08:22:05.036Z","5.1.1":"2022-02-27T09:17:35.378Z","5.1.0":"2022-01-09T06:04:14.102Z","4.2.3":"2021-09-23T17:17:21.341Z","5.0.1":"2021-09-13T16:35:04.956Z","5.0.0":"2021-04-16T07:35:43.206Z","4.2.2":"2021-02-28T14:22:14.935Z","4.2.1":"2021-02-26T09:32:11.791Z","4.2.0":"2019-11-11T16:06:36.863Z","4.1.0":"2019-03-31T12:12:25.885Z","4.0.0":"2019-03-18T08:23:48.708Z","3.1.0":"2019-03-08T08:22:47.824Z","3.0.0":"2018-12-15T14:14:40.848Z","2.1.1":"2017-07-18T11:09:15.295Z","2.1.0":"2017-06-26T16:15:09.531Z","2.0.0":"2016-09-22T06:54:45.828Z","1.0.2":"2016-08-14T15:23:54.869Z","1.0.1":"2015-07-20T01:31:09.758Z","1.0.0":"2015-07-16T22:08:17.757Z"},"users":{"vsemozhetbyt":true,"scottfreecode":true,"shrimpseaweed":true,"gzg1500521074":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"versions":{"8.2.0":{"name":"string-width","version":"8.2.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","wcwidth","wcswidth","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width","east-asian-width"],"dependencies":{"get-east-asian-width":"^1.5.0","strip-ansi":"^7.1.2"},"devDependencies":{"ava":"^6.4.1","tsd":"^0.33.0","xo":"^1.2.3"},"gitHead":"7c2f550c7de9bbaa3e326e176c1551ad779b3879","types":"./index.d.ts","_id":"string-width@8.2.0","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_nodeVersion":"25.6.0","_npmVersion":"11.8.0","dist":{"shasum":"bdb6a9bd6d7800db635adae96cdb0443fec56c42","size":3648,"noattachment":false,"key":"/string-width/-/string-width-8.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-8.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/string-width_8.2.0_1771432720670_0.4092916925493937"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-18T16:38:40.818Z","publish_time":1771432720818,"_source_registry_name":"default","_cnpm_publish_time":1771432720818},"8.1.1":{"name":"string-width","version":"8.1.1","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","wcwidth","wcswidth","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width","east-asian-width"],"dependencies":{"get-east-asian-width":"^1.3.0","strip-ansi":"^7.1.0"},"devDependencies":{"ava":"^6.4.1","tsd":"^0.33.0","xo":"^1.2.2"},"gitHead":"d3bd08603bb3f7cacc93f84140036692501d59fc","types":"./index.d.ts","_id":"string-width@8.1.1","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_nodeVersion":"25.3.0","_npmVersion":"11.7.0","dist":{"shasum":"9b5aa0df72e3f232611c57fd47eb41dd97866bd3","size":3199,"noattachment":false,"key":"/string-width/-/string-width-8.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-8.1.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/string-width_8.1.1_1769658161226_0.5537279228935534"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-29T03:42:41.370Z","publish_time":1769658161370,"_source_registry_name":"default","_cnpm_publish_time":1769658161370},"8.1.0":{"name":"string-width","version":"8.1.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","wcwidth","wcswidth","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width","east-asian-width"],"dependencies":{"get-east-asian-width":"^1.3.0","strip-ansi":"^7.1.0"},"devDependencies":{"ava":"^6.4.1","tsd":"^0.33.0","xo":"^1.2.2"},"_id":"string-width@8.1.0","gitHead":"42e7b697393a9b9ff732f9bd3ab1db87c3c208b2","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_nodeVersion":"22.12.0","_npmVersion":"10.9.2","dist":{"shasum":"9e9fb305174947cf45c30529414b5da916e9e8d1","size":3223,"noattachment":false,"key":"/string-width/-/string-width-8.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-8.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/string-width_8.1.0_1756727228189_0.2815757103017602"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-01T11:47:08.387Z","publish_time":1756727228387,"_source_registry_name":"default","_cnpm_publish_time":1756727228387},"8.0.0":{"name":"string-width","version":"8.0.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","wcwidth","wcswidth","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width","east-asian-width"],"dependencies":{"get-east-asian-width":"^1.3.0","strip-ansi":"^7.1.0"},"devDependencies":{"ava":"^6.4.1","tsd":"^0.33.0","xo":"^1.2.2"},"_id":"string-width@8.0.0","gitHead":"68f54fe07437c6ac5f659f760b713a1fd2cd8be6","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"shasum":"45c7ff976e32e4590a3050187e2402809d69772e","size":3507,"noattachment":false,"key":"/string-width/-/string-width-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-8.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/string-width_8.0.0_1755842944379_0.8644039070621041"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-22T06:09:04.665Z","publish_time":1755842944665,"_source_registry_name":"default","_cnpm_publish_time":1755842944665},"7.2.0":{"name":"string-width","version":"7.2.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width","east-asian-width"],"dependencies":{"emoji-regex":"^10.3.0","get-east-asian-width":"^1.0.0","strip-ansi":"^7.1.0"},"devDependencies":{"ava":"^5.3.1","tsd":"^0.29.0","xo":"^0.56.0"},"_id":"string-width@7.2.0","gitHead":"ac09208fd52063c2ffaa4396c9b339fec05cab67","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_nodeVersion":"18.20.2","_npmVersion":"10.6.0","dist":{"shasum":"b5bb8e2165ce275d4d43476dd2700ad9091db6dc","size":2989,"noattachment":false,"key":"/string-width/-/string-width-7.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-7.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_7.2.0_1719758896481_0.648876534343015"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-30T14:48:16.656Z","publish_time":1719758896656,"_source_registry_name":"default","maintainers":[{"name":"sindresorhus","email":""}],"_cnpm_publish_time":1719758896656},"7.1.0":{"name":"string-width","version":"7.1.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width","east-asian-width"],"dependencies":{"emoji-regex":"^10.3.0","get-east-asian-width":"^1.0.0","strip-ansi":"^7.1.0"},"devDependencies":{"ava":"^5.3.1","tsd":"^0.29.0","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"8e3727e2382026f237ffb8fc3dea7dbed8a0eb20","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@7.1.0","_nodeVersion":"21.5.0","_npmVersion":"9.2.0","dist":{"shasum":"d994252935224729ea3719c49f7206dc9c46550a","size":2631,"noattachment":false,"key":"/string-width/-/string-width-7.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-7.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_7.1.0_1705920485261_0.17125484808711855"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-22T10:48:05.404Z","publish_time":1705920485404,"_source_registry_name":"default","_cnpm_publish_time":1705920485404},"7.0.0":{"name":"string-width","version":"7.0.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width","east-asian-width"],"dependencies":{"emoji-regex":"^10.3.0","get-east-asian-width":"^1.0.0","strip-ansi":"^7.1.0"},"devDependencies":{"ava":"^5.3.1","tsd":"^0.29.0","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"210a997cbee0cc6290307809a494d4d35658f6d9","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@7.0.0","_nodeVersion":"18.18.2","_npmVersion":"9.2.0","dist":{"shasum":"14aa1b7aaa126d5b64fa79d3c894da8a9650ba06","size":2575,"noattachment":false,"key":"/string-width/-/string-width-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-7.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_7.0.0_1698495429861_0.6900918547788994"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-28T12:17:10.078Z","publish_time":1698495430078,"_source_registry_name":"default","_cnpm_publish_time":1698495430078},"6.1.0":{"name":"string-width","version":"6.1.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"eastasianwidth":"^0.2.0","emoji-regex":"^10.2.1","strip-ansi":"^7.0.1"},"devDependencies":{"ava":"^5.2.0","tsd":"^0.28.1","xo":"^0.54.2"},"types":"./index.d.ts","gitHead":"f6e70c4c8de68ea2797a8765f1c7350ef0929a83","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@6.1.0","_nodeVersion":"20.1.0","_npmVersion":"9.2.0","dist":{"shasum":"96488d6ed23f9ad5d82d13522af9e4c4c3fd7518","size":2419,"noattachment":false,"key":"/string-width/-/string-width-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-6.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_6.1.0_1683401577191_0.49559183180210153"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-06T19:32:57.382Z","publish_time":1683401577382,"_source_registry_name":"default","_cnpm_publish_time":1683401577382},"6.0.0":{"name":"string-width","version":"6.0.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"eastasianwidth":"^0.2.0","emoji-regex":"^10.2.1","strip-ansi":"^7.0.1"},"devDependencies":{"ava":"^5.2.0","tsd":"^0.28.1","xo":"^0.54.2"},"types":"./index.d.ts","gitHead":"102c82c1e36b0292bc5dd2197ce5c4ad7b7534d8","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@6.0.0","_nodeVersion":"20.1.0","_npmVersion":"9.2.0","dist":{"shasum":"4bcf4a60f04bf104eb40b8291dd891a74d7ff45d","size":2467,"noattachment":false,"key":"/string-width/-/string-width-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-6.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_6.0.0_1683362389193_0.9132725656914205"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-06T08:39:49.319Z","publish_time":1683362389319,"_source_registry_name":"default","_cnpm_publish_time":1683362389319},"5.1.2":{"name":"string-width","version":"5.1.2","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"eastasianwidth":"^0.2.0","emoji-regex":"^9.2.2","strip-ansi":"^7.0.1"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"types":"./index.d.ts","gitHead":"9f90691968ad356c807aaad1a5ed98d795749932","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@5.1.2","_nodeVersion":"12.22.1","_npmVersion":"8.3.2","dist":{"shasum":"14f8daec6d81e7221d2a357e668cab73bdbca794","size":2557,"noattachment":false,"key":"/string-width/-/string-width-5.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-5.1.2.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_5.1.2_1646036524867_0.49005836872664243"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-28T08:22:10.665Z","publish_time":1646036525036,"_cnpm_publish_time":1646036525036},"5.1.1":{"name":"string-width","version":"5.1.1","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"eastasianwidth":"^0.2.0","emoji-regex":"^9.2.2","strip-ansi":"^7.0.1"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"types":"./index.d.ts","gitHead":"d0d53dad1b465ab4a70d90bf19bb7efb5f33bbb0","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@5.1.1","_nodeVersion":"14.19.0","_npmVersion":"8.3.2","dist":{"shasum":"8825ca5f6b8dd5566a674e4f85001475a4b9c46e","size":2574,"noattachment":false,"key":"/string-width/-/string-width-5.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-5.1.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_5.1.1_1645953455216_0.34973692301085135"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-27T09:17:39.309Z","publish_time":1645953455378,"_cnpm_publish_time":1645953455378},"5.1.0":{"name":"string-width","version":"5.1.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"eastasianwidth":"^0.2.0","emoji-regex":"^9.2.2","strip-ansi":"^7.0.1"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"types":"./index.d.ts","gitHead":"56a47ea07ed6ee0b8c260b2c581b10f4cb268085","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@5.1.0","_nodeVersion":"12.22.1","_npmVersion":"8.1.0","dist":{"shasum":"5ab00980cfb29f43e736b113a120a73a0fb569d3","size":2546,"noattachment":false,"key":"/string-width/-/string-width-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-5.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_5.1.0_1641708253934_0.8945724791832834"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-09T06:04:29.581Z","publish_time":1641708254102,"_cnpm_publish_time":1641708254102},"4.2.3":{"name":"string-width","version":"4.2.3","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"emoji-regex":"^8.0.0","is-fullwidth-code-point":"^3.0.0","strip-ansi":"^6.0.1"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"readmeFilename":"readme.md","gitHead":"e7a2755c834246c59a4cc5de9471bef2d531a6b1","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@4.2.3","_nodeVersion":"16.9.1","_npmVersion":"7.5.4","dist":{"shasum":"269c7117d27b05ad2e536830a8ec895ef9c6d010","size":2383,"noattachment":false,"key":"/string-width/-/string-width-4.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-4.2.3.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_4.2.3_1632417441184_0.9029691587206747"},"_hasShrinkwrap":false,"publish_time":1632417441341,"_cnpm_publish_time":1632417441341},"5.0.1":{"name":"string-width","version":"5.0.1","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"emoji-regex":"^9.2.2","is-fullwidth-code-point":"^4.0.0","strip-ansi":"^7.0.1"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"fd575096e07f69b3999e1d0fcb89298de403e55c","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@5.0.1","_nodeVersion":"12.22.1","_npmVersion":"7.20.3","dist":{"shasum":"0d8158335a6cfd8eb95da9b6b262ce314a036ffd","size":2270,"noattachment":false,"key":"/string-width/-/string-width-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-5.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_5.0.1_1631550904827_0.5378580983431569"},"_hasShrinkwrap":false,"publish_time":1631550904956,"_cnpm_publish_time":1631550904956},"5.0.0":{"name":"string-width","version":"5.0.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"emoji-regex":"^9.2.2","is-fullwidth-code-point":"^4.0.0","strip-ansi":"^7.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"89eb79aafd2b7db982dc1f5498424232d55dee53","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@5.0.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"19191f152f937b96f4ec54ba0986a5656660c5a2","size":2292,"noattachment":false,"key":"/string-width/-/string-width-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-5.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_5.0.0_1618558543071_0.9832092763644933"},"_hasShrinkwrap":false,"publish_time":1618558543206,"_cnpm_publish_time":1618558543206},"4.2.2":{"name":"string-width","version":"4.2.2","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"emoji-regex":"^8.0.0","is-fullwidth-code-point":"^3.0.0","strip-ansi":"^6.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"8158802b4c776b7d9fce2053aeb8583dfabe6349","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@4.2.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"dafd4f9559a7585cfba529c6a0a4f73488ebd4c5","size":2381,"noattachment":false,"key":"/string-width/-/string-width-4.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-4.2.2.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_4.2.2_1614522134739_0.46236345886432173"},"_hasShrinkwrap":false,"publish_time":1614522134935,"_cnpm_publish_time":1614522134935},"4.2.1":{"name":"string-width","version":"4.2.1","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"emoji-regex":"^8.0.0","is-fullwidth-code-point":"^3.0.0","strip-ansi":"^6.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"0ba0a95f5067d05527d528248c7e4047d9acda79","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@4.2.1","_nodeVersion":"15.10.0","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1933ce1f470973d224368009bd1316cad81d5f4f","size":2381,"noattachment":false,"key":"/string-width/-/string-width-4.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-4.2.1.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_4.2.1_1614331931593_0.30415572767746735"},"_hasShrinkwrap":false,"publish_time":1614331931791,"_cnpm_publish_time":1614331931791},"4.2.0":{"name":"string-width","version":"4.2.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"emoji-regex":"^8.0.0","is-fullwidth-code-point":"^3.0.0","strip-ansi":"^6.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"34bca56b5b301b46fef0258aba4446792d794dab","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@4.2.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"952182c46cc7b2c313d1596e623992bd163b72b5","size":2420,"noattachment":false,"key":"/string-width/-/string-width-4.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-4.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_4.2.0_1573488396754_0.6519093851604172"},"_hasShrinkwrap":false,"publish_time":1573488396863,"_cnpm_publish_time":1573488396863},"4.1.0":{"name":"string-width","version":"4.1.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"emoji-regex":"^8.0.0","is-fullwidth-code-point":"^3.0.0","strip-ansi":"^5.2.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"272fccd2b2f90d74e0ab45299d109644bbc1751b","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@4.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ba846d1daa97c3c596155308063e075ed1c99aff","size":2212,"noattachment":false,"key":"/string-width/-/string-width-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-4.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_4.1.0_1554034345729_0.021962184962448505"},"_hasShrinkwrap":false,"publish_time":1554034345885,"_cnpm_publish_time":1554034345885},"4.0.0":{"name":"string-width","version":"4.0.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["string","character","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"emoji-regex":"^8.0.0","is-fullwidth-code-point":"^3.0.0","strip-ansi":"^5.1.0"},"devDependencies":{"ava":"^1.3.1","tsd-check":"^0.5.0","xo":"^0.24.0"},"gitHead":"2ca2bc7443a6408feab185200ae55fd6333199c6","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@4.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"44fe19da01e4e52ba868ef6734207f5bbe11be51","size":2134,"noattachment":false,"key":"/string-width/-/string-width-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_4.0.0_1552897428563_0.6535148093489709"},"_hasShrinkwrap":false,"publish_time":1552897428708,"_cnpm_publish_time":1552897428708},"3.1.0":{"name":"string-width","version":"3.1.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"keywords":["string","str","character","char","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"emoji-regex":"^7.0.1","is-fullwidth-code-point":"^2.0.0","strip-ansi":"^5.1.0"},"devDependencies":{"ava":"^1.0.1","xo":"^0.23.0"},"gitHead":"3b3da68dfea82e193f9d6deee77224cf8e5c3803","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@3.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.8.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"22767be21b62af1081574306f69ac51b62203961","size":2023,"noattachment":false,"key":"/string-width/-/string-width-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-3.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_3.1.0_1552033367672_0.5762074411129379"},"_hasShrinkwrap":false,"publish_time":1552033367824,"_cnpm_publish_time":1552033367824},"3.0.0":{"name":"string-width","version":"3.0.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"keywords":["string","str","character","char","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"emoji-regex":"^7.0.1","is-fullwidth-code-point":"^2.0.0","strip-ansi":"^5.0.0"},"devDependencies":{"ava":"^1.0.1","xo":"^0.23.0"},"gitHead":"58147d249083e44c15c00f9de032d1f25e2039fe","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@3.0.0","_npmVersion":"6.5.0","_nodeVersion":"10.13.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"5a1690a57cc78211fffd9bf24bbe24d090604eb1","size":1993,"noattachment":false,"key":"/string-width/-/string-width-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width_3.0.0_1544883280763_0.9155794194309814"},"_hasShrinkwrap":false,"publish_time":1544883280848,"_cnpm_publish_time":1544883280848},"2.1.1":{"name":"string-width","version":"2.1.1","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["string","str","character","char","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"is-fullwidth-code-point":"^2.0.0","strip-ansi":"^4.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"74d8d552b465692790c41169b123409669d41079","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@2.1.1","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ab93f27a8dc13d28cac815c462143a6d9012ae9e","size":1972,"noattachment":false,"key":"/string-width/-/string-width-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-2.1.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width-2.1.1.tgz_1500376154382_0.7171604454051703"},"directories":{},"publish_time":1500376155295,"_cnpm_publish_time":1500376155295,"_hasShrinkwrap":false},"2.1.0":{"name":"string-width","version":"2.1.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["string","str","character","char","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"is-fullwidth-code-point":"^2.0.0","strip-ansi":"^4.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"175b26f4cd503d6236b5ea2a1664263b56f1e352","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@2.1.0","_shasum":"030664561fc146c9423ec7d978fe2457437fe6d0","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"030664561fc146c9423ec7d978fe2457437fe6d0","size":1967,"noattachment":false,"key":"/string-width/-/string-width-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-2.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-width-2.1.0.tgz_1498493708563_0.051171303959563375"},"directories":{},"publish_time":1498493709531,"_hasShrinkwrap":false,"_cnpm_publish_time":1498493709531},"2.0.0":{"name":"string-width","version":"2.0.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["string","str","character","char","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"is-fullwidth-code-point":"^2.0.0","strip-ansi":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"523d7ba4dbb24d40cde88d2c36bb1c7124ab6f82","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@2.0.0","_shasum":"635c5436cc72a6e0c387ceca278d4e2eec52687e","_from":".","_npmVersion":"3.10.7","_nodeVersion":"4.5.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"635c5436cc72a6e0c387ceca278d4e2eec52687e","size":2005,"noattachment":false,"key":"/string-width/-/string-width-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/string-width-2.0.0.tgz_1474527284011_0.7386264291126281"},"directories":{},"publish_time":1474527285828,"_cnpm_publish_time":1474527285828,"_hasShrinkwrap":false},"1.0.2":{"name":"string-width","version":"1.0.2","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-width.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["string","str","character","char","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"code-point-at":"^1.0.0","is-fullwidth-code-point":"^1.0.0","strip-ansi":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"282cf3d53918a92cc3ee0778dcf938039bcbc47b","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width#readme","_id":"string-width@1.0.2","_shasum":"118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3","size":2083,"noattachment":false,"key":"/string-width/-/string-width-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-1.0.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/string-width-1.0.2.tgz_1471188233009_0.6573935742489994"},"directories":{},"publish_time":1471188234869,"_cnpm_publish_time":1471188234869,"_hasShrinkwrap":false},"1.0.1":{"name":"string-width","version":"1.0.1","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/string-width"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["string","str","character","char","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"code-point-at":"^1.0.0","is-fullwidth-code-point":"^1.0.0","strip-ansi":"^3.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"f279cfd14835f0a3c8df69ba18e9a3960156e135","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width","_id":"string-width@1.0.1","_shasum":"c92129b6f1d7f52acf9af424a26e3864a05ceb0a","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"c92129b6f1d7f52acf9af424a26e3864a05ceb0a","size":1954,"noattachment":false,"key":"/string-width/-/string-width-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1437355869758,"_cnpm_publish_time":1437355869758,"_hasShrinkwrap":false},"1.0.0":{"name":"string-width","version":"1.0.0","description":"Get the visual width of a string - the number of columns required to display it","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/string-width"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["string","str","character","char","unicode","width","visual","column","columns","fullwidth","full-width","full","ansi","escape","codes","cli","command-line","terminal","console","cjk","chinese","japanese","korean","fixed-width"],"dependencies":{"code-point-at":"^1.0.0","is-fullwidth-code-point":"^1.0.0","strip-ansi":"^3.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"4bbfa2814ce7411a12f2dea7395316606b9d2c39","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"homepage":"https://github.com/sindresorhus/string-width","_id":"string-width@1.0.0","_shasum":"facc17cd1dc81311b6ef9014eb7ffa4e89858f3b","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"facc17cd1dc81311b6ef9014eb7ffa4e89858f3b","size":1898,"noattachment":false,"key":"/string-width/-/string-width-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-width/download/string-width-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1437084497757,"_cnpm_publish_time":1437084497757,"_hasShrinkwrap":false}},"readme":"# string-width\n\n> Get the visual width of a string - the number of columns required to display it\n\nSome Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and do not affect the width.\n\nUseful to be able to measure the actual width of command-line output.\n\n## Install\n\n```sh\nnpm install string-width\n```\n\n## Usage\n\n```js\nimport stringWidth from 'string-width';\n\nstringWidth('a');\n//=> 1\n\nstringWidth('古');\n//=> 2\n\nstringWidth('\\u001B[1m古\\u001B[22m');\n//=> 2\n```\n\n## API\n\n### stringWidth(string, options?)\n\n#### string\n\nType: `string`\n\nThe string to be counted.\n\n#### options\n\nType: `object`\n\n##### ambiguousIsNarrow\n\nType: `boolean`\\\nDefault: `true`\n\nCount [ambiguous width characters](https://www.unicode.org/reports/tr11/#Ambiguous) as having narrow width (count of 1) instead of wide width (count of 2).\n\n> Ambiguous characters behave like wide or narrow characters depending on the context (language tag, script identification, associated font, source of data, or explicit markup; all can provide the context). **If the context cannot be established reliably, they should be treated as narrow characters by default.**\n> - http://www.unicode.org/reports/tr11/\n\n##### countAnsiEscapeCodes\n\nType: `boolean`\\\nDefault: `false`\n\nWhether [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) should be counted.\n\n## Related\n\n- [string-width-cli](https://github.com/sindresorhus/string-width-cli) - CLI for this module\n- [string-length](https://github.com/sindresorhus/string-length) - Get the real length of a string\n- [widest-line](https://github.com/sindresorhus/widest-line) - Get the visual width of the widest line in a string\n- [get-east-asian-width](https://github.com/sindresorhus/get-east-asian-width) - Determine the East Asian Width of a Unicode character\n","_attachments":{},"homepage":"https://github.com/sindresorhus/string-width#readme","bugs":{"url":"https://github.com/sindresorhus/string-width/issues"},"license":"MIT"}