@flowscripter/template-bun-library

1.0.19 • Public • Published

template-bun-library

version build coverage docs license: MIT

Project template for a Bun library

Template Usage

Create a new Bun project using this as a template:

bun create @flowscripter/template-bun-library

Bun Module Usage

Add the module:

bun add @flowscripter/template-bun-library

Use the module:

import { world } from "@flowscripter/template-bun-library";

world();

Development

Install dependencies:

bun install

Test:

bun test

NOTE: The following tasks use Deno as it excels at these and Bun does not currently provide such functionality:

Format:

deno fmt

Lint:

deno lint index.ts src/ tests/

Generate HTML API Documentation:

deno doc --html --name=template-bun-library index.ts

Documentation

Overview

Sample mermaid diagram to test rendering in markdown:

classDiagram
    Foo <|-- Bar

API

Link to auto-generated API docs:

API Documentation

License

MIT © Flowscripter

Package Sidebar

Install

npm i @flowscripter/template-bun-library

Weekly Downloads

49

Version

1.0.19

License

MIT

Unpacked Size

6.96 kB

Total Files

12

Last publish

Collaborators

  • vectronic