0.5.0 • Published 4 years ago
react-native-quick-pinyin v0.5.0
react-native-quick-pinyin
A module parses chinese to pinyin characters for React Native purely through JSI binding.
Installation
$ npm install react-native-quick-pinyin
# or yarn add react-native-quick-pinyinUsage
import Pinyin from "react-native-quick-pinyin";
Pinyin.getFullChars('你好')
// nihaoAlso, you can check the example.
Interface
interface QuickPinyin {
getFullChars: (text: string) => string;
}Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT