camelcase

Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`

dashify

Convert a camelcase or space-separated string to a dash-separated string. ~12 sloc, fast, supports diacritics.

createpassword

This will convert a dash, dot, underscore, space and separated string to regularCase: node-js : nodeJs