@zxcvbn-ts/language-fi
Version:
The Finnish language package for zxcvbn-ts
44 lines (30 loc) • 1.41 kB
Markdown
The Finnish dictionary and language package for zxcvbn-ts
`npm install @zxcvbn-ts/language-fi --save`
`yarn add @zxcvbn-ts/language-fi`
```js
import { ZxcvbnFactory } from '@zxcvbn-ts/core'
import * as zxcvbnCommonPackage from '@zxcvbn-ts/language-common'
import * as zxcvbnFiPackage from '@zxcvbn-ts/language-fi'
const password = 'somePassword'
const options = {
translations: zxcvbnFiPackage.translations,
graphs: zxcvbnCommonPackage.adjacencyGraphs,
dictionary: {
...zxcvbnCommonPackage.dictionary,
...zxcvbnFiPackage.dictionary,
},
}
const zxcvbn = new ZxcvbnFactory(options)
zxcvbn.check(password)
```
- commonWords.json is generated from the OpenSubtitles 2024 dataset provided via OPUS (https://opus.nlpl.eu/datasets/OpenSubtitles). The dataset is licensed under ODC-BY (Open Data Commons Attribution License) and requires attribution when redistributed.
- firstname and lastname https://avoindata.suomi.fi/data/fi/dataset/none
https://www.avoindata.fi/data/dataset/57282ad6-3ab1-48fb-983a-8aba5ff8d29a/resource/957d19a5-b87a-4c4d-8595-49c22d9d3c58
https://www.avoindata.fi/data/dataset/57282ad6-3ab1-48fb-983a-8aba5ff8d29a/resource/08c89936-a230-42e9-a9fc-288632e234f5
This data is updated regularly and the download link will change because the date of the change is inside the link