nuxt-change-case

1.0.2 • Public • Published

nuxt-change-case

npm version npm downloads Codecov License

change-case implementation as nuxt module.

📖 Release Notes

Setup

  1. Add nuxt-change-case dependency to your project
yarn add nuxt-change-case # or npm install nuxt-change-case
  1. Add nuxt-change-case to the modules section of nuxt.config.js
{
  modules: [
    'nuxt-change-case'
  ]
}

Usage

<h1> {{ $pascalCase('hello world') }} </h1>
// HelloWorld
<h1> {{ $lowerCase('Çocuk Adam Bak Buraya') }} </h1>
// çocuk adam bak buraya
<h1> {{ $localeUpperCase('şemsi paşa pasajında sesi büzüşesiceler', 'tr') </h1>
// ŞEMSİ PAŞA PASAJINDA SESİ BÜZÜŞESİCELER
<h1> {{ $localeLowerCase('KENAN MEMEDOV! SOVIETSKA ARMY', 'az') </h1>
// kenan memedov! sovietska army
// In asyncData
asyncData ({ $paramCase }) {
  console.log($paramCase('nuxt change case'))
}
// nuxt-change-case

Please check full documentation. Same as change-case.

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

Copyright (c) selimdoyranli selimdoyranli@gmail.com.com

Package Sidebar

Install

npm i nuxt-change-case

Weekly Downloads

47

Version

1.0.2

License

MIT

Unpacked Size

6.59 kB

Total Files

5

Last publish

Collaborators

  • selimdoyranli