[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5540":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":19,"lastSyncTime":29,"discoverSource":30},5540,"neon","neon-bindings\u002Fneon","neon-bindings","Rust bindings for writing safe and fast native Node.js modules.","https:\u002F\u002Fwww.neon-bindings.com\u002F",null,"Rust",8412,285,79,99,0,3,12,2,66.07,"Apache License 2.0",false,"main",true,[],"2026-06-12 04:00:25","# \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fneon-bindings\u002Fneon\u002Frefs\u002Fheads\u002Fmain\u002Fdoc\u002Fneon.png\" alt=\"neon\" width=\"100%\" \u002F>\n\n[![Cargo](https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fv\u002Fneon.svg)](https:\u002F\u002Fcrates.io\u002Fcrates\u002Fneon)\n[![Test Status](https:\u002F\u002Fgithub.com\u002Fneon-bindings\u002Fneon\u002Fworkflows\u002FCI\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fneon-bindings\u002Fneon\u002Factions?query=workflow%3A%22CI%22)\n[![Lint Status](https:\u002F\u002Fgithub.com\u002Fneon-bindings\u002Fneon\u002Fworkflows\u002FLints\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fneon-bindings\u002Fneon\u002Factions?query=workflow%3A%22Lints%22)\n\nRust bindings for writing safe and fast Node.js native addons.\n\n## Getting started\n\nOnce you have the [platform dependencies](https:\u002F\u002Fneon-bindings.com\u002Fdocs\u002Fquick-start) installed, getting started is as\nsimple as:\n\n```\n$ npm init neon@latest my-project\n```\n\nThen see the [Hello World guide](https:\u002F\u002Fneon-bindings.com\u002Fdocs\u002Fhello-world\u002F) for writing your first Hello World in\nNeon!\n\n## Docs\n\nSee our [Neon fundamentals docs](https:\u002F\u002Fneon-bindings.com\u002Fdocs\u002Fintro) and\nour [API docs](https:\u002F\u002Fdocs.rs\u002Fneon\u002Flatest\u002Fneon).\n\n## Neon 1.0.0 Migration Guide\n\nThe latest version of Neon, 1.0.0, includes several breaking changes in order to fix unsoundness, improve consistency, and add features.\n\n**Read the new [migration guide](doc\u002FMIGRATION_GUIDE_1.0.0.md)** to learn how to port your \nNeon projects to 1.0.0!\n\n## Platform Support\n\n### Operating Systems\n\n| Linux  | macOS | Windows |\n| ------ | ----- | ------- |\n| ✓      | ✓     | ✓       |\n\n### Node.js\n\nNeon actively supports all current and [maintenance releases of Node](https:\u002F\u002Fgithub.com\u002Fnodejs\u002FLTS#release-schedule). If you're\nusing a different version of Node and believe it should be supported, let us know.\n\nOlder Node version support (minimum v10) may require lower Node-API versions. See the Node [version support matrix](https:\u002F\u002Fnodejs.org\u002Fapi\u002Fn-api.html#node-api-version-matrix) for more details.\n\n### Bun (experimental)\n\n[Bun](https:\u002F\u002Fbun.sh\u002F) is an alternate JavaScript runtime that targets Node compatibility. In many cases Neon modules will work in bun; however, at the time of this writing, some Node-API functions are [not implemented](https:\u002F\u002Fgithub.com\u002Foven-sh\u002Fbun\u002Fissues\u002F158).\n\n### Rust\n\nNeon supports Rust stable version 1.65 and higher. We test on the latest stable, beta, and nightly versions of Rust.\n\n## A Taste...\n\n```rust\nfn make_an_array(mut cx: FunctionContext) -> JsResult\u003CJsArray> {\n    \u002F\u002F Create some values:\n    let n = cx.number(9000);\n    let s = cx.string(\"hello\");\n    let b = cx.boolean(true);\n\n    \u002F\u002F Create a new array:\n    let array = cx.empty_array();\n\n    \u002F\u002F Push the values into the array:\n    array.set(&mut cx, 0, n)?;\n    array.set(&mut cx, 1, s)?;\n    array.set(&mut cx, 2, b)?;\n\n    \u002F\u002F Return the array:\n    Ok(array)\n}\n\n#[neon::main]\nfn main(mut cx: ModuleContext) -> NeonResult\u003C()> {\n    cx.export_function(\"make_an_array\", make_an_array)?;\n    Ok(())\n}\n```\n\nFor more examples, see our [examples repo](https:\u002F\u002Fgithub.com\u002Fneon-bindings\u002Fexamples) and [integration tests](test).\n\n## Get Involved\n\nThe Neon community is just getting started and there's tons of fun to be had. Come play! :)\n\nThe [Neon Community Slack](https:\u002F\u002Frust-bindings.slack.com) is open to all;\nuse [this invite link](https:\u002F\u002Fjoin.slack.com\u002Ft\u002Frust-bindings\u002Fshared_invite\u002Fzt-1pl5s83xe-ZvXyrzL8vuUmijU~7yiEcg) to receive an invitation.\n\n### Testing Neon\n\nThe Neon project is both an [NPM workspace](https:\u002F\u002Fdocs.npmjs.com\u002Fcli\u002Fv8\u002Fusing-npm\u002Fworkspaces) and\na [Cargo workspace](https:\u002F\u002Fdoc.rust-lang.org\u002Fcargo\u002Freference\u002Fworkspaces.html). The full suite of tests may be executed\nby installing and testing the NPM workspace.\n\n```sh\nnpm install\nnpm test\n```\n\nIndividual JavaScript packages may be tested with an `npm` workspace command:\n\n```\nnpm --workspace=create-neon test\n```\n\nIndividual Rust crates may be tested with a `cargo` workspace command:\n\n```\ncargo test -p neon-build\n```\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or http:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT)\n\nat your option.\n","neon-bindings\u002Fneon 是一个用于编写安全且高效的 Node.js 原生模块的 Rust 绑定库。它允许开发者利用 Rust 的高性能和内存安全性来扩展 Node.js 应用程序，同时保持与 JavaScript 代码的良好互操作性。Neon 支持多种操作系统（包括 Linux、macOS 和 Windows）以及最新的 Node.js 版本，并且还实验性地支持 Bun 运行时环境。适用于需要在 Node.js 项目中集成高性能计算或处理敏感数据的场景，如实时数据分析、加密操作等。","2026-06-11 03:03:50","top_language"]