@ev-fns/string-fns
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@ev-fns/string-fns

String functions

  • camelToSnake (str: string) => string
  • snakeToCamel (str: string) => string

Install

yarn add @ev-fns/string-fns

Usage

const { camelToSnake, snakeToCamel } = require("@ev-fns/string-fns");

console.log(camelToSnake("camelCaseValue"));
// camel_case_value

console.log(snakeToCamel("snake_to_camel"));
// snakeToCamel

Readme

Keywords

none

Package Sidebar

Install

npm i @ev-fns/string-fns

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

2.35 kB

Total Files

8

Last publish

Collaborators

  • eliseuvideira