0.0.8 • Published 3 years ago

@iuser/u8 v0.0.8

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

@iuser/u8

安装

推荐用 @antfu/ni

ni -D @iuser/u8

使用

→ test/index.coffee

#!/usr/bin/env coffee

import u8 from '@iuser/u8'

for i in 'str_li str2li i18n iI18n test-db User LIB_INDEX'.split(' ')
  console.log "#{i} → #{u8 i}"

输出

→ out.txt

str_li → str-li
str2li → str2li
i18n → i18n
iI18n → i-i18n
test-db → test-db
User → user
LIB_INDEX → lib-index