UNPKG

@amindunited/to-snake-case

Version:

Accepts a, Title Case, camel Case or dash separated string and returns a copy separated by underscores.

12 lines (10 loc) 259 B
/** * @license * Copyright Robin Buckley. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file */ 'use strict'; const toSnakeCase = require('./src'); module.exports = toSnakeCase;