@lambda-group/axum-js
v0.2.0
Published
A Axum http wrapper for NodeJS
Downloads
9
Readme
axum-js
is a TypeScript/JavaScript wrapper around the Rust Axum crate, brought to you via Napi-rs. This initiative seeks to imbue the JavaScript ecosystem with the resiliency and efficiency inherent to Axum.
Initiated during Hacktoberfest 2023 by Daniel Boll, this project now thrives under the stewardship of the @lambda-group
.
🎯 Supported Platforms
darwin-x64
linux-x64-gnu
win32-x64-msvc
🚀 Installation
npm install @lambda-group/axum-js
🛠 Usage
import { axum } from "@lambda-group/axum-js";
const app = axum();
const port = 3000;
app.get('/', (req, res) => {
res.send('Hello World!')
});
app.listen(port, () => {
console.log(`Server is humming on port ${port}`)
});
🤝 Contributing
We're always on the lookout for contributions. Navigate to CONTRIBUTING.md for the scoop on how you can join the crew.
📜 License
Distributed under the MIT License.
🙏 Acknowledgements
- Kudos to the Axum and Napi-rs communities for laying the groundwork that made
axum-js
feasible. - A world of thanks to every contributor to
axum-js
, your input, no matter the magnitude, propels us forward.