1.0.4 • Published 1 year ago

use-egn v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

use-egn

Installation

npm i use-egn

Usage

The egn parameter can be either a string or a ref.

import { ref } from 'vue';
import { useEgn } from 'use-egn'

const egn = ref('')

const { isValid, birthday, isMale, isFemale } = useEgn(egn)

Component usage

<use-egn 
    v-slot="{ isValid, birthday, isMale, isFemale }"
    :egn="egn" 
>
The person was born on {{ birthday }}!
</use-egn>
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago