{ "_id": "is-fullwidth-code-point", "_rev": "7-85a8180c56f149034c10941b8278fe21", "name": "is-fullwidth-code-point", "description": "Check if the character represented by a given Unicode code point is fullwidth", "dist-tags": { "latest": "3.0.0" }, "versions": { "1.0.0": { "name": "is-fullwidth-code-point", "version": "1.0.0", "description": "Check if the character represented by a given Unicode code point is fullwidth", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/sindresorhus/is-fullwidth-code-point" }, "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": [ "fullwidth", "full-width", "full", "width", "unicode", "character", "char", "string", "str", "codepoint", "code", "point", "is", "detect", "check" ], "dependencies": { "number-is-nan": "^1.0.0" }, "devDependencies": { "ava": "0.0.4", "code-point-at": "^1.0.0" }, "gitHead": "f2152d357f41f82785436d428e4f8ede143b7548", "bugs": { "url": "https://github.com/sindresorhus/is-fullwidth-code-point/issues" }, "homepage": "https://github.com/sindresorhus/is-fullwidth-code-point", "_id": "is-fullwidth-code-point@1.0.0", "_shasum": "ef9e31386f031a7f0d643af82fde50c457ef00cb", "_from": ".", "_npmVersion": "2.11.2", "_nodeVersion": "0.12.5", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "ef9e31386f031a7f0d643af82fde50c457ef00cb", "tarball": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {} }, "2.0.0": { "name": "is-fullwidth-code-point", "version": "2.0.0", "description": "Check if the character represented by a given Unicode code point is fullwidth", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/is-fullwidth-code-point.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=4" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js" ], "keywords": [ "fullwidth", "full-width", "full", "width", "unicode", "character", "char", "string", "str", "codepoint", "code", "point", "is", "detect", "check" ], "devDependencies": { "ava": "*", "xo": "*" }, "xo": { "esnext": true }, "gitHead": "e94a78056056c5546f2bf4c4cf812a2163a46dae", "bugs": { "url": "https://github.com/sindresorhus/is-fullwidth-code-point/issues" }, "homepage": "https://github.com/sindresorhus/is-fullwidth-code-point#readme", "_id": "is-fullwidth-code-point@2.0.0", "_shasum": "a3b30a5c4f199183167aaab93beefae3ddfb654f", "_from": ".", "_npmVersion": "3.10.7", "_nodeVersion": "4.5.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "a3b30a5c4f199183167aaab93beefae3ddfb654f", "tarball": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-16-east.internal.npmjs.com", "tmp": "tmp/is-fullwidth-code-point-2.0.0.tgz_1474526567505_0.299921662081033" }, "directories": {} }, "3.0.0": { "name": "is-fullwidth-code-point", "version": "3.0.0", "description": "Check if the character represented by a given Unicode code point is fullwidth", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/is-fullwidth-code-point.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=8" }, "scripts": { "test": "xo && ava && tsd-check" }, "keywords": [ "fullwidth", "full-width", "full", "width", "unicode", "character", "string", "codepoint", "code", "point", "is", "detect", "check" ], "devDependencies": { "ava": "^1.3.1", "tsd-check": "^0.5.0", "xo": "^0.24.0" }, "gitHead": "80e5e314d86e5f76bd1b0573aa9d33e615a372db", "bugs": { "url": "https://github.com/sindresorhus/is-fullwidth-code-point/issues" }, "homepage": "https://github.com/sindresorhus/is-fullwidth-code-point#readme", "_id": "is-fullwidth-code-point@3.0.0", "_nodeVersion": "8.15.0", "_npmVersion": "6.9.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "shasum": "f116f8064fe90b3f7844a38997c0b75051269f1d", "tarball": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "fileCount": 5, "unpackedSize": 4994, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj1IhCRA9TVsSAnZWagAAXfQQAINQrkV7QJDGobc762SJ\nTQP45A1CPt+R4IrE6kzoZgbu9aVlK/1/ovrehQ3pkUYLdK+FLwkijHHNkP74\ntK/poxvNxDPUQbBUM/j73RmoTUye16j7bLIkoFQ5a9mgnjy35ZPUUARaw9Ad\nXLHa33xcp1v1dzg7fKrRicfqyIbv780zQRnrKCdE1Vw2G/wDO9R2xBbjhsFd\nni8GhNIHcmG9PDcg1B5vlTxrMPfhMPY4mw4j7V9IgDBbFU2r2L9hGVJYIa6s\nHDiQJYUeqyh/pKlvjI6O/GQPE+AB8IduBxMk+hRHaONTIX/F3RPFmkbwBpTW\nqF6yfoC7roALJrxeJwRooir4h7rChPXLf2UfzDMXYbo/srJ62Gw9ZYnYk/KQ\nA0Ve8GMXiPw3g9ow882INpTGRfql2szTuv8Lmz/vLW1XzcS+AewI72LKM+Kw\nRDwIVsjlORm836UKa8Or6JoGA1jBxIde+ETNXez9c8zAHr4O3zg+ySuAEN2S\nzswpng5xcjhPrgXp2OgkBG8LJBnvPNa2fAT5UPuEcMZhUxHNezSNDIih6weX\nb1YgjtrDOh5qIHaLbR9BJBYC6Vk+gvTK2m6/vDLqmH8P/cvvFkCX2qKgV3wC\n3vPowzeDopsNnA6YvIztI/uk/KV4B1i3Y5eFaylbzqUt23OPf1RrbzL9E0q3\ngPCe\r\n=DL3r\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/is-fullwidth-code-point_3.0.0_1552896544852_0.7785122753639435" }, "_hasShrinkwrap": false } }, "readme": "# is-fullwidth-code-point [![Build Status](https://travis-ci.org/sindresorhus/is-fullwidth-code-point.svg?branch=master)](https://travis-ci.org/sindresorhus/is-fullwidth-code-point)\n\n> Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)\n\n\n## Install\n\n```\n$ npm install is-fullwidth-code-point\n```\n\n\n## Usage\n\n```js\nconst isFullwidthCodePoint = require('is-fullwidth-code-point');\n\nisFullwidthCodePoint('谢'.codePointAt(0));\n//=> true\n\nisFullwidthCodePoint('a'.codePointAt(0));\n//=> false\n```\n\n\n## API\n\n### isFullwidthCodePoint(codePoint)\n\n#### codePoint\n\nType: `number`\n\nThe [code point](https://en.wikipedia.org/wiki/Code_point) of a character.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "time": { "modified": "2019-03-18T08:09:08.598Z", "created": "2015-07-16T22:00:18.162Z", "1.0.0": "2015-07-16T22:00:18.162Z", "2.0.0": "2016-09-22T06:42:49.558Z", "3.0.0": "2019-03-18T08:09:05.035Z" }, "homepage": "https://github.com/sindresorhus/is-fullwidth-code-point#readme", "keywords": [ "fullwidth", "full-width", "full", "width", "unicode", "character", "string", "codepoint", "code", "point", "is", "detect", "check" ], "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/is-fullwidth-code-point.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/is-fullwidth-code-point/issues" }, "license": "MIT", "readmeFilename": "readme.md" }