# use-services

> Use services gracefully

Latest version **1.3.1** (published 2021-11-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install use-services
pnpm add use-services
yarn add use-services
bun add use-services
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2021-11-29 |
| First published | 2020-11-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 7.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sigoden Huang |
| Maintainers | sigoden |

## Links

- npm: https://www.npmjs.com/package/use-services
- Repository: https://github.com/sigoden/use-services
- Issues: https://github.com/sigoden/use-services/issues
- npm.io page: https://npm.io/package/use-services

## Dependencies (2)

- [debug](https://npm.io/package/debug.md) ^4.3.2
- [p-event](https://npm.io/package/p-event.md) ^4

## Recent versions

- 1.3.1 (latest) — 2021-11-29
- 1.3.0 — 2021-11-29
- 1.2.1 — 2021-11-29
- 1.2.0 — 2021-11-26
- 1.1.0 — 2021-11-21
- 1.0.0 — 2021-11-21
- 0.2.9 — 2021-11-21
- 0.2.8 — 2020-11-05
- 0.2.6 — 2020-11-05
- 0.2.4 — 2020-11-05
- 0.2.2 — 2020-11-04
- 0.2.0 — 2020-11-03
- 0.1.6 — 2020-11-03
- 0.1.4 — 2020-11-03
- 0.1.2 — 2020-11-02
- … 1 more at https://npm.io/package/use-services/versions

## README

# use-services

Use services gracefully

## Get Started

```ts
import useServices from "use-services";
import * as Echo from "@use-services/echo";

const options = {
  settings: {
    init: Echo.init,
    args: {},
  } as Echo.Option<typeof settings>,
};

const { srvs, init } = useServices("app", options);
export { srvs, init };
```

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