Søren Sjørup
Søren Sjørup
> I think you can call any function by fully qualifying its name (in Clojure). We might also check clojure.core by default, I guess Ah thanks didn't know. If we...
> Thanks for reporting that @zoren. What additional features do you use? Like `keep-history?`, `attribute-refs?`and what kind of backend? I don't use any additional features. I'm not using a backend...
Just using `document` types correctly, even though it's not available in non-browser environments.
The addition of `sqlite3InitModuleNode` to `index.mjs` in itself would be helpful for creating transient databases in node.
If I use this branch I can use `sqlite3InitModuleNode` fine from node, but I cannot use the package from vite as it complains about the node dependencies being loaded.
`node` needs to be before `import` for it to work for me: ``` ".": { "types": "./index.d.ts", "node": "./node.mjs", "import": "./index.mjs", "main": "./index.mjs", "browser": "./index.mjs" }, ``` But then it...
> i feel compelled to point out that relying on object property order is not a great idea, as whether or not the order is retained is dependent on the...
I made a small demo repo in case anyone is interested. It's using a fork of this branch where `"node": "./node.mjs",` is before `"import": "./index.mjs",` as mentioned above. It runs...
Adding: ``` export function sqlite3InitModuleNode(opts?: InitOptions): Promise; ``` to `index.d.ts` would reflect the interface as it is. But maybe it would be better if `node.mjs` default exported a function like...
hold up a second, let me fix the link mentioned in #48 also