API reference
Each format family is one package for Node.js and one package for Python. The two packages of a family have the same API.
Input
Each function takes the bytes of a file: a Uint8Array in Node.js, for example
a Buffer, and bytes in Python. The functions read only the leading bytes, so
you can give them the start of a file and not the whole file. The page of each
family tells how many bytes it needs.
Names in each language
The Node.js API uses camel case, and the Python API uses snake case. A null
result in Node.js is None in Python.