# exact-version

> Detect if a version string is an exact version and not a range

Latest version **1.0.2** (published 2018-04-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install exact-version
pnpm add exact-version
yarn add exact-version
bun add exact-version
```

## 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 | 2018-04-05 |
| First published | 2015-07-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ben Drucker |
| Maintainers | bendrucker |
| Keywords | semver, version, exact |

## Links

- npm: https://www.npmjs.com/package/exact-version
- Repository: https://github.com/bendrucker/exact-version
- Homepage: https://github.com/bendrucker/exact-version#readme
- Issues: https://github.com/bendrucker/exact-version/issues
- npm.io page: https://npm.io/package/exact-version

## Recent versions

- 1.0.2 (latest) — 2018-04-05
- 1.0.1 — 2015-07-06
- 1.0.0 — 2015-07-05

## README

# exact-version [![Build Status](https://travis-ci.org/bendrucker/exact-version.svg?branch=master)](https://travis-ci.org/bendrucker/exact-version)

> Detect if a version string is an exact version and not a range


## Install

```
$ npm install --save exact-version
```


## Usage

```js
var exactVersion = require('exact-version')

exactVersion('4.0.0')
//=> true

exactVersion('~4.0.0')
//=> false
```

## API

#### `exactVersion(version)` -> `boolean`

##### version

*Required*  
Type: `string`

A semver range / version.

## License

MIT © [Ben Drucker](http://bendrucker.me)

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