hyphenate.pascalcase
v0.0.1
Published
To convert PascalCase to pascal-case.
Downloads
1
Readme
A function to convert from PascalCase to pascal-case.
To install: npm i hyphenate.pascalcase
.
To use:
# Either require
{ hyphenate } = require 'hyphenate.pascalcase'
# or import
import { hyphenate } from 'hyphenate.pascalcase'
hyphenate 'PascalCase'
#=> 'pascal-case'
hyphenate 'Pascal'
#=> 'pascal'
hyphenate 'IsGNUUnix'
#=> 'is-gnu-unix'