@codinasion/kebab-case-string-to-snake-case-string
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@codinasion/kebab-case-string-to-snake-case-string

Converts a kebab-case string to a snake_case string.

NPM Version Downloads LICENSE

rainbow hr

Installation

# if you're using pnpm
pnpm add @codinasion/kebab-case-string-to-snake-case-string

# or, if you're using npm
npm install @codinasion/kebab-case-string-to-snake-case-string

# or, if you're using yarn
yarn add @codinasion/kebab-case-string-to-snake-case-string
rainbow hr

Usage

import { KebabCaseStringToSnakeCaseString } from "@codinasion/kebab-case-string-to-snake-case-string";

const string = "hello-world";
console.log(KebabCaseStringToSnakeCaseString(string));

// Output
// hello_world
rainbow hr

Sponsors & Backers

Sponsors

rainbow hr

Made with 💖 by Codinasion

rainbow hr

Package Sidebar

Install

npm i @codinasion/kebab-case-string-to-snake-case-string

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

5.37 kB

Total Files

5

Last publish

Collaborators

  • harshraj8843