🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@impv/zxcvbn-ts-language-ja

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@impv/zxcvbn-ts-language-ja

Japanese language pack for zxcvbn-ts

1.0.2
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@impv/zxcvbn-ts-language-ja

  • 日本語

This is a Japanese language pack for zxcvbn-ts. Currently, this package provides feedbacks translation only.

Installation

# NPM
npm i @impv/zxcvbn-ts-language-ja

# Yarn
yarn add @impv/zxcvbn-ts-language-ja

# pnpm
pnpm i @impv/zxcvbn-ts-language-ja

Usage

As this package provide neither dictionaries nor keyboard patterns, we recommend you to use common ones and/or English ones.

import { zxcvbn, ZxcvbnOptions } from "@zxcvbn-ts/core";
import zxcvbnCommonPackage from "@zxcvbn-ts/language-common";
import zxcvbnEnPackage from "@zxcvbn-ts/language-en";
// You can't default-import the package because we use Named Exports.
import * as zxcvbnJaPackage from "@impv/zxcvbn-ts-language-ja";

const password = "somePassword";
const options = {
  translations: zxcvbnJaPackage.translations,
  dictionary: {
    ...zxcvbnCommonPackage.dictionary,
    ...zxcvbnEnPackage.dictionary,
  },
  graphs: zxcvbnCommonPackage.adjacencyGraphs,
};

ZxcvbnOptions.setOptions(options);

zxcvbn(password);

Keywords

zxcvbn

FAQs

Package last updated on 23 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts