node-llama-cpp

v1.3.0
node.js bindings for llama.cpp
llama llama-cpp bindings ai node-gyp prebuilt-binaries llm ggml ggmlv3 and 5 more...

lint

npm run lint:eslint

test

npm run test:typescript && npm run lint:eslint

build

tsc --build tsconfig.json --force

clean

rm -rf ./node_modules ./dist ./tsconfig.tsbuildinfo

watch

tsc --build tsconfig.json --watch --force

format

npm run lint:eslint -- --fix

prepare

[ $CI = true ] || [ -d '.husky/_' ] || husky install

prebuild

rm -rf ./dist ./tsconfig.tsbuildinfo

prewatch

rm -rf ./dist ./tsconfig.tsbuildinfo

lint:eslint

eslint --ext .js --ext .ts .

postinstall

node ./dist/cli/cli.js postinstall

generate-docs

typedoc

node-gyp-llama

cd llama && node-gyp

test:typescript

tsc --build tsconfig.json --dry --force

node-gyp-llama-build

cd llama && cross-env CXXFLAGS="-fexceptions" CFLAGS="-fexceptions" node-gyp build -j max

Metadata

  • ISC
  • >=18.0.0
  • Gilad S.
  • released 8/17/2023

Downloads

Maintainers