Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

mazipan/vue-string-filter

Repository files navigation

vue-string-filter

License Github Issue GitHub Fork GitHub Star

version downloads monthly downloads

Travis codecov

✂️ Lightweight Vue 2 String Manipulation Filter

Demo

https://mazipan.github.io/vue-string-filter/

Available Filter

  • uppercase
  • lowercase
  • capitalize
  • titlecase
  • slug

Download

NPM :

npm install vue-string-filter

Yarn :

yarn add vue-string-filter

Sample Usage

Use Plugins :

import VueStringFilter from 'vue-string-filter'
Vue.use(VueStringFilter)

Use in View :

<span>{{ stringWillFormatted | uppercase }}</span>
<span>{{ stringWillFormatted | lowercase }}</span>
<span>{{ stringWillFormatted | capitalize }}</span>
<span>{{ stringWillFormatted | titlecase }}</span>
<span>{{ stringWillFormatted | slug }}</span>

Contributing

If you'd like to contribute, head to the contributing guidelines. Inside you'll find directions for opening issues, coding standards, and notes on development.

Hope this will be useful for you all.

Contact Me :

Email Website Facebook

Twitter Linkedin Slideshare