Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
Update qieyun-examples to nk2028/tshet-uinh-examples@eec61ac
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalal committed Dec 18, 2020
1 parent d7a2de3 commit 8f1fceb
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# qieyun-examples-node [![](https://github.com/nk2028/qieyun-examples-node/workflows/Test/badge.svg)](https://github.com/nk2028/qieyun-examples-node/actions?query=workflow%3A%22Test%22)
# qieyun-examples-node

[![](https://badge.fury.io/js/qieyun-examples-node.svg)](https://www.npmjs.com/package/qieyun-examples-node) [![](https://github.com/nk2028/qieyun-examples-node/workflows/Test/badge.svg)](https://github.com/nk2028/qieyun-examples-node/actions?query=workflow%3A%22Test%22)

## Install

```sh
npm install qieyun-examples-node@0.0.2
npm install qieyun-examples-node@0.0.3
```

## Usage
Expand Down Expand Up @@ -31,8 +33,8 @@ npm install qieyun-examples-node@0.0.2
'sjeux'
> QieyunExamples.unt(p);
'ɕjɛw˦˦˥'
> QieyunExamples.unt_2020(p);
'ɕew˦˥'
> QieyunExamples.unt_j(p);
'ɕe̋w'
> QieyunExamples.gwongzau(p);
'siu2'
> QieyunExamples.dv9(p);
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/sh
mkdir -p cache
cd cache
curl -LsSZ --remote-name-all https://cdn.jsdelivr.net/gh/nk2028/qieyun-examples@8040075/{kyonh.js,baxter.js,unt.js,unt_2020.js,putonghua.js,gwongzau.js,dv9.js}
curl -LsSZ --remote-name-all https://cdn.jsdelivr.net/gh/nk2028/qieyun-examples@eec61ac/{kyonh.js,baxter.js,unt.js,unt_j.js,putonghua.js,gwongzau.js,dv9.js}
echo "
const QieyunExamples = {
kyonh: function kyonh(音韻地位) { `cat kyonh.js` },
baxter: function baxter(小韻號) { `cat baxter.js` },
unt: function unt(音韻地位) { `cat unt.js` },
unt_2020: function unt_2020(音韻地位) { `cat unt_2020.js` },
unt_j: function unt_j(音韻地位) { `cat unt_j.js` },
putonghua: function putonghua(小韻號) { `cat putonghua.js` },
gwongzau: function gwongzau(音韻地位) { `cat gwongzau.js` },
dv9: function dv9(音韻地位) { `cat dv9.js` }
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qieyun-examples-node",
"version": "0.0.2",
"version": "0.0.3",
"description": "Qieyun examples (Node.js version)",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ let p = Qieyun.get音韻地位(sr);

QieyunExamples.kyonh(p).should.equal('sjeux');
QieyunExamples.unt(p).should.equal('ɕjɛw˦˦˥');
QieyunExamples.unt_2020(p).should.equal('ɕew˦˥');
QieyunExamples.unt_j(p).should.equal('ɕe̋w');
QieyunExamples.gwongzau(p).should.equal('siu2');
QieyunExamples.dv9(p).should.equal('siouˊ');

0 comments on commit 8f1fceb

Please sign in to comment.