react-native-quick-pinyin
    TypeScript icon, indicating that this package has built-in type declarations

    0.4.0 • Public • Published

    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-pinyin

    Usage

    import Pinyin from "react-native-quick-pinyin";
    
    Pinyin.getFullChars('你好')
    // nihao

    Also, 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

    Install

    npm i react-native-quick-pinyin

    DownloadsWeekly Downloads

    0

    Version

    0.4.0

    License

    MIT

    Unpacked Size

    104 kB

    Total Files

    24

    Last publish

    Collaborators

    • kuss