includeDaniel / password-generator

A package who make a password with n digits

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

password-generator

GitHub license main npm version codecov

npm i @includedaniel/password-generator
yarn add @includedaniel/password-generator

Usage:

//module
import { passwordGenerator } from "generated-password"
console.log(passwordGenerator(2)) // a random number with two digits: 48
//commomjs
const { passwordGenerator } = require("generated-password")
console.log(passwordGenerator(5)) // a random number with five digits: 45764

Running tests:

  • Run yarn test to execute the tests and export the reports to /coverage folder

Running lint:

  • Run yarn lint to execute the eslint to fix and find problems in your code
  • want to know more about eslint commands? Follow the link

Running prettier:

  • Run yarn format to format the code according to established standards
  • Run yarn type-check to check the types in your code

Running rollup:

About

A package who make a password with n digits

License:MIT License


Languages

Language:TypeScript 54.6%Language:JavaScript 45.4%