How to use the snake-case/snake-case function in snake-case

To help you get started, we’ve selected a few snake-case examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github oberonamsterdam / redux-updaters / src / createAction.js View on Github external
export const actionName = (action: string, path: string) =>
    ACTION_PREFIX + action + '_' + snakeCase(path).toUpperCase();

snake-case

Transform into a lower case string with underscores between words

MIT
Latest version published 1 year ago

Package Health Score

63 / 100
Full package analysis