✂️ Vue String Filter
Lightweight Vue filter for string manipulation
Demo
https://mazipan.github.io/vue-string-filter/
Available Filter
uppercase
lowercase
capitalize
titlecase
slug
truncate
cut
remove
remove_first
replace
replace_first
append
Download
# NPM npm install vue-string-filter # Yarn yarn add vue-string-filter
Sample Usage
Use Plugins
Vue
Import Individual Filters
// using named exports // directly VueVueVueVueVueVueVueVueVueVueVueVue
Use in View
{{ stringWillFormatted | uppercase }}{{ stringWillFormatted | lowercase }}{{ stringWillFormatted | capitalize }}{{ stringWillFormatted | titlecase }}{{ stringWillFormatted | slug }}{{ stringWillFormatted | truncate(10) }}{{ stringWillFormatted | cut(10) }}{{ stringWillFormatted | remove('stringToRemove') }}{{ stringWillFormatted | remove_first('stringToRemove') }}{{ stringWillFormatted | replace('stringToReplace') }}{{ stringWillFormatted | replace_first('stringToReplace') }}{{ stringWillFormatted | append('stringToAppend') }}
Support me
- Via trakteer
- Direct support, send me an email
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.
Copyright © 2019 Built with ❤️ by Irfan Maulana