I'm trying to use npm's `buffer` module, trying to...
# javascript
I'm trying to use npm's
module, trying to import it like this:
Copy code
external class Buffer : Uint8Array {
    companion object {
        //static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
        fun from(arrayBuffer: ArrayBuffer, byteOffset: Int = definedExternally, length: Int = definedExternally): Buffer
but when I try
I get the error
$module$buffer_.from is not a function