decamelize

String unifier

Converts camel-cased strings into lowercased ones with a custom separator

Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow

GitHub

238 stars
9 watching
25 forks
Language: JavaScript
last commit: about 2 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
sindresorhus/camelcase Converts dash/dot/underscore/space separated strings to camelCase or PascalCase. 683
sindresorhus/cows An ASCII art cow generator with various designs and styles 419
sindresorhus/string-length Corrects string length counting by ignoring astral symbols and ANSI escape codes. 162
sindresorhus/cli-truncate Library to truncate strings to fit terminal widths 85
denolib/camelcase Converts strings from dashed or underscored formats to camelCase or PascalCase formats. 8
sindresorhus/object-assign Provides a polyfill for the ES2015 Object.assign() method to support older browsers and environments. 920
sindresorhus/filenamify Converts a string to a valid filename by replacing reserved characters and truncating long names. 489
sindresorhus/sindresorhus A personal showcase of the maintainer's interests and projects 342
sindresorhus/any-observable Supports any Observable library and provides polyfills 70
sindresorhus/pokemon-cli Tools for interacting with the Pokémon API to retrieve and display Pokémon names 48
sindresorhus/strip-indent Removes redundant indentation from a string by finding the minimum leading whitespace across all lines. 135
sindresorhus/p-reduce Transforms an asynchronous list into a single value by applying a reduction function 68
sindresorhus/hard-rejection Makes unhandled promise rejections fail immediately with an error message instead of silently failing. 107
sindresorhus/ipify Get your public IP address from the Ipify service using JavaScript 273
sindresorhus/cli-cursor Library for controlling the CLI cursor 103