# @vendit-dev/mali

> Minimalistic gRPC microservice framework

Latest version **0.47.2** (published 2024-03-18) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @vendit-dev/mali
pnpm add @vendit-dev/mali
yarn add @vendit-dev/mali
bun add @vendit-dev/mali
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.47.2 |
| Published | 2024-03-18 |
| First published | 2024-03-18 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=14 |
| Dependencies | 7 |
| Unpacked size | 53.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | ScripterSugar |
| Maintainers | jay-l-e-e, vinchae, insung, oojikoo, daun_jung, scriptersugar, kdw8726 |
| Keywords | mali, grpc, service, server, microservice |

## Links

- npm: https://www.npmjs.com/package/@vendit-dev/mali
- Repository: https://github.com/vendit-dev/mali
- Homepage: https://mali.js.org/
- Issues: https://github.com/vendit-dev/mali/issues
- npm.io page: https://npm.io/package/@vendit-dev/mali

## Dependencies (7)

- [destroy](https://npm.io/package/destroy.md) ^1.2.0
- [ee-first](https://npm.io/package/ee-first.md) ^1.1.1
- [delegates](https://npm.io/package/delegates.md) ^1.0.0
- [lodash.pull](https://npm.io/package/lodash.pull.md) ^4.1.0
- [@malijs/compose](https://npm.io/package/@malijs/compose.md) ^1.3.2
- [lodash.camelcase](https://npm.io/package/lodash.camelcase.md) ^4.3.0
- [@malijs/call-types](https://npm.io/package/@malijs/call-types.md) ~0.4.0

## Recent versions

- 0.47.2 (latest) — 2024-03-18

## README

# [![Mali](https://raw.githubusercontent.com/malijs/mali/master/mali-logo.png)](https://malijs.github.io)

**A minimalistic [gRPC](http://www.grpc.io) microservice framework.**

[![npm version](https://img.shields.io/npm/v/mali.svg?style=flat-square)](https://www.npmjs.com/package/mali)
[![build status](https://github.com/malijs/mali/workflows/Node%20CI/badge.svg)](https://github.com/malijs/mali/actions)
[![coverage status](https://img.shields.io/coveralls/github/malijs/mali.svg?style=flat-square)](https://coveralls.io/github/malijs/mali)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square)](https://standardjs.com)
[![License](https://img.shields.io/github/license/malijs/mali.svg?style=flat-square)](https://raw.githubusercontent.com/malijs/mali/master/LICENSE)
[![chat on gitter](https://img.shields.io/gitter/room/malijs/Lobby.svg?style=flat-square)](https://gitter.im/malijs/Lobby)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?style=flat-square)](https://www.paypal.me/bojandj)
[![Buy me a coffee](https://img.shields.io/badge/buy%20me-a%20coffee-orange.svg?style=flat-square)](https://www.buymeacoffee.com/bojand)

## Installation

Install module and required peer dependencies.

```
$ npm install mali @grpc/grpc-js @grpc/proto-loader
```

## Example

```js
const Mali = require('mali')

function sayHello (ctx) {
  ctx.res = { message: `Hello ${ctx.req.name}` }
}

function main () {
  const app = new Mali('helloworld.proto')
  app.use({ sayHello })
  app.start('0.0.0.0:50051')
}
```

## Documentation

Full [documentation](https://mali.js.org).

## License

Apache-2.0

---
_Source: https://npm.io/package/@vendit-dev/mali · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
