open-index/open-npm huggingface dataset:
npm package: @jdeurt/math.ts
Description: Utility types for numbers.
Author: Juan de Urtubey
Latest version: 2.0.0

# @jdeurt/math.ts

Utility types for numbers.

## Installation

```bash
npm install @jdeurt/math.ts
```

## API

Number types passed to any of the following utility types are casted to integers. For example, `Add<5, 3.5>` will return `8`.

### int A, int B => Add A B -> int

Adds integers A and B and returns the result.

```ts
type Result = Add<5, 3>; // 8
```

### int A, int B => Sub A B -> int

Subtracts integer B from A and returns the result.

```ts
type Result = Sub<5, 3>; // 2
```

### int A, int B => Mul A B -> int

Multiplies integers A and B and returns the result.

```ts
type Result = Mul<5, 3>; // 15
```

### int A, int B => Div A B -> int

Divides integer A by integer B and returns the result.

```ts
type Result = Div<10, 2>; // 5
```

### int A, int B => Mod A B -> int

Finds the modulus of integer A by B and returns the result.

```ts
type Result = Mod<10, 3>; // 1
```

### int A, int B => Pow A B -> int

Raises integer A to the power of B and returns the result.

```ts
type Result = Pow<2, 3>; // 8
```

### int A, int B => Eq A B -> int

Checks if integer A is equal to B and returns 1 if true, otherwise 0.

```ts
type Result = Eq<5, 5>; // 1
```

### int A, int B => Gt A B -> int

Checks if integer A is greater than B and returns 1 if true, otherwise 0.

```ts
type Result = Gt<5, 3>; // 1
```

### int A, int B => Lt A B -> int

Checks if integer A is less than B and returns 1 if true, otherwise 0.

```ts
type Result = Lt<5, 7>; // 1
```

### int A, int B => Gte A B -> int

Checks if integer A is greater than or equal to B and returns 1 if true, otherwise 0.

```ts
type Result = Gte<5, 5>; // 1
```

### int A, int B => Lte A B -> int

Checks if integer A is less than or equal to B and returns 1 if true, otherwise 0.

```ts
type Result = Lte<5, 7>; // 1
```

## License

MIT © [Juan de Urtubey](https://sharky.foo)
npm package: @jdeurt/maybe
Description: An implementation of the Maybe monad in Typescript.
Author: Juan de Urtubey
Latest version: 0.1.1

# @jdeurt/maybe

An implementation of the Maybe monad in Typescript.

## Installation

To install, run:

```bash
yarn add @jdeurt/maybe
```

## API Documentation

### Class: `Maybe<A>`

`Maybe<A>` is an abstract class that represents a type that may either hold a value of type `A` (represented as `Just<A>`) or not (represented as `Nothing<A>`).

#### Static Method: `of`

Creates a new `Maybe<A>` instance.

#### Static Method: `nothing`

Creates a new `Nothing<A>` instance.

#### Static Method: `just`

Creates a new `Just<A>` instance.

#### Method: `isNothing`

Returns `true` if the `Maybe<A>` instance is `Nothing<A>`, `false` otherwise.

#### Method: `isJust`

Returns `true` if the `Maybe<A>` instance is `Just<A>`, `false` otherwise.

#### Method: `map`

Transforms the value in the `Just<A>` using the function, if the `Maybe<A>` is `Just<A>`. If the `Maybe<A>` is `Nothing<A>`, does nothing.

#### Method: `flatMap`

Similar to `map`, but the provided function should return a `Maybe<B>` instance.

#### Method: `apply`

Applies the function contained in the `Maybe<A>` to another `Maybe<A>`, if both `Maybe<A>` instances are `Just<A>`. If either `Maybe<A>` is `Nothing<A>`, does nothing.

#### Method: `equals`

Checks if two `Maybe<A>` instances are equal.

#### Method: `getOrElse`

If the `Maybe<A>` instance is `Just<A>`, returns its value, otherwise returns the default value.

#### Method: `orElse`

If the `Maybe<A>` instance is `Just<A>`, returns it, otherwise returns `Just<A>` of the default value.

#### Method: `get`

Returns the value of the `Maybe<A>` instance if it's `Just<A>`, otherwise throws an error.

#### Method: `toString`

Returns the string representation of the `Maybe<A>` instance.

### Class: `Nothing<A>`

`Nothing<A>` is a class that represents the absence of a value. It extends `Maybe<A>`.

#### Static Method: `of`

Creates a new `Nothing<A>` instance.

### Class: `Just<A>`

`Just<A>` is a class that represents the presence of a value. It extends `Maybe<A>`.

#### Static Method: `of`

Creates a new `Just<A>` instance.
npm package: @jdev08/zencss
Description: ZenCSS Classless CSS Framework
Author: JaydenDev
Latest version: 0.4.1

# The ZenUI CSS Framework
The last framework you'll need to begin writing modern websites
# To use...
```html
<link rel="stylesheet" href="zen.css">
```
# Getting Started
Simply use the CSS classes defined in the zen.css file
# Javascript Free!
There is absolutely NO Javascript in this framework, and it's only one line to use it.
# Readable Code
Easy to modify
# Colors
Multiple color options will be available soon!
npm package: @jdevalk/emdash-plugin-lettermint
Description: Lettermint email provider plugin for EmDash CMS
Author: Joost de Valk
Latest version: 0.3.0

# emdash-plugin-lettermint

[![CI](https://github.com/jdevalk/emdash-plugin-lettermint/actions/workflows/ci.yml/badge.svg)](https://github.com/jdevalk/emdash-plugin-lettermint/actions/workflows/ci.yml)
[![Lint](https://github.com/jdevalk/emdash-plugin-lettermint/actions/workflows/lint.yml/badge.svg)](https://github.com/jdevalk/emdash-plugin-lettermint/actions/workflows/lint.yml)
[![npm](https://img.shields.io/npm/v/@jdevalk/emdash-plugin-lettermint)](https://www.npmjs.com/package/@jdevalk/emdash-plugin-lettermint)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

[Lettermint](https://lettermint.co) email provider plugin for [EmDash CMS](https://emdashcms.com).

Sends all EmDash emails (password resets, notifications, etc.) through Lettermint's EU-based email delivery service.

## Installation

```bash
npm install @jdevalk/emdash-plugin-lettermint
```

Add it to your Astro config:

```typescript
import { defineConfig } from "astro/config";
import emdash from "emdash";
import lettermintPlugin from "@jdevalk/emdash-plugin-lettermint";

export default defineConfig({
  integrations: [
    emdash({
      plugins: [lettermintPlugin()],
    }),
  ],
});
```

## Configuration

In the EmDash admin panel, go to the Lettermint plugin settings and configure:

- **API token** — your Lettermint API token from [dash.lettermint.co](https://dash.lettermint.co)
- **From address** — your default sender address (e.g. `You <you@yourdomain.com>`)

## Requirements

- A [Lettermint](https://lettermint.co) account with a verified sending domain
- An API token from your Lettermint dashboard

## How it works

This plugin registers as an EmDash email provider using the `email:deliver` hook. When any part of EmDash (or another plugin) sends an email, Lettermint handles the delivery.

The plugin uses only the EmDash plugin API — no Cloudflare-specific code. It works on any platform EmDash supports.

## License

[MIT](LICENSE)