Daniel-Boll / axum-js

A Axum http wrapper for NodeJS
MIT License
5 stars 3 forks source link
axum hacktoberfest hacktoberfest2023 javascript napi napi-rs native-module rust-lang
axum-js

![Tests Status][badge-tests] ![Deploy Status][badge-deploy]
[![NPM version](https://img.shields.io/npm/v/@lambda-group/axum-js.svg?style=flat-square)](https://www.npmjs.com/package/@lambda-group/axum-js) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](CONTRIBUTING.md) [![Twitter Follow](https://img.shields.io/twitter/follow/db_regret?style=social)](https://x.com/db_regret)

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

πŸš€ 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


Idealized with ❀️ by Daniel Boll