siwi-pinyin hanzi to pinyin for nodejs install yarn add siwi-pinyin npm install siwi-pinyin test const expect = require('chai').expectdescribe('/lib/index.js', () => { it('convert',async () => { const pinyin = require('../index') const hanzi = '还好,欢迎光临'; const res = await pinyin.convert(hanzi) console.log(res) expect(res).to.be.equal('hái hǎo ,huān yíng guāng lín ') });});