util.constants
TypeScript icon, indicating that this package has built-in type declarations

0.0.30 • Public • Published

util.constants

General programming constants and regex strings

build analysis code style: prettier testing NPM

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 127
  • millisPerSecond - 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

Readme

Keywords

none

Package Sidebar

Install

npm i util.constants

Weekly Downloads

38

Version

0.0.30

License

MIT

Unpacked Size

6.52 kB

Total Files

6

Last publish

Collaborators

  • jmquigley