1.0.17 • Published 5 years ago
vue-the-utils v1.0.17
Vue The Utils
Utilities for Vue
:bookmark: Value to date
String pt-BR date => Local date
Register
import { valueToDate } from 'vue-the-utils'Usage
// pt-BR
// const value = '25/12/2021'
// const value = '25-12-2021'
// const value = '25 12 2021'
// en-US
// const value = '2021/12/2021'
// const value = '2021-25-12'
// const value = '2021 25 12'
const date = valueToDate(value):bookmark: Object to array
Object => Array
Register
import { objectToArray } from 'vue-the-utils'Usage
const array = objectToArray(object):bookmark: Translate en-us pt-br
Translate en-US => pt-BR
Register
import { translateUsToBr } from 'vue-the-utils'Usage
const messageBr = translateUsToBr(messageUs)Installation
Install via NPM
$ npm install vue-the-utils --saveInstall via Yarn
$ yarn add vue-the-utilsLicense
Vue-The-Utils is open-sourced software licensed under the MIT license
Support
Hello, I'm Fábio Costa the maintainer of this project in my free time, if this project does help you in any way please consider to support me. Thanks :smiley: