is-chinese-mainland
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

isChineseMainland

A simple way to check if the user is in Chinese Mainland

import isChineseMainland from 'is-chinese-mainland'

isChineseMainland().then((yes) => {
  console.info(yes ? 'Is Chinese!' : 'Not Chinese!')
})

/is-chinese-mainland/

    Package Sidebar

    Install

    npm i is-chinese-mainland

    Weekly Downloads

    0

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    2.89 kB

    Total Files

    6

    Last publish

    Collaborators

    • dragon-fish