Skip to main content

One post tagged with "JavaScript"

View All Tags

· One min read
Gabriel Wu

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.