@iuser/kebab

0.0.1 • Public • Published

@iuser/kebab

安装

推荐用 @antfu/ni

ni -D @iuser/kebab

使用

→ test/index.coffee

#!/usr/bin/env coffee

import kebab from '@iuser/kebab'

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

输出

→ out.txt

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

Readme

Keywords

none

Package Sidebar

Install

npm i @iuser/kebab

Weekly Downloads

1

Version

0.0.1

License

Apache-2.0

Unpacked Size

11 kB

Total Files

5

Last publish

Collaborators

  • i-user