https://github.com/kusstar/react-native-quick-pinyin
A module parses chinese to pinyin characters for React Native purely through JSI binding
https://github.com/kusstar/react-native-quick-pinyin
android ios jsi pinyin react-native
Last synced: about 2 months ago
JSON representation
A module parses chinese to pinyin characters for React Native purely through JSI binding
- Host: GitHub
- URL: https://github.com/kusstar/react-native-quick-pinyin
- Owner: KusStar
- License: mit
- Created: 2021-08-17T17:38:39.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-12T12:55:32.000Z (over 3 years ago)
- Last Synced: 2025-08-05T10:07:49.279Z (2 months ago)
- Topics: android, ios, jsi, pinyin, react-native
- Language: Java
- Homepage:
- Size: 571 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-quick-pinyin
A module parses chinese to pinyin characters for React Native purely through JSI binding.
## Installation
```sh
$ npm install react-native-quick-pinyin
# or yarn add react-native-quick-pinyin
```## Usage
```javascript
import Pinyin from "react-native-quick-pinyin";Pinyin.getFullChars('你好')
// nihao
```Also, you can check the [example](./example).
## Interface
```typescript
interface QuickPinyin {
getFullChars: (text: string) => string;
}
```## Contributing
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
## License
MIT