Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hashrock/hashrock-fresh-plugins


https://github.com/hashrock/hashrock-fresh-plugins

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Basic Auth Plugin

add this plugin like:

```ts
// main.ts
import basicAuthPlugin from "https://deno.land/x/hashrock_fresh_plugins/basic.ts";

await start(manifest, {
plugins: [
basicAuthPlugin("/greet/"),
],
});
```

and create `.env`

```
BASIC_AUTH_USER=user
BASIC_AUTH_PASSWORD=password
```