diff --git a/README.md b/README.md index da0bc6e..5469135 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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); diff --git a/build.sh b/build.sh index 79512d8..cad410e 100755 --- a/build.sh +++ b/build.sh @@ -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` } diff --git a/package-lock.json b/package-lock.json index 8e99604..848d325 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "qieyun-examples-node", - "version": "0.0.2", + "version": "0.0.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index dd52a37..f2c10eb 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/test/main.js b/test/main.js index 107bd78..bd8f640 100644 --- a/test/main.js +++ b/test/main.js @@ -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ˊ');