node-rs icon indicating copy to clipboard operation
node-rs copied to clipboard

Node.js bindings ❤️ Rust crates

Results 80 node-rs issues
Sort by recently updated
recently updated
newest added

How to skip audience and issuer checks? ```js const decoded = decodeHeader( jwtString); const res = await verify( jwtString, cert, { algorithms: [ decoded.algorithm ], aud: undefined, iss: undefined, sub:...

I made a project to reproduce the error here: https://github.com/Shyrogan/sveltekit-argon2-cf-error ``` > Using @sveltejs/adapter-cloudflare ✘ [ERROR] Could not resolve "@node-rs/argon2-wasm32-wasi" node_modules/@node-rs/argon2/browser.js:1:14: 1 │ export * from '@node-rs/argon2-wasm32-wasi' ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You...

Here are some of the dependencies I use. - Next.js: `^14.2.4`, - @node-rs/argon2: `^1.8.3` - node: `18.17.1` and `20.12.2` (tried both) - macOS M2 Pro, Sonoma 14.2.1 ## Build /...

Running on a Raspberry Pi Zero W with NodeJS v20.0 throws an Illegal Instruction error because the node pulls in the ARMv7 native binary and there is no source code...

#[napi] fn create_source_map(length: u32) -> External { External::new(vec![0; length as usize].into()) } import { createSourceMap } from './index.js' const bufferExternal = createSourceMap(10); //returns {}, expected ExternalObject. Arch Linix, vs code...

Add support to [xid](https://crates.io/crates/xid) a globally unique sortable id generator (alternative to UUID and ULID to be used as primary key in databases).

I use @node.rs/crc32 as a dependency in **Pixi.js AssetPack**. The whole app crashes as in **@node-rs/crc32 node** package in **browser.js** there's ``` export * from '@node-rs/crc32-wasm32-wasi' ``` But any package...

**Description:** I am trying to use @node-rs/jieba in my Electron application, but I am encountering an error when running the application on Windows 7. The application works fine on Windows...

Code: ``` import { Argon2id } from 'oslo/password'; /** * Hashes the password using Argon2id which is provided by the Oslo library * @param password - The password to hash...

This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest...