PHP 8.2.30
Preview: README.md Size: 689 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/triple-beam/README.md

# triple-beam

Definitions of levels for logging purposes & shareable Symbol constants.

## Usage

``` js
const { LEVEL } = require('triple-beam');
const colors = require('colors/safe');

const info = {
  [LEVEL]: 'error',
  level: 'error',
  message: 'hey a logging message!'
};

// Colorize your log level!
info.level = colors.green(info.level);

// And still have an unmutated copy of your level!
console.log(info.level === 'error');  // false
console.log(info[LEVEL] === 'error'); // true
```

## Tests

Tests are written with `mocha`, `assume`, and `nyc`. They can be run with `npm`:

```
npm test
```

##### LICENSE: MIT
##### AUTHOR: [Charlie Robbins](https://github.com/indexzero)

Directory Contents

Dirs: 2 × Files: 5

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-21 00:53:30
Edit Download
config DIR
- drwxr-xr-x 2026-02-21 00:53:28
Edit Download
374 B lrw-r--r-- 2026-02-21 00:53:34
Edit Download
1.04 KB lrw-r--r-- 2026-02-21 00:53:24
Edit Download
1.04 KB lrw-r--r-- 2026-02-21 00:53:20
Edit Download
1.00 KB lrw-r--r-- 2026-02-21 00:53:34
Edit Download
689 B lrw-r--r-- 2026-02-21 00:53:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).