# @changesets/get-version-range-type

> Common get-version-range-type shared between changeset packages

Latest version **1.0.0** (published 2026-08-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @changesets/get-version-range-type
pnpm add @changesets/get-version-range-type
yarn add @changesets/get-version-range-type
bun add @changesets/get-version-range-type
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; high maintenance score; popular repo.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2026-08-11 |
| First published | 2019-09-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | ^22.11 \|\| ^24 \|\| >=26 |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 12599 |
| Maintainers | emmatown, andarist |

## Links

- npm: https://www.npmjs.com/package/@changesets/get-version-range-type
- Repository: https://github.com/changesets/changesets
- npm.io page: https://npm.io/package/@changesets/get-version-range-type

## Recent versions

- 1.0.0 (latest) — 2026-08-11
- 1.0.0-next.3 (next) — 2026-07-17
- 1.0.0-next.2 — 2026-05-07
- 1.0.0-next.1 — 2025-10-30
- 1.0.0-next.0 — 2025-04-21
- 0.4.0 — 2023-11-28
- 0.3.2 — 2020-04-15
- 0.3.1 — 2020-03-29
- 0.3.0 — 2020-03-09
- 0.2.0 — 2020-02-01
- 0.1.1 — 2019-09-19
- 0.1.0 — 2019-09-13
- 0.0.2 — 2019-09-10
- 0.0.0 — 2019-09-10

## README

# @changesets/get-version-range-type

[![Open on npmx.dev](https://npmx.dev/api/registry/badge/version/@changesets/get-version-range-type?name=true)](https://npmx.dev/package/@changesets/get-version-range-type)
[![View changelog](https://npmx.dev/api/registry/badge/version/@changesets/cli?color=229fe4&value=View+changelog&label=+)](./CHANGELOG.md)

Simple function that takes in a string which is a version range (ie `^1.0.0`, `~3.5.1`, `2.0.0`)
and returns the range definition.

A helper published mostly to ensure consistency across several changeset packages.

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