JSPM

numpy.js

0.5.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q34265F
  • License MIT

Port of various Numpy functions to JavaScript

Package Exports

  • numpy.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (numpy.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

numpy.js

AKA Yet-Another-Numpy-to-JS-Port.

Why

There are a number numpy-to-JS ports out there that cover a small subset of Numpy, especially on the easier stuff. This project also covers a small subset, but includes some harder to solve ports, and requires no dependencies. There is some overlap with other projects, but all ports in this repo were created due to incomplete or incorrect implementations.

Usage

const numpy = require('numpy.js');

Supported functions/classes and docs:

Testing

npm test

All (> 80) tests were designed and verified against official Python Numpy.

Contribution

Happy to take contributions. Better yet, if someone wants to own a full port of Numpy, feel free to take what you like.