1.1.0 • Published 1 year ago
is-chinese-mainland v1.1.0
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!')
})