# same-value

> Check if two values have the same value.

Latest version **1.0.2** (published 2016-04-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install same-value
pnpm add same-value
yarn add same-value
bun add same-value
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2016-04-14 |
| First published | 2015-02-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kory Nunn |
| Maintainers | korynunn |
| Keywords | equal, same, equivalent, compare, date, invalid, NaN |

## Links

- npm: https://www.npmjs.com/package/same-value
- Repository: https://github.com/KoryNunn/same-value
- Homepage: https://github.com/KoryNunn/same-value#readme
- Issues: https://github.com/KoryNunn/same-value/issues
- npm.io page: https://npm.io/package/same-value

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2016-04-14
- 1.0.1 — 2015-08-24
- 1.0.0 — 2015-02-18

## README

# same-value

Check if two values have the same value.

Returns true for NaNs and Invalid dates. Returns false for different instances.

# Usage

```javascript

var same = require('same-value');

same('a','a'); -> true
same('a','b'); -> false

etc...

```

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