0.2.10 • Published 5 years ago
wechaty-type-checker v0.2.10
wechaty type checker
Make it simple to get wechaty type
- Contact
- Room
- Offical Account
- WeChat Work Contact
- WeChat Work Room ...
Install
npm install wechaty-type-checker
Run
import { isOfficialId } from 'wechaty-type-checker'
const result = isOfficialId('bot-sentry')
if (result) {
console.log('bot sentry is official account')
}