Nature's Powerful Meme

    to-snake-case-g

    1.0.1 • Public • Published

    to-snake-case

    Convert a string to a snake case.

    Installation

    $ npm install to-snake-case-g
    

    Example

    var toSnakeCase = require('to-snake-case')
     
    toSnakeCase('camelCase')   // "camel_case"
    toSnakeCase('space case')  // "snake_case"
    toSnakeCase('dot.case')    // "dot_case"
    toSnakeCase('weird[case')  // "weird_case"

    API

    toSnakeCase(string)

    Returns the string converted to snake case.

    Keywords

    Install

    npm i to-snake-case-g

    DownloadsWeekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    2.95 kB

    Total Files

    5

    Last publish

    Collaborators

    • targeral