Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

numpy-parser

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Issues
File Explorer

Advanced tools

numpy-parser

A JS parser for binary .npy files.

    1.2.3latest
    GitHub

Version published
Maintainers
1
Weekly downloads
892
increased by32.54%

Weekly downloads

Readme

Source

numpy-parser

A JS parser for (binary) .npy files, supporting all TypedArray subclasses:

  • float32 & float64
  • int8, int16, int32
  • uint8, uint16, uint32

Acknowledgements

This implementation was inspired by this gist by nvictus.

Future Work

.npy files can encode floats as 16 bit long, too. While JS runtimes may not support this as a native data type, we could still consider supporting it and parsing into 32 bit floats to at least get the bandwidth savings in transit.

Keywords

FAQs

Last updated on 10 Jan 2019

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc