gtb.tocamelcase

    1.0.0 • Public • Published

    toCamelCase

    Fast transform of a string to camelCase. Removes spaces, dashes and underscores.

    import toCamelCase from './gtb.tocamelcase'
     
    toCamelCase('Some string') // someString
    toCamelCase('some-string') // someString
    toCamelCase('SOME_STRING') // someString
    toCamelCase('some--WEIRD__string') // someWeirdString

    Install

    npm i gtb.tocamelcase

    DownloadsWeekly Downloads

    35

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    1.08 kB

    Total Files

    3

    Last publish

    Collaborators

    • gotterbild