{"_id":"@cjser/has-emoji","name":"@cjser/has-emoji","dist-tags":{"latest":"3.0.0-cjser.2"},"versions":{"3.0.0-cjser.2":{"name":"@cjser/has-emoji","version":"3.0.0-cjser.2","description":"Check whether a string has any emoji","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":{"types":"./index.d.ts","require":"./dist-cjser/index.cjs","default":"./index.js"},"engines":{"node":">=20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["emoji","emojis","string","text","has","contains","includes","detect","is"],"devDependencies":{"ava":"^5.3.1","tsd":"^0.29.0","xo":"^0.56.0"},"xo":{"rules":{"unicorn/better-regex":"off"}},"types":"./index.d.ts","main":"./dist-cjser/index.cjs","cjser":{"sourceVersion":"3.0.0","cjserVersion":2,"original":{"name":"has-emoji","version":"3.0.0","exports":{"types":"./index.d.ts","default":"./index.js"},"repository":"sindresorhus/has-emoji","files":["index.js","index.d.ts"],"scripts":{"test":"xo && ava && tsd"}}},"_id":"@cjser/has-emoji@3.0.0-cjser.2","gitHead":"a4bef54d7d22d3d9a6b84528457938d84cd65fe7","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-EI47voydGIhEYPX1lH/EmDQ7IfSr5c4xAjqU5PfmW3R+Ck+QjWPA0EGdbxH5vMk8OL0OvQjb7w82RSsyghRUgA==","shasum":"ff58d5e39a7947adf91a65f62b7fb0da0e79e6f7","tarball":"https://registry.npmjs.org/@cjser/has-emoji/-/has-emoji-3.0.0-cjser.2.tgz","fileCount":6,"unpackedSize":4734,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDqWPrma+lOSTT8T8L4LTc96lgoDBXAnbcwDbZPuialXAIgVpe89RtPl0/sjPeLy2ZZ7AZ3q8MBGjcWD/q86eU2Lrw="}]},"_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/has-emoji_3.0.0-cjser.2_1778158473405_0.8076174403189229"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T12:54:33.293Z","3.0.0-cjser.2":"2026-05-07T12:54:33.558Z","modified":"2026-05-07T12:54:33.719Z"},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"description":"Check whether a string has any emoji","keywords":["emoji","emojis","string","text","has","contains","includes","detect","is"],"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":"# has-emoji\n\n> Check whether a string has any emoji\n\nThis can be useful when you need to prevent emoji in user input, for example, for usernames.\n\n## Install\n\n```sh\nnpm install has-emoji\n```\n\n## Usage\n\n```js\nimport hasEmoji from 'has-emoji';\n\nhasEmoji('Unicorn 🦄');\n//=> true\n\nhasEmoji('Cat');\n//=> false\n```\n\n## Related\n\n- [@sindresorhus/is](https://github.com/sindresorhus/is) - Type check values\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/has-emoji\n","readmeFilename":"readme.md","_rev":"1-b10f6215820ab8c5f3fecd4f94834874"}