0.0.30 • Published 4 years ago
util.constants v0.0.30
util.constants
General programming constants and regex strings
Installation
This module uses yarn to manage dependencies and run scripts for development.
To install as an application dependency:
$ yarn add util.constants
To build the app and run all tests:
$ yarn run all
Overview
This module contains reusable string/number constants and regex patterns.
Constants
encoding
- the default string encoding value used for buffers (utf8)failure
- exit code for failure representing the number 127millisPerSecond
- the number of milliseconds in one second (1000)nl
- Unix newline character string '\n'sp
- zero width non breaking space character (unicode u+200b)success
- exit code for success representing the number 0
regex patterns
regexEmail
- matches 99.99% of all email addresses in use todayregexNumber
- matches a decimal number (e.g. 123, -123, -1.23)regexURL
- matches a Uniform Resource Locator (URL)regexUUID
- matches a universally unique id (UUID)
0.0.30
4 years ago
0.0.29
4 years ago
0.0.28
4 years ago
0.0.27
5 years ago
0.0.26
5 years ago
0.0.25
5 years ago
0.0.24
5 years ago
0.0.23
5 years ago
0.0.22
5 years ago
0.0.21
5 years ago
0.0.20
5 years ago
0.0.19
5 years ago
0.0.18
5 years ago
0.0.17
5 years ago
0.0.16
5 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.13
5 years ago
0.0.12
5 years ago
0.0.11
5 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago