Skip to content

Latest commit

 

History

History
executable file
·
51 lines (35 loc) · 955 Bytes

README.md

File metadata and controls

executable file
·
51 lines (35 loc) · 955 Bytes

Transport Boilerplate for LogLayer

This is a template for creating transports for use with LogLayer.

See the Creating Transports documentation for more information.

Installation

npm install

Run Tests

npm run test

Run Live Tests

npm run livetest

Lint + Fix

Uses Biome for linting and formatting.

npm run lint

Build

Uses tsup to build commonjs and esm versions.

npm run build

Project Structure

.
├── src/
│   ├── __tests__/                # Test files
│   ├── index.ts                  # Entrypoint
│   ├── LogBasedTransport.ts      # Transport implementation using a log library
│   └── NotLogBasedTransport.ts   # Transport implementation not using a log library