open-index/open-npm huggingface dataset:
npm package: @just-buidl-it/legiscan
Description: TypeScript SDK for the Legiscan API
Author: coreyar
Latest version: 0.4.0

# LegiScan TypeScript SDK

A TypeScript SDK for interacting with the LegiScan API. The goal this sdk is to provide a normalized typesafe interface for interacting with the LegiScan api. Where possible effort has been made to standardize the returned data see the (irregularities section)[#Irregularities] for more details.

This project was started after finding [prior art](https://github.com/Chalkbeat/legiscan-client) with a GNU GPL license and is based on my [congress-dot-gov](https://github.com/just-buidl-it/congress-dot-gov) client.

[LegiScan API Documentation](https://legiscan.com/gaits/documentation/legiscan)

## Installation

```bash
yarn install @just-buidl-it/legiscan
```

### Rate Limiting

The LegiScan API limits has a rate limit of 30,000 requests per month which resets on the first.

### Irregularities

Lists are returned as objects with the indexes as keys. These "list" objects can also contain other keys. The known "string" keys are pulled off and the object is flattened to an array. The responses are not otherwise modified.

Zod schemas are made available to cast keys from snake case to camel case and to cast values to easier to work with types.

- 0,1 values are cast to booleans
npm package: @just-every/mech
Description: MECH - Advanced LLM orchestration with meta-cognition
Author: just-every
Latest version: 0.2.3
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@just-every/mind

Mind adds meta-cognition, adaptive model rotation and cost tracking to your @just-every/ensemble agents in a single call.

⸻

🚀 Quick install

npm install @just-every/mind

⸻

🔑 One-minute setup

Set your LLM keys (any you have will do):

export OPENAI_API_KEY="…"
export ANTHROPIC_API_KEY="…"
export GOOGLE_API_KEY="…"


⸻

⚡ Hello Mind

import { mindTask } from "@just-every/mind";
import { Agent } from "@just-every/ensemble";

const agent = new Agent({ modelClass: "reasoning" });

const stream = mindTask(agent,
  "Review this function: function add(a, b) { return a + b; }"
);

Mind picks the best model, runs until the task is done, and logs every decision.

⸻

🎯 Why Mind?
	•	Auto model rotation – performance-based, cost-aware.
	•	Meta-cognition – agents reflect & self-correct.
	•	Tool wiring – any Ensemble tool, zero boilerplate.
	•	Cost tracker – live totals across providers.
	•	Tiny API – one function, sensible defaults.

⸻

🧠 Model classes

Class	Typical use-cases
reasoning	Logic, multi-step problems
code	Code review & generation
standard	Writing, Q&A, summaries

Set modelClass and let Mind handle the rest.

⸻

📚 Docs & examples
	•	Examples – ./examples/*
	•	API Reference – /docs/api.md

⸻

📄 License

MIT – hack away.