npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@metalagman/layajev-linux-x64

v0.2.7

Published

Native linux/amd64 binary for layajev, a local Jev-compatible Laya API

Readme

layajev

Run a Jev-compatible decision API on your own machine. layajev serves a verified Laya model through a small HTTP API: send a state and questions, and receive typed answers. Inference stays local and in-process—no hosted inference service or Python server is involved.

layajev is a compatibility subset, not the Jev model or a promise of identical decisions. See the supported request forms and errors.

  • Easy to call: GET /v1/models and POST /v1/systemone return structured answers for supported choice, score, and noul questions.
  • Local by design: the server runs inference in its own process; serving does not contact a model host.
  • Explicit model lifecycle: fetch and conversion are separate, operator-invoked steps, and serving opens a verified bundle.

Start with npx

On a supported linux/amd64 host, check the packaged native runtime, then serve an existing verified bundle:

npx -y @metalagman/layajev@latest doctor
npx -y @metalagman/layajev@latest serve --bundle /absolute/path/to/verified-bundle

The API listens on 127.0.0.1:8080 by default. The npm package includes the native runtime, not model weights. doctor checks the runtime but does not prepare a model. If you do not have a bundle yet, follow the from-zero model setup; it fetches the pinned official source, verifies it, and converts it explicitly.

Ask the running API a question:

curl -sS http://127.0.0.1:8080/v1/models

curl -sS http://127.0.0.1:8080/v1/systemone \
  -H 'Content-Type: application/json' \
  -d '{"model":"laya-multilingual","state":"I was charged twice.","questions":{"billing":{"type":"noul","instructions":"Is this about billing?"}}}'

Use the model name returned by /v1/models if it differs from laya-multilingual. Choice, score, and noul questions are supported within the documented API subset.

Run it your way

serve never downloads or converts a model. The server has no built-in TLS or authentication: keep the default loopback listener, or place it behind an authenticating reverse proxy before allowing remote traffic. Only the pinned linux/amd64 native candidate is qualified; other platforms are not advertised as supported.

layajev is MIT-licensed. Model and SDK licenses are separate and must be reviewed before redistribution. The reusable inference library lives in laya-go.