An open API service indexing awesome lists of open source software.

https://github.com/loglayer/loglayer-plugin-boilerplate

A template for creating plugins for LogLayer
https://github.com/loglayer/loglayer-plugin-boilerplate

boilerplate logging logs plugin template typescript

Last synced: 7 months ago
JSON representation

A template for creating plugins for LogLayer

Awesome Lists containing this project

README

          

# Plugin Boilerplate for LogLayer

This is a template for creating plugins for use with [LogLayer](https://loglayer.dev).

See the [Creating Plugins](https://loglayer.dev/plugins/creating-plugins.html) documentation
for more information.

## Installation

```bash
npm install
```

## Run Tests

```bash
npm run test
```

## Lint + Fix

Uses [Biome](https://biomejs.dev/) for linting and formatting.

```bash
npm run lint
```

## Build

Uses [tsup](https://github.com/egoist/tsup) to build commonjs and esm versions.

```bash
npm run build
```

## Project Structure

```plaintext
.
├── src/
│ ├── __tests__/ # Test files
│ ├── index.ts # Plugin code
```