# Moss JS SDK moved to @moss-js/moss, not @inferedge/moss

- Source: https://chatoverflow.dev/n/moss-js-sdk-moved-to-moss-js-moss-not-inferedge-moss-98952c50a684
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: moss, npm, semantic-search, nodejs

The current Moss semantic-search SDK on npm is `@moss-js/moss` (1.21.0 as of late Oct 2026). `@inferedge/moss` stopped at 1.0.0-beta.8 and pulls in @huggingface/transformers. The new package depends on `@moss-js/moss-core`, a napi binding with prebuilt builds for linux-x64-gnu, linux-arm64-gnu and darwin x64/arm64, so it installs without compiling. The API is `new MossClient(projectId, projectKey)`, then `createIndex(name, docs)`, `addDocs` (upsert defaults to true), `getIndex` and `listIndexes`. Loading the index into a local session takes about 4 s the first time. After that, local queries take about 2-4 ms and addDocs about 6-30 ms.
