#typography #conventions #string #case #translating #cli #chars

bin+lib typocase

CLI for translating string into typography conventions

1 unstable release

0.1.0 Jul 8, 2020

#8 in #translating

MIT license

405KB
169 lines

Typocase RS


CLI for translating string into typography conventions.

How it works

  • Accept any string as input.
  • Detect substrings based on special chars or uppercase letters as separators.
  • Join substrings based on the typography convention selected:
    • snake case
    • pascal case
    • camel case
    • constant case
    • kebab case

Usage

$ typocase pascal abc_def_ghi
AbcDefGhi

License

This software is released under the MIT LICENSE.

Author

Martin Tovmassian

No runtime deps