1.0.17 • Published 3 years ago

vue-the-utils v1.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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 --save

Install via Yarn

$ yarn add vue-the-utils

License

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:

One-time donation via Paypal

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago