sl-nic-validator-and-information-extractor 1.0.3 → 1.0.4

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 (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -23,7 +23,7 @@ yarn add sl-nic-validator-and-information-extractor
23
23
  The isValidSlNic function validates the format and structure of a given NIC number.
24
24
 
25
25
  ```javascript
26
- import { isValidSlNic } from "sl-nic-validator";
26
+ import { isValidSlNic } from "sl-nic-validator-and-information-extractor";
27
27
 
28
28
  const nic = "971902662V"; // Example NIC
29
29
  const isValid = isValidSlNic(nic);
@@ -40,7 +40,7 @@ if (isValid) {
40
40
  The extractDetailsFromSlNic function takes a valid NIC number and returns an object containing the extracted information:
41
41
 
42
42
  ```javascript
43
- import { extractDetailsFromSlNic } from "sl-nic-validator";
43
+ import { extractDetailsFromSlNic } from "sl-nic-validator-and-information-extractor";
44
44
 
45
45
  const nic = "971902662V"; // Example NIC
46
46
  const nicDetails = extractDetailsFromSlNic(nic);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sl-nic-validator-and-information-extractor",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A function to validate new and old NIC of Sri Lanka and a function to extract information from the NIC",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",