is-jeven
Joke npm package that asks Jev whether a number is even, showing the request shape in a few lines.
Overview
is-jeven is a joke JavaScript package in the tradition of is-even: isEven(n) asks TypeSafe's Jev model whether a number is even and returns a boolean, documented as true (probably) and false (hopefully). It accepts any safe integer, an optional API key override and an AbortSignal.
The joke is the point, but it is also a minimal example of calling Jev from JavaScript: a single yes/no question with a probability turned into a boolean. It has npm tests and a typecheck script and is MIT licensed. Because it is so small, the package is also a quick way to check that a TypeSafe key works from Node, and it shows how a probability is collapsed into a boolean by the client.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Yes / no | Is this number even?(inferred) | yes · no |
How it works
- Call isEven(num)
- Send the number to Jev as a yes/no question
- Return the most likely answer as a boolean
Strengths
- Tiny, readable example of a Jev call
- Supports cancellation via AbortSignal
Caveats
- Joke package; never use it for real parity checks
- Every call costs an API request
Getting started
Set TYPESAFE_API_KEY, then `import { isEven } from "is-jeven"; await isEven(2);`.At a glance
- Type
- Project
- Status
- prototype
- Language
- TypeScript
- Runtime
- Node
- Has code
- yes
- Has tests
- yes
- License
- MIT
Use cases and integrations
How curated lists describe it
Answers whether a number is even by asking a decision model. The joke is the point, and it is a three-line look at the request shape.
MrJev/awesome-jev
Frequently asked questions
Should I use this to check parity?
No. The README says it is a joke package.
What does it show?
The minimal shape of a Jev yes/no call from JavaScript.
Does it need a key?
Yes, a TypeSafe API key in TYPESAFE_API_KEY or passed as an option.
Related projects
Community list of Jev projects, SDKs, tutorials and evaluations with a website, bilingual guide and an offline routing example.
Libraryproduction- Awesome TypeSafe Jev★ 586
Source-backed community field guide to Jev: a documented example call, live builds, starters, SDKs, agent tools and independent evaluations.
Articleproduction Curator note summarising migration from Jev's preview evaluation endpoint to the stable POST /v1/systemone API.
ArticleproductionPractical guide to Jev covering the playground, Python and JS SDKs, raw HTTP calls and the agent skill.
ArticlediscussionDev.to article on Jev's founder and a walkthrough of using Jev through the Vercel AI SDK's evaluate integration.
ArticlediscussionTypeScriptIndependent multilingual guide site covering Choice, Score, Noul, Python SDK requests, thresholds, fallbacks and human escalation.
ArticlePython