Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cklwblove/pinyin
Simple Chinese conversion to pinyin library
https://github.com/cklwblove/pinyin
pinyin rollup typescript-library
Last synced: about 4 hours ago
JSON representation
Simple Chinese conversion to pinyin library
- Host: GitHub
- URL: https://github.com/cklwblove/pinyin
- Owner: cklwblove
- License: mit
- Created: 2019-10-21T08:15:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T06:15:54.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T10:53:27.572Z (12 days ago)
- Topics: pinyin, rollup, typescript-library
- Language: TypeScript
- Homepage:
- Size: 676 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: code-of-conduct.md
Awesome Lists containing this project
README
# Pinyin
Simple Chinese conversion to pinyin library.
### Docs
https://cklwblove.github.io/pinyin/### Usage
```bash
npm install @liwb/pinyinor
# Run npm install and write your library name when asked. That's all!
yarn add @liwb/pinyin
```### Importing library
You can import the generated bundle to use the whole library generated by this starter:
```javascript
import pinyin from '@liwb/pinyin'
```Additionally, you can import the transpiled modules from `dist/lib` in case you have a modular library:
```javascript
import something from 'mylib/dist/lib/something'
```