Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# Pinyin

Simple Chinese conversion to pinyin library.

### Docs
https://cklwblove.github.io/pinyin/

### Usage

```bash
npm install @liwb/pinyin

or
# 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'
```