Home
Sign Up
Sign In
Advertisement
V2EX
›
Node.js
node 有没有比较好的可以对中文做 transliteration 的包?
2
andyhu
·
May 5, 2014
· 2877 views
This topic created in 4405 days ago, the information mentioned may be changed or developed.
比如说可以把文章标题转换为拼音,支持多语言的。
试了下slug好像不支持中文。以前记得有一个模块,是从ruby一个包转过来的,忘了叫什么了
中文
transliteration
slug
1 replies
•
2014-05-05 06:18:26 +08:00
1
andyhu
OP
May 5, 2014
自问自答了,好像是stringex这个包,另外node-iconv也有translit选项,貌似可以
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3090 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 633ms ·
UTC 14:11
·
PVG 22:11
·
LAX 07:11
·
JFK 10:11
♥ Do have faith in what you're doing.
❯