{"_id":"@cantabile/regex","_rev":"1-9823e64866cddf496824a8d4bdc2888e","name":"@cantabile/regex","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@cantabile/regex","version":"1.0.0","description":"My regular expression","main":"index.js","homepage":"https://github.com/ChampClarinet/regex","author":{"name":"Wallop Opasakhun","url":"https://github.com/champclarinet"},"license":"ISC","gitHead":"382de4e7940d4b52f8272ec652de7d43c4db2653","_id":"@cantabile/regex@1.0.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-fRRPDsx8t4cVLJlg0bSqEIUtiZVhY4T6KONA6tuzyDCg9oAnvPDpwC9QYz45kWxTSOo6WcEdm5Jt9GQVo0FKCA==","shasum":"d1be256eccce075c36a49a90f4101abd5bed922c","tarball":"https://registry.npmjs.org/@cantabile/regex/-/regex-1.0.0.tgz","fileCount":2,"unpackedSize":753,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXdxFEvYI+cdrtgbeyP4BUzNlNaPrpAwpyUMvEuvXXYQIgWbbDPUbRLamqV+tehMJm1UON3vG9Y9jQN1jmeYvUuIU="}]},"_npmUser":{"name":"cantabile","email":"champbassist159@gmail.com"},"directories":{},"maintainers":[{"name":"cantabile","email":"champbassist159@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regex_1.0.0_1707391848893_0.7734539168179166"},"_hasShrinkwrap":false},"1.0.1":{"name":"@cantabile/regex","version":"1.0.1","description":"My regular expression","main":"index.js","homepage":"https://github.com/ChampClarinet/regex","author":{"name":"Wallop Opasakhun","url":"https://github.com/champclarinet"},"license":"ISC","gitHead":"a2da7f4cfe9a7502a60c06b8d037a4b1aacaca06","_id":"@cantabile/regex@1.0.1","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-i5P8EOM1u/JvCWVzenBNL7qAD7eX8PFdsw2CBN4hV5xkx21G46BXOU76ipjTiLSukoK5EAEJJpV1aEKIA8wOvw==","shasum":"e885af021958bfff77d065ad356cec9e82fe85c6","tarball":"https://registry.npmjs.org/@cantabile/regex/-/regex-1.0.1.tgz","fileCount":3,"unpackedSize":2427,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFit9hLxSoXy264LJ+lr6OUu7i1aiUW4t2OQv9r6U95cAiEAjQu5BulIbALQUZXgI0kDVYny6UDz/v3MxdpjP9DaJvs="}]},"_npmUser":{"name":"cantabile","email":"champbassist159@gmail.com"},"directories":{},"maintainers":[{"name":"cantabile","email":"champbassist159@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regex_1.0.1_1707391987118_0.8049334828685528"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-08T11:30:48.812Z","1.0.0":"2024-02-08T11:30:49.044Z","modified":"2024-02-08T11:33:07.418Z","1.0.1":"2024-02-08T11:33:07.276Z"},"maintainers":[{"name":"cantabile","email":"champbassist159@gmail.com"}],"description":"My regular expression","homepage":"https://github.com/ChampClarinet/regex","author":{"name":"Wallop Opasakhun","url":"https://github.com/champclarinet"},"license":"ISC","readme":"Below is a generated `README.md` file for your package:\n\n---\n\n# Date Helper Package\n\nThis package provides utility functions and regular expressions related to handling dates, times, and other common data formats.\n\n## Regular Expressions\n\n### ISO String\n\n```javascript\nexport const ISO_STRING = /[0-9]{4}-((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|(0[469]|11)-(0[1-9]|[12][0-9]|30)|(02)-(0[1-9]|[12][0-9]))T(0[0-9]|1[0-9]|2[0-3]):(0[0-9]|[1-5][0-9]):(0[0-9]|[1-5][0-9])(\\.[0-9]{1,})?Z?\\+\\d{2}:\\d{2}/;\n```\n\nThis regular expression matches ISO 8601 formatted date and time strings, including timezone offsets.\n\n### Email\n\n```javascript\nexport const EMAIL = /[\\w-.]+@([\\w-]+\\.)+[\\w-]{2,4}$/;\n```\n\nThis regular expression matches email addresses.\n\n### Name\n\n```javascript\nexport const NAME = /.{1,}\\s.{1,}/;\n```\n\nThis regular expression matches names with at least one character before and after a space.\n\n### Telephone Number\n\n```javascript\nexport const TEL = /^[08|02][0-9]{8,}$/;\n```\n\nThis regular expression matches telephone numbers starting with either '08' or '02' followed by eight or more digits.\n\n### Time\n\n```javascript\nexport const TIME = /\\d{2}:\\d{2}/;\n```\n\nThis regular expression matches time strings in the format \"HH:mm\".\n\n### ISO Date\n\n```javascript\nexport const DATE_ISO = /^\\d{4}-\\d{2}-\\d{2}$/;\n```\n\nThis regular expression matches ISO 8601 formatted date strings.\n\n### Numeric\n\n```javascript\nexport const NUMERIC = /^\\d+(\\.\\d+)*$/;\n```\n\nThis regular expression matches numeric values, including integers and floating-point numbers.\n\n---\n\nFeel free to include additional documentation, usage examples, or installation instructions as needed for your package.","readmeFilename":"README.md"}