Skip to content
This repository has been archived by the owner on Jul 12, 2018. It is now read-only.

howsecureismypassword/modules-character-sets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How Secure Is My Password

Character Sets

var characterSets = require("character-sets");

console.log(characterSets("abc").getSets()); // ["ASCII Lowercase"]
console.log(characterSets("abc").getPossibleCharacters()); // 26
console.log(characterSets("aB1").getSets()); // ["ASCII Lowercase", "ASCII Uppercase", "ASCII Numbers"]
console.log(characterSets("aB1").getPossibleCharacters()); // 62