js-generate-password 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +2 -5
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -55,4 +55,4 @@ declare namespace GeneratePassword {}
55
55
 
56
56
  declare function GeneratePassword(options?: GenerateOptions): string;
57
57
 
58
- export = GeneratePassword;
58
+ export default GeneratePassword;
package/index.js CHANGED
@@ -8,12 +8,9 @@ function GeneratePassword(options) {
8
8
  errorCheck(options);
9
9
 
10
10
  const pswd = passwords(options);
11
- console.log("password: ", pswd);
12
11
 
13
12
  return pswd;
14
13
  }
15
14
 
16
- GeneratePassword({ exclude: "abc567XYZ" });
17
-
18
- export default GeneratePassword;
19
- // module.exports = GeneratePassword;
15
+ exports.default = GeneratePassword;
16
+ module.exports = GeneratePassword;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-generate-password",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "private": false,
5
5
  "description": "Password Generator for using in javascirpt/typscript based projects.",
6
6
  "main": "index.js",