This repository was archived by the owner on Apr 12, 2025. It is now read-only.
Releases: imhugofonseca/portuguese-utils
Releases · imhugofonseca/portuguese-utils
v0.2.0
- Added new validator
isValidNISSthat validates a Portuguese Social Security Identifier Number (NISS) - Added new validator
isValidNNUthat Validates a Portuguese Heath System, Nacional Patient Number (NNU) - Some cleanups on the overall project and dependencies upgrades
🎉 thanks to @gabtec
v0.1.7
- formatCurrency now takes a number or a string as argument
- isValidHoliday refactored
🎉
v0.1.6
Fix formatDateExtended exports broking module
v0.1.5
New stuff
- formatDate - Formats simple dates
- formatDateTime - Formats date times
- formatDateExtended - Extended formator
- isValidHoliday - Verify if it's a valid holiday dates
- holidays - Holidays helper
Also docs have been updated and are now more readable than ever
🎉
v0.1.4
New helpers containing month labels and week day labels in portuguese 🎉
Check docs for more info.
v0.1.2
Improvements to currency validator and fix cdn to latest
v0.1.1
(feat): Added new validator isValidCPECUIto validate CPEs and CUIs
(feat): Added New formaterformatToCurrency that transforms numbers into currency correct strings
that's all 🎉
v0.1.0
- (feat) formatDecimalNumber
- (feat) Browser support 2 last versions
v0.0.10
UMD Module to be used in browser
v0.0.9
Fixes build copying tests to package