open-index/open-npm huggingface dataset:
npm package: @promenade/expect
Description: 🧪🌈 A speedy micro-assert library for testing!
Author: TypeMod Labs
Latest version: 1.0.0

# @promenade/expect ✨🧪✨

`@promenade/expect` is a package for simple assertions!

- 📈 Simple 1-function API!
- ⚡ No-friction greased-lightning speed!
- 💎 Fancy colors!
- 💡 100% Typescript!

## Example

```typescript
import expect from "@promenade/expect"

expect("test").toBe("test")

expect("test").not().toBe("test") // Errors!
```
npm package: @promenade/serve
Description: 🧪🌈 A speedy micro-server library for testing!
Author: TypeMod Labs
Latest version: 1.0.0

# @promenade/serve ✨🧪✨

`@promenade/serve` is a toolkit for making basic HTTP servers for testing.

- 📈 Simple 1-function API!
- ⚡ No-friction greased-lightning speed!
- 💎 Zero dependencies!
- 💡 100% Typescript!

## Example

```typescript
import serve from "@promenade/serve"

const { url, test, close } = serve({
	'/': {
		handler: () => 'hello!',
		tests: { once: true }
	},
}, { port: 8080 })

console.log(url) // http://localhost:8080

// do something that pings the server at the "/" route once.

// throws no error (unless it failed to ping)
test()

// close the server
close()
```