{"_id":"@cjser/is-unicode-supported__v1_3_0","name":"@cjser/is-unicode-supported__v1_3_0","dist-tags":{"latest":"1.3.0-cjser.2"},"versions":{"1.3.0-cjser.2":{"name":"@cjser/is-unicode-supported__v1_3_0","version":"1.3.0-cjser.2","description":"Detect whether the terminal supports Unicode","license":"MIT","repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"require":"./dist-cjser/index.cjs","default":"./index.js"},"engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["terminal","unicode","detect","utf8","console","shell","support","supports","supported","check","detection"],"devDependencies":{"ava":"^4.0.1","tsd":"^0.19.1","xo":"^0.47.0"},"main":"./dist-cjser/index.cjs","cjser":{"sourceVersion":"1.3.0","cjserVersion":2,"original":{"name":"is-unicode-supported","version":"1.3.0","exports":"./index.js","repository":"sindresorhus/is-unicode-supported","files":["index.js","index.d.ts"],"scripts":{"test":"xo && ava && tsd"}}},"_id":"@cjser/is-unicode-supported__v1_3_0@1.3.0-cjser.2","gitHead":"a4bef54d7d22d3d9a6b84528457938d84cd65fe7","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-+6NLjXvgPsJg7xlPTsCj5how1Xc+HJACEze7QS+RR7YYqOuxMpPzT1wrlWcBQSwhDtacV37IRSQXNoVmc4p7dA==","shasum":"2768b4be971782f01cc477a539eb58a9b5267367","tarball":"https://registry.npmjs.org/@cjser/is-unicode-supported__v1_3_0/-/is-unicode-supported__v1_3_0-1.3.0-cjser.2.tgz","fileCount":6,"unpackedSize":7215,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGJSWfZViNnRI6W06b4IWAvjtMWkpu7r5mxdnXOkLqwDAiBHCkEpxR5dMGQz9WBVzcgCoqnpeOZ/k5dNEElOek8jRQ=="}]},"_npmUser":{"name":"nanahira","email":"nanahira@momobako.com"},"directories":{},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-unicode-supported__v1_3_0_1.3.0-cjser.2_1778158852943_0.1755439092794444"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T13:00:52.795Z","1.3.0-cjser.2":"2026-05-07T13:00:53.071Z","modified":"2026-05-07T13:00:53.293Z"},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"description":"Detect whether the terminal supports Unicode","keywords":["terminal","unicode","detect","utf8","console","shell","support","supports","supported","check","detection"],"repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","readme":"# is-unicode-supported\n\n> Detect whether the terminal supports Unicode\n\nThis can be useful to decide whether to use Unicode characters or fallback ASCII characters in command-line output.\n\nNote that the check is quite naive. It just assumes all non-Windows terminals support Unicode and hard-codes which Windows terminals that do support Unicode. However, I have been using this logic in some popular packages for years without problems.\n\n## Install\n\n```sh\nnpm install is-unicode-supported\n```\n\n## Usage\n\n```js\nimport isUnicodeSupported from 'is-unicode-supported';\n\nisUnicodeSupported();\n//=> true\n```\n\n## API\n\n### isUnicodeSupported()\n\nReturns a `boolean` for whether the terminal supports Unicode.\n\n## Related\n\n- [is-interactive](https://github.com/sindresorhus/is-interactive) - Check if stdout or stderr is interactive\n- [supports-color](https://github.com/chalk/supports-color) - Detect whether a terminal supports color\n- [figures](https://github.com/sindresorhus/figures) - Unicode symbols with Windows fallbacks\n- [log-symbols](https://github.com/sindresorhus/log-symbols) - Colored symbols for various log levels\n\n## cjser\n\nThis package is a CommonJS-compatible build generated by cjser for projects that still need `require()` support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.\nOriginal repository: https://github.com/sindresorhus/is-unicode-supported\n","readmeFilename":"readme.md","_rev":"1-a10e9f7fbb4374a058cfe72d715235d1"}