How to use the no-case.noCase function in no-case

To help you get started, we’ve selected a few no-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 blakeembrey / change-case / packages / constant-case / src / index.ts View on Github external
export function constantCase(input: string, options: Options = {}) {
  return noCase(input, {
    delimiter: "_",
    transform: upperCase,
    ...options
  });
}
github blakeembrey / change-case / packages / pascal-case / src / index.ts View on Github external
export function pascalCase(input: string, options: Options = {}) {
  return noCase(input, {
    delimiter: "",
    transform: pascalCaseTransform,
    ...options
  });
}
github blakeembrey / change-case / packages / capital-case / src / index.ts View on Github external
export function capitalCase(input: string, options: Options = {}) {
  return noCase(input, {
    delimiter: " ",
    transform: capitalCaseTransform,
    ...options
  });
}

no-case

Transform any case string into a lower case string with a space between each word

MIT
Latest version published 1 year ago

Package Health Score

63 / 100
Full package analysis

Popular no-case functions