brendanashworth / generate-password

NodeJS library for generating cryptographically-secure passwords.
MIT License
354 stars 67 forks source link

Accept to generate when called without the options parameter. #14

Closed kaworu closed 8 years ago

kaworu commented 8 years ago

When options is not provided, defaults are used. This allow to call generate() and generateMultiple() without having to provide an empty options object when defaults are wanted.

README and tests updated accordingly. package.json's version left as-is.

codecov-io commented 8 years ago

Current coverage is 100% (diff: 100%)

Merging #14 into master will not change coverage

@@           master   #14   diff @@
===================================
  Files           1     1          
  Lines          43    44     +1   
  Methods         0     0          
  Messages        0     0          
  Branches        0     0          
===================================
+ Hits           43    44     +1   
  Misses          0     0          
  Partials        0     0          

Powered by Codecov. Last update 07c662c...42e7f75