brain.js

v2.0.0-beta.24
Neural networks in JavaScript
ai artificial-intelligence brain brainjs brain.js feed forward neural network classifier neural and 14 more...

build

run-p build:**

build:browser

rollup -c rollup.config.browser.js

build:node

rollup -c rollup.config.js

build:ts

tsc --declaration --emitDeclarationOnly --declarationMap

coverage

jest --coverage --coverage-provider v8 && codecov

dist

npm run build

lint

run-p lint:**

lint:eslint

eslint --fix --ext .js,.ts src

lint:typecheck

tsc --noEmit

test

jest

watch

run-p watch:**

watch:node

rollup -c rollup.config.js -w

watch:test

jest --watch

clean

rimraf ./dist

prepare

npm run clean && npm run build
npm i brain.js

Metadata

  • MIT
  • >=8.6.x
  • Heather Arthur
  • released 7/9/2024

Downloads