@nodibyte/bd-utils 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.
- package/README.md +7 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,9 +14,9 @@ import { normalizeMobile, isMobile, toE164, operator, toAsciiDigits } from '@nod
|
|
|
14
14
|
normalizeMobile('+880 1712-345678') // '01712345678'
|
|
15
15
|
normalizeMobile('০১৭১২৩৪৫৬৭৮') // '01712345678'
|
|
16
16
|
normalizeMobile('01212345678') // null
|
|
17
|
-
isMobile('
|
|
18
|
-
toE164('
|
|
19
|
-
operator('
|
|
17
|
+
isMobile('01312345678') // true
|
|
18
|
+
toE164('01712345678') // '+8801712345678'
|
|
19
|
+
operator('01712345678') // 'Grameenphone'
|
|
20
20
|
toAsciiDigits('৳১,২৩৪') // '৳1,234'
|
|
21
21
|
```
|
|
22
22
|
|
|
@@ -40,3 +40,7 @@ Showing numbers in Bangla or with lakh/crore grouping needs no library:
|
|
|
40
40
|
## License
|
|
41
41
|
|
|
42
42
|
MIT © [Nodibyte](https://www.nodibyte.com). Used in Nodibyte's store, pharmacy and restaurant software.
|
|
43
|
+
|
|
44
|
+
## Releasing
|
|
45
|
+
|
|
46
|
+
Bump `version` in `package.json`, push a `v<version>` tag. GitHub Actions publishes to npm with provenance via [trusted publishing](https://docs.npmjs.com/trusted-publishers); no npm token is stored.
|