maskdata 1.1.7 → 1.1.8
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.
- package/README.md +10 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ maskdata is a Node.js module to mask various kinds of data. With the help of mas
|
|
|
4
4
|
# Table of Contents
|
|
5
5
|
- [Features](#features)
|
|
6
6
|
- [Install maskdata](#install-maskdata)
|
|
7
|
-
- [Version 1.1.
|
|
7
|
+
- [Version 1.1.8 Features](#release-features)
|
|
8
8
|
- [How to Use](#how-to-use)
|
|
9
9
|
- [Mask Phone Number](#mask-phone-number)
|
|
10
10
|
- [Mask Phone Number with the default configuration](#mask-phone-number-with-the-default-configuration)
|
|
@@ -19,6 +19,7 @@ maskdata is a Node.js module to mask various kinds of data. With the help of mas
|
|
|
19
19
|
- [Mask words/characters in a string](#mask-the-characters-or-words-in-the-string)
|
|
20
20
|
- [Mask Card number](#mask-card-number)
|
|
21
21
|
- [Report Bugs](#report-bugs)
|
|
22
|
+
- [How to run test cases](#run-tests)
|
|
22
23
|
- [Give a Star](#give-a-star)
|
|
23
24
|
- [LICENSE - "MIT"](#license---mit)
|
|
24
25
|
|
|
@@ -36,6 +37,10 @@ maskdata is a Node.js module to mask various kinds of data. With the help of mas
|
|
|
36
37
|
> npm i maskdata
|
|
37
38
|
|
|
38
39
|
# Release Features
|
|
40
|
+
### Version: 1.1.8
|
|
41
|
+
- Mocha test cases for most of the usecases.
|
|
42
|
+
https://github.com/Sumukha1496/maskdata/pull/23
|
|
43
|
+
- Handling null/Empty inputs --> Mask function will return the input itself.
|
|
39
44
|
### Version: 1.1.6
|
|
40
45
|
- Feature to mask all the characters in the String along with mask/not mask spaces in the string.
|
|
41
46
|
- [Mask all characters in the String](#mask-all-characters-in-the-string)
|
|
@@ -542,6 +547,10 @@ const cardAfterMasking = MaskData.maskCard(cardNumber, maskCardOptions);
|
|
|
542
547
|
# Report Bugs
|
|
543
548
|
Please raise an issue in github: https://github.com/Sumukha1496/maskdata/issues
|
|
544
549
|
|
|
550
|
+
# Run Tests
|
|
551
|
+
Below command will run mocha tests and also the test cases present in test.js file. Install all the dependencies using npm i before runnning the below command.
|
|
552
|
+
> npm run test
|
|
553
|
+
|
|
545
554
|
# Give a Star
|
|
546
555
|
You can give a start at: https://github.com/Sumukha1496/maskdata/stargazers
|
|
547
556
|
|