跳到主要内容

1 篇博文 含有标签「JavaScript」

查看所有标签

· 阅读需 1 分钟
吴自华

Today I wrote a script to automatically generate a template blog. I expected it to be easy. It was easy, but not that easy as I had thought. The problem was to convert Chinese characters to Pinyin for filename. Luckily, I found the library tiny-pinyin which handles this swiftly.