open-index/open-npm huggingface dataset:
npm package: @illusionalsagacity/rescript-dinero
Description: ReScript bindings to Dinero.js
Author: Robert Meyer
Latest version: 0.1.0

# rescript-dinero

A low-code ReScript bindings package for [dinero.js v2](https://v2.dinerojs.com/docs). (currently in Alpha)

Note that most types that expect a JavaScript integer accept a ReScript float. This is because the int in ReScript is only 32 bits wide, whereas JavaScript integers can be safely represented up to 53 bits. i.e. `(2 ** 53) - 1` in JavaScript, vs `(2 ** 32) - 1` in ReScript. To ensure you are using a `Number` without a floating point you can use `Int53.fromFloat` on a float value (that you do not care about the floating-point component) that is not known at compile-time.

## Usage

### Int53 (JavaScript Number)

`Int53` is the default value type for these dinero bindings, and should work out of the box with the default [number calculator](https://github.com/dinerojs/dinero.js/tree/main/packages/calculator-number). However, if you want to use the ReScript implementation of the calculator, you can use the following:

```rescript
let int53Dinero = Dinero.Make.createDinero({calculator: Calculator.int53Calculator})
```

### BigInt

Requires `@dinero.js/calculator-bigint` to be installed. Unless you know you will need the precision of `bigint`, you may not want to use this as it incurs a runtime cost.

```rescript
let bigintDinero = Dinero.Make.createDinero({calculator: Calculator.bigintCalculator})
```

### Int32

This is not recommended unless you know ahead of time the values will be constrained to 32bit integers.

```rescript
let int32Dinero = Dinero.Make.createDinero({calculator: Calculator.int32Calculator})
```
npm package: @illusionalsagacity/rescript-react-query
Description: Rescript bindings for React Query
Latest version: 0.0.0-alpha.0

# @illusionalsagacity/rescript-react-query

Bindings for `@tanstack/react-query@^5.0.0`. Requires Rescript v11.

## Plan

- Create a binding for `setQueryDefaults`
- Turn `SuspenseQueryResult` into a tagged variant
npm package: @illusionfield/mtest
Description: Prebuilt binary distribution of the Go-based Meteor TinyTest runner.
Author: Jozsef Hoffmann
Latest version: 0.6.0

# @illusionfield/mtest

Prebuilt binary wrapper for the Go-based `mtest` CLI so Node.js-centric workflows can install it via `npm`.

## Install

```bash
npm install --save-dev @illusionfield/mtest
```

or globally:

```bash
npm install --global @illusionfield/mtest
```

The postinstall script queries the latest GitHub release for `illusionfield/mtest`, inspects the published assets, and downloads the one that best matches your OS/arch (e.g. `mtest-{tag}-{GOOS}-{GOARCH}.zip`). To pin a specific release tag, run `npm install --save-dev @illusionfield/mtest --mtest-version=v1.2.3` or export `MTEST_DIST_VERSION=v1.2.3` before installation.

Additional controls:

- `MTEST_DIST_BASE_URL` — override the artefact host (supports `{tag}` / `{version}` placeholders).
- `MTEST_DIST_ASSET_PREFIX` — customise the asset basename before extensions.
- `MTEST_DIST_ASSET` — fetch a single explicit filename.
- `MTEST_DIST_REPO` — target a different GitHub repository for releases.
- `MTEST_DIST_GITHUB_TOKEN` — supply a token if GitHub API rate-limits are an issue.
- `MTEST_SKIP_BINARY_INSTALL` — skip downloads during local development or dry runs.

## Usage

```bash
npx mtest --package <package-path-or-name> --once
```

Every other CLI argument is forwarded unchanged to the underlying Go executable.

## License

MIT © The mtest Contributors.