Skip to content

mingmingtasd/webnn-polyfill

 
 

Repository files navigation

build and test deploy

WebNN Polyfill

A JavaScript implementation of the Web Neural Network API.

Build and Test

Setup

> npm install

Build

Development build

> npm run build

Production build

> npm run build-production

Test

Run tests in node.js.

> npm test

Run tests in web browser.

> npm start

Open the web browser and navigate to http://localhost:8080/test

Run only CTS tests in node.js.

> npm run cts

Run only CTS tests in web browser.

> npm start

Open the web browser and navigate to http://localhost:8080/test/cts.html

Other scripts

Build docs

> npm run build-docs

Lint

> npm run lint

Format

> npm run format

Start dev server

> npm run dev

Watch files

> npm run watch

License

This project is following Apache License Version 2.0.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.3%
  • Python 15.8%
  • TypeScript 12.0%
  • Other 0.9%