~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/knotless-demo

A small sample project for trying the Knotless app: safe to comment on, report and block in.

0
0
main
22 lines · 454 B Raw History
# greeter

A tiny JavaScript library that says hello, kept as a sample project for trying
[Knotless](https://knotless.dev): open its pull and issue, comment, and look
around. Nothing here is used for anything else.

```js
import { greet } from "./src/greet.js";

greet("Ada"); // "Hello, Ada!"
```

## How a greeting is made

```mermaid
flowchart LR
  name[Name] --> trim[Trim spaces] --> greet["Hello, name!"]
```

## Running the tests

    node --test