node-sqlite3
neon
node-sqlite3 | neon | |
---|---|---|
13 | 19 | |
6,066 | 7,778 | |
0.5% | 0.4% | |
7.4 | 6.3 | |
8 days ago | 13 days ago | |
PLpgSQL | Rust | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node-sqlite3
-
SvelteKit error during build, presumably due to sqlite3
Probably wrong import: https://github.com/TryGhost/node-sqlite3/issues/1532
-
Is it possible to use c or c++ code in the electron backend?
A good example for showing a solution to those questions is the node-sqlite3 package. It's a native module written in C++ and made available as a Node package: https://github.com/TryGhost/node-sqlite3
-
How to call this function in Node.js sqlite?
sqlite3 appears to have this, but there may be some issues as to whether it works. https://github.com/TryGhost/node-sqlite3/issues/419
-
Ask HN: Do you contribute to open source projects?
When I worked as an employee I contributed mostly just with docs fixes or bug reports (and not that often). I think it's mostly a mindset of seeing an issue yourself and noticing that others probably also are confused or misled by something so you go and report it!
Now that I'm working full-time on open-source and my own company I can contribute more easily to projects like upgrading SQLite source in a few bindings libraries [0], [1], [2] when 3.38 came out.
If anyone is interested in contributing to open-source and wants a bit more guidance though I have a number of good "first timer" projects related to data tools. Only expectation is that you have some experience with Go. Join discord.multiprocess.io, go to the #dev channel and say hi!
[0] https://github.com/mattn/go-sqlite3/pull/1019
[1] https://github.com/mapbox/node-sqlite3/pull/1550
[2] https://github.com/JoshuaWise/better-sqlite3/pull/778
-
Embedded DB for ElectronJS?
I have had no problems using SQLite itself in Electron, for a desktop project that runs under both Windows and Linux. See https://github.com/mapbox/node-sqlite3
- Node Bindings untuk binding dari C++ pada Node.js
-
New to electron.
I like to set up a function in the main process with https://github.com/mapbox/node-sqlite3 handling my queries.
-
How would you create a simple database search-bar website?
Use SQLite to store the data and retrieve it using sqlite3
-
Edit SQL file stored on nextcloud
Hey I would like to use a nextcloud instance to host a sqlite database file, and connect directly to that file, with javascript/Electron and the sqlite3 library.
-
npm install --save sqlite3 error
This sub is for discordjs, not just general javascript and npm issues. Ask sqlite3 package devs about this. https://github.com/mapbox/node-sqlite3
neon
-
We Have to Start Over: From Atom to Zed
Great interview!
Love how much thought is being put into what you “gold-plate”. I’ve always felt that my best work comes around on round two (or three or four…).
Curious what you are planning for the ability to script the configuration? I haven’t played with zed much yet; is it possible today? Would something like Neon [1] help bridge the gap from VSCode and old Atom users?
[1]: https://github.com/neon-bindings/neon
-
Electrons Are Fast, So Can Be Electron – How to Optimize Electron App Performance
Neon
-
Hey Rustaceans! Got a question? Ask here (27/2023)!
Is there a third option? Surely node has a way to directly call native code, similar to Python's C extensions? Some Node equivalent of PyO3? For example, I found neon which promises "safe and fast native Node.js modules".
-
Is converting typescript backend to Rust worth it?
Have a look at https://crates.io/crates/napi and https://crates.io/crates/neon which allow you to call rust from node. We went with napi but they're both pretty good.
- Interaction between a Node.js module and a Rust program
-
Underrated Node Knowledge
Just to add: N-API is incredibly underrated. Then again, maybe the lack of a strong native modules ecosystem is an indicator that the pure JS ecosystem is just so good. But man, got something computationally intensive? Just offload it to Rust with Neon or something. Got some proprietary bit of code in your product? Build a native module.
-
Zig, the Small Language
> rust is not well-suited for interfacing with FFI
How so? Packages like neon [1] and rustler [2] suggest otherwise. I'm using both of those in a real product (I'm using neon directly, to write native modules for an Electron app; on the back-end, I depend on an Elixir package that uses rustler).
[1]: https://github.com/neon-bindings/neon
[2]: https://github.com/rusterlium/rustler
-
SurrealDB: A new scalable document-graph database written in Rust
You can use https://github.com/infinyon/node-bindgen, https://github.com/neon-bindings/neon, or https://github.com/napi-rs/napi-rs for Node.js libraries, https://github.com/PyO3/pyo3 for Python libraries, https://rustwasm.github.io/wasm-bindgen/ for WebAssembly, and https://github.com/rust-lang/rust-bindgen for C libraries!
-
Javascript senior developer here. Why I need to learn Rust?
They can use Rust to speed up Nodejs through https://crates.io/crates/neon for example
-
1Password for SSH changed the way I work
I’m not prompted again while actively using my laptop. When it’s time to switch to an open source project, I’m seamlessly prompted for my GitHub key.
What are some alternatives?
NeDB - The JavaScript Database, for Node.js, nw.js, electron and the browser
rst - The open source design documentation tool for everybody [Moved to: https://github.com/vitiral/artifact]
node-gyp - Node.js native addon build tool
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
better-sqlite3 - The fastest and simplest library for SQLite3 in Node.js.
surrealdb - A scalable, distributed, collaborative, document-graph database, for the realtime web
WASI - WebAssembly System Interface
iswasmfast - Performance comparison of WebAssembly, C++ Addon, and native implementations of various algorithms in Node.js.
Fuse - Lightweight fuzzy-search, in JavaScript
rFmt
lovefield - Lovefield is a relational database for web apps. Written in JavaScript, works cross-browser. Provides SQL-like APIs that are fast, safe, and easy to use.
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/