🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@exodus/qwen3-model-js

Package Overview
Dependencies
Maintainers
117
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/qwen3-model-js

Pinned Qwen3 1.7B Q8_0 GGUF: artifact metadata, SHA256 verification, and streaming downloader. Declares node-llama-cpp as a peer so consumers pick a compatible runtime.

latest
npmnpm
Version
0.1.0
Version published
Maintainers
117
Created
Source

@exodus/qwen3-model-js

Pinned Qwen3 1.7B Q8_0 GGUF: artifact metadata, SHA256 verification, and streaming downloader.

Example

import { ensurePinnedModel, getPinnedModel } from '@exodus/qwen3-model-js'

const { filename } = getPinnedModel()
await ensurePinnedModel(`./models/${filename}`, {
  onProgress: ({ fraction }) => console.log(`${(fraction * 100).toFixed(1)}%`),
})

Exports

  • getPinnedModel() — returns the frozen artifact record (repo, filename, sha256, sizeBytes, downloadUrl, license).
  • verifyPinnedModelFile(path) — streams the file and throws on size or SHA256 mismatch.
  • ensurePinnedModel(path, opts?) — verifies if present, otherwise downloads to a temp file, verifies, and atomically renames into place. Returns { downloaded }. Opts: onProgress, signal, timeoutMs (default 30 min, 0 disables).
  • ModelMissingError — thrown when the file isn't on disk.
  • ModelHashMismatchError — thrown on size or SHA256 mismatch; carries path, expected, actual.

FAQs

Package last updated on 28 May 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