0.0.30 • Published 6 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
6 years ago
0.0.29
6 years ago
0.0.28
6 years ago
0.0.27
6 years ago
0.0.26
6 years ago
0.0.25
6 years ago
0.0.24
6 years ago
0.0.23
6 years ago
0.0.22
6 years ago
0.0.21
6 years ago
0.0.20
6 years ago
0.0.19
6 years ago
0.0.18
6 years ago
0.0.17
6 years ago
0.0.16
6 years ago
0.0.15
6 years ago
0.0.14
6 years ago
0.0.13
6 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
8 years ago
0.0.7
8 years ago
0.0.6
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago