password-analyzer
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "password-analyzer", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Passwords Analyzer is an API developed to aid in analysis of password lists", | ||
@@ -21,3 +21,3 @@ "main": "index.js", | ||
"name": "Tom Pawlak <tompwk@gmail.com>", | ||
"url": "http://blog.tompawlak.org", | ||
"url": "https://blog.abelotech.com", | ||
"email": "tompwk@gmail.com" | ||
@@ -29,3 +29,3 @@ }, | ||
"type": "MIT", | ||
"url": "http://blog.tompawlak.org/mit-license" | ||
"url": "https://blog.abelotech.com/mit-license/" | ||
} | ||
@@ -32,0 +32,0 @@ ], |
@@ -1,2 +0,5 @@ | ||
[![Build Status](https://travis-ci.org/T-PWK/node-password-analyzer.svg?branch=master)](https://travis-ci.org/T-PWK/node-password-analyzer) [![npm version](https://badge.fury.io/js/password-analyzer.svg)](http://badge.fury.io/js/password-analyzer) [![Dependency Status](https://gemnasium.com/T-PWK/node-password-analyzer.svg)](https://gemnasium.com/T-PWK/node-password-analyzer) [![Code Climate](https://codeclimate.com/github/T-PWK/node-password-analyzer/badges/gpa.svg)](https://codeclimate.com/github/T-PWK/node-password-analyzer) [![Test Coverage](https://codeclimate.com/github/T-PWK/node-password-analyzer/badges/coverage.svg)](https://codeclimate.com/github/T-PWK/node-password-analyzer) | ||
[![Build Status](https://travis-ci.org/T-PWK/node-password-analyzer.svg?branch=master)](https://travis-ci.org/T-PWK/node-password-analyzer) | ||
[![npm version](https://badge.fury.io/js/password-analyzer.svg)](http://badge.fury.io/js/password-analyzer) | ||
[![Code Climate](https://codeclimate.com/github/T-PWK/node-password-analyzer/badges/gpa.svg)](https://codeclimate.com/github/T-PWK/node-password-analyzer) | ||
[![Test Coverage](https://codeclimate.com/github/T-PWK/node-password-analyzer/badges/coverage.svg)](https://codeclimate.com/github/T-PWK/node-password-analyzer) | ||
@@ -24,3 +27,4 @@ Password Analyzer | ||
passwordAnalyzer.getResults(); // returns object with results of passwords analysis | ||
// returns object with results of passwords analysis | ||
passwordAnalyzer.getResults(); | ||
``` | ||
@@ -32,3 +36,3 @@ | ||
- a string representing a pre-defined analyzer code (you can find analyzer codes below) | ||
- an analyzer constructor (function) - a new analyzer will be instancieted using the given constructor | ||
- an analyzer constructor (function) - a new analyzer will be instantiated using the given constructor | ||
- an analyzer instance | ||
@@ -43,6 +47,9 @@ | ||
{ | ||
name: 'Character sets', // Group name | ||
analyzers:[ // Analyzers for the given group | ||
{ code: 'numeric', count: 1 }, // Analyzer code (id) and number of passwords | ||
// matching rules of the given analyzer | ||
// Group name | ||
name: 'Character sets', | ||
// Analyzers for the given group | ||
analyzers:[ | ||
// Analyzer code (id) and number of passwords matching rules of the given analyzer | ||
{ code: 'numeric', count: 1 }, | ||
{ code: 'loweralpha', count: 2 }, | ||
@@ -70,3 +77,3 @@ { code: 'upperalpha', count: 1 } | ||
- `MixedAlphaSpecialAnalyzer` - (code `mixedalphaspecial`) checks if a password is composed of: uppercase, lowercase and special characters only | ||
- `MonthsAnalyzer` - (code: `months`) checks if a password is composed of English month names (case insensetive) only | ||
- `MonthsAnalyzer` - (code: `months`) checks if a password is composed of English month names (case insensitive) only | ||
- `NumericAnalyzer` - (code: `numeric`) checks if a password is composed of digits only | ||
@@ -87,3 +94,3 @@ - `PasswordLengthAnalyzer` - (code: `length`) performs password length analysis | ||
- `?d` - matches a single digit | ||
- `?s` - matches a single special character i.e. one of: `!\"#$%&'()*+,-./:;<=>?@[\\]^\_``{|}~«space»` | ||
- `?s` - matches a single special character i.e. one of: `!"#$%&'()*+,-./:;<=>?@[\]^_``{|}~«space»` | ||
- `?a` - matches any single characters i.e. `?l` or `?u` or `?d` or `?s` | ||
@@ -94,3 +101,3 @@ | ||
## Author ## | ||
Writen by Tom Pawlak - [Blog](http://blog.tompawlak.org) | ||
Written by Tom Pawlak - [Blog](https://blog.abelotech.com) | ||
@@ -101,2 +108,2 @@ ## License ## | ||
MIT License : http://blog.tompawlak.org/mit-license | ||
MIT License : https://blog.abelotech.com/mit-license/ |
Sorry, the diff of this file is not supported yet
103
30887