1 line
5.8 KiB
Plaintext
1 line
5.8 KiB
Plaintext
{"_id":"wcwidth","_rev":"10-e54bff83f26ce28e1b41cface5cfeaac","name":"wcwidth","description":"Port of C's wcwidth() and wcswidth()","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.0":{"name":"wcwidth","version":"0.0.0","description":"Port of C's wcwidth() and wcswidth()","author":{"name":"Tim Oxley"},"contributors":[{"name":"Woong Jun","email":"woong.jun@gmail.com","url":"http://code.woong.org/"}],"main":"index.js","dependencies":{"defaults":"^1.0.0"},"devDependencies":{"mocha":"^1.18.2"},"license":"MIT","keywords":["wide character","wc","wide character string","wcs","terminal","width","wcwidth","wcswidth"],"directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha -R spec"},"gitHead":"53cd682dbfd8ce311eec82baec8ce062914d810a","_id":"wcwidth@0.0.0","_shasum":"43dc033fed8e19113c56b51d8698c297d5eeb872","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"dist":{"shasum":"43dc033fed8e19113c56b51d8698c297d5eeb872","tarball":"https://registry.npmjs.org/wcwidth/-/wcwidth-0.0.0.tgz","integrity":"sha512-dfiqS+93XSk4rXF1DALQu9WtF3+OHtXGh2LjlFytxC6BYUhjbFpbCH7Bh+3QQOyOs6gppLPTMLra4nrkrd3vzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAKhOggj0XtHKFIUwJrt3nxgD37mGCCQuYgqcmyiDHcQAiEAuZcALLcOt67tVMTypK7Ed3+EfibNGDtn3ALUGv4n7MI="}]}},"1.0.0":{"name":"wcwidth","version":"1.0.0","description":"Port of C's wcwidth() and wcswidth()","author":{"name":"Tim Oxley"},"contributors":[{"name":"Woong Jun","email":"woong.jun@gmail.com","url":"http://code.woong.org/"}],"main":"index.js","dependencies":{"defaults":"^1.0.0"},"devDependencies":{"tape":"^2.13.4"},"license":"MIT","keywords":["wide character","wc","wide character string","wcs","terminal","width","wcwidth","wcswidth"],"directories":{"doc":"docs","test":"test"},"scripts":{"test":"tape test/*.js"},"gitHead":"5bc3aafd45c89f233c27b9479c18a23ca91ba660","_id":"wcwidth@1.0.0","_shasum":"02d059ff7a8fc741e0f6b5da1e69b2b40daeca6f","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"dist":{"shasum":"02d059ff7a8fc741e0f6b5da1e69b2b40daeca6f","tarball":"https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.0.tgz","integrity":"sha512-7k2v0mH3vk+HIeJ+TC4XbN9O0rvBhjWZc6QTxUyYNf9aqrCYNjUwSCk+svv4K8C8EIiwQUsn1SrcrDGd1y/12w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuJ6vXP63XscXq79J1ukKUUemq5AKJdEIjsSzYSOjWxQIhAPQHxKj1BDu48Y2MOVxMj6oUFR8e1lBaHekeztDputc4"}]}},"1.0.1":{"name":"wcwidth","version":"1.0.1","description":"Port of C's wcwidth() and wcswidth()","author":{"name":"Tim Oxley"},"contributors":[{"name":"Woong Jun","email":"woong.jun@gmail.com","url":"http://code.woong.org/"}],"main":"index.js","dependencies":{"defaults":"^1.0.3"},"devDependencies":{"tape":"^4.5.1"},"license":"MIT","keywords":["wide character","wc","wide character string","wcs","terminal","width","wcwidth","wcswidth"],"directories":{"doc":"docs","test":"test"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git+https://github.com/timoxley/wcwidth.git"},"bugs":{"url":"https://github.com/timoxley/wcwidth/issues"},"homepage":"https://github.com/timoxley/wcwidth#readme","gitHead":"5f7935f7df9d4146e001829ed14d1629ced210ba","_id":"wcwidth@1.0.1","_shasum":"f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8","_from":".","_npmVersion":"3.9.5","_nodeVersion":"5.10.1","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"dist":{"shasum":"f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8","tarball":"https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz","integrity":"sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/+sWN5TivLl2UhTPKSNNbLZlgte1Ldtsf0aIIhDtOoAiBdONA3yR1vauyU3pt5OGwvv66rJLfUI3m9u+TRwoHPBg=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wcwidth-1.0.1.tgz_1464580614788_0.27110297488979995"}}},"readme":"# wcwidth\n\nDetermine columns needed for a fixed-size wide-character string\n\n----\n\nwcwidth is a simple JavaScript port of [wcwidth](http://man7.org/linux/man-pages/man3/wcswidth.3.html) implemented in C by Markus Kuhn.\n\nJavaScript port [originally](https://github.com/mycoboco/wcwidth.js) written by Woong Jun <woong.jun@gmail.com> (http://code.woong.org/)\n\n## Example\n\n```js\n'한'.length // => 1\nwcwidth('한'); // => 2\n\n'한글'.length // => 2\nwcwidth('한글'); // => 4\n```\n\n`wcwidth()` and its string version, `wcswidth()` are defined by IEEE Std\n1002.1-2001, a.k.a. POSIX.1-2001, and return the number of columns used\nto represent the given wide character and string.\n\nMarkus's implementation assumes the wide character given to those\nfunctions to be encoded in ISO 10646, which is almost true for\nJavaScript's characters.\n\n[Further explaination here](docs)\n\n## License\n\nMIT\n","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"time":{"modified":"2022-06-28T22:23:42.749Z","created":"2014-07-27T11:24:39.279Z","0.0.0":"2014-07-27T11:24:39.279Z","1.0.0":"2014-08-11T04:13:18.361Z","1.0.1":"2016-05-30T03:56:57.274Z"},"keywords":["wide character","wc","wide character string","wcs","terminal","width","wcwidth","wcswidth"],"contributors":[{"name":"Woong Jun","email":"woong.jun@gmail.com","url":"http://code.woong.org/"}],"author":{"name":"Tim Oxley"},"license":"MIT","readmeFilename":"Readme.md","users":{"xgqfrms":true,"zoomyzoom":true},"homepage":"https://github.com/timoxley/wcwidth#readme","repository":{"type":"git","url":"git+https://github.com/timoxley/wcwidth.git"},"bugs":{"url":"https://github.com/timoxley/wcwidth/issues"}} |