7 lines
261 B
JavaScript
7 lines
261 B
JavaScript
|
import { __assign } from "tslib";
|
||
|
import { dotCase } from "dot-case";
|
||
|
export function snakeCase(input, options) {
|
||
|
if (options === void 0) { options = {}; }
|
||
|
return dotCase(input, __assign({ delimiter: "_" }, options));
|
||
|
}
|
||
|
//# sourceMappingURL=index.js.map
|