Sign In

@nanomind/engine

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nanomind/engine

Core inference backend — llamafile wrapper for local LLM inference

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
171
-7.07%
Maintainers
1
Weekly downloads
 
Created
Source

@nanomind/engine

Core inference backend for NanoMind — wraps llamafile for local LLM inference.

Install

npm install @nanomind/engine

Usage

import { NanoMindEngine } from '@nanomind/engine';

const engine = new NanoMindEngine();
const result = await engine.infer('Classify: scan this project');
console.log(result.text); // "SCAN"
console.log(result.latencyMs); // ~200ms

Model

Uses SmolLM2-135M (Q4_K_M quantization, ~80MB). Downloaded on first use via nanomind setup.

License

MIT

Keywords

nanomind

FAQs

Package last updated on 25 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts