I'm working on it: https://github.com/Brooooooklyn/libsql-js/pull/1 The changes should also improve performance by reducing data copying operations.