# @manishbasnetnp/shared-common

> A common functionalities shared between different services specifically used for Node.js.

Latest version **2.0.1** (published 2021-01-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @manishbasnetnp/shared-common
pnpm add @manishbasnetnp/shared-common
yarn add @manishbasnetnp/shared-common
bun add @manishbasnetnp/shared-common
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2021-01-26 |
| First published | 2021-01-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 10 |
| Dependencies | 0 |
| Unpacked size | 19 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Manish Basnet |
| Maintainers | manishbasnetnp |
| Keywords | shared-common |

## Links

- npm: https://www.npmjs.com/package/@manishbasnetnp/shared-common
- Repository: https://github.com/manishbasnet/shared-common
- Homepage: https://github.com/manishbasnet/shared-common#readme
- Issues: https://github.com/manishbasnet/shared-common/issues
- npm.io page: https://npm.io/package/@manishbasnetnp/shared-common

## Recent versions

- 2.0.1 (latest) — 2021-01-26
- 2.0.0 — 2021-01-26
- 1.1.0 — 2021-01-26

## README

# Shared-Common

A common functionalities shared between different services specifically used for Node.js.

## Project Status

Shared-Common is a personal project, now in experimental mode. In most cases, you should choose a different library.

## Install

```
$ npm install @manishbasnetnp/shared-common
```

## Usage

```js
const { successResponse, failureResponse } = require('@manishbasnetnp/shared-common')
const response = {
    data: 'example'
};
// In case of success
successResponse(200, 'success', response);

// In case of failure 
failureResponse(500, 'Something went wrong.');
```

_Thank you._

## License

Shared-Common is freely distributable under the terms of the [MIT license][license-url].

[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat
[license-url]: LICENSE
[npm-url]: https://npmjs.org/package/@manishbasnetnp/shared-common

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