# @sinonjs/commons

> Simple functions shared among the sinon end user libraries

Latest version **4.0.0-alpha.0** (published 2024-01-20) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @sinonjs/commons
pnpm add @sinonjs/commons
yarn add @sinonjs/commons
bun add @sinonjs/commons
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.0-alpha.0 |
| Published | 2024-01-20 |
| First published | 2018-08-03 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 62.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Maintainers | mrgnrdrck, fatso83, mantoni, cjohansen, benjamin.gruenbaum, simenb |

## Links

- npm: https://www.npmjs.com/package/@sinonjs/commons
- Repository: https://github.com/sinonjs/commons
- Homepage: https://github.com/sinonjs/commons#readme
- Issues: https://github.com/sinonjs/commons/issues
- npm.io page: https://npm.io/package/@sinonjs/commons

## Dependencies (1)

- [type-detect](https://npm.io/package/type-detect.md) 4.0.8

## Recent versions

- 4.0.0-alpha.0 (latest) — 2024-01-20
- 3.0.1 — 2024-01-20
- 3.0.0 — 2022-11-28
- 1.8.6 — 2022-11-28
- 2.0.0 — 2022-11-07
- 1.8.5 — 2022-11-07
- 1.8.4 — 2022-11-02
- 1.8.3 — 2021-04-08
- 1.8.2 — 2021-01-13
- 1.8.1 — 2020-07-17
- 1.8.0 — 2020-05-20
- 1.7.2 — 2020-04-08
- 1.7.1 — 2020-02-19
- 1.7.0 — 2019-12-18
- 1.6.0 — 2019-08-19
- … 10 more at https://npm.io/package/@sinonjs/commons/versions

## README

# commons

[![CircleCI](https://circleci.com/gh/sinonjs/commons.svg?style=svg)](https://circleci.com/gh/sinonjs/commons)
[![codecov](https://codecov.io/gh/sinonjs/commons/branch/master/graph/badge.svg)](https://codecov.io/gh/sinonjs/commons)
<a href="CODE_OF_CONDUCT.md"><img src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg" alt="Contributor Covenant" /></a>

Simple functions shared among the sinon end user libraries

## Rules

-   Follows the [Sinon.JS compatibility](https://github.com/sinonjs/sinon/blob/master/CONTRIBUTING.md#compatibility)
-   100% test coverage
-   Code formatted using [Prettier](https://prettier.io)
-   No side effects welcome! (only pure functions)
-   No platform specific functions
-   One export per file (any bundler can do tree shaking)

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