0.0.20 • Published 3 years ago

@iuser/camel v0.0.20

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

@iuser/camel

安装

推荐用 @antfu/ni

ni -D @iuser/camel

使用

→ test/index.coffee

#!/usr/bin/env coffee

import camel from '@iuser/camel'

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

输出

→ out.txt

str_li → strLi
str2li → str2li
i18n → i18n
iI18n → iI18n
test-db → testDb
User → User
LIB_INDEX → LIB_INDEX