---
title: RangeInit
source: https://github.com/remix-run/remix/blob/remix@3.0.0-beta.3/packages/headers/src/lib/range.ts#L6
---

# RangeInit

## Summary

Initializer for a [`Range`](/api/remix/headers/range/class/Range/) header value.

## Signature

```ts
interface RangeInit {
  ranges?: { end?: number; start?: number }[];
  unit?: string;
}

```

## Properties

### `ranges`

The ranges requested. Each range has optional start and end values.
- {start: 0, end: 99} = bytes 0-99
- {start: 100} = bytes 100- (from 100 to end)
- {end: 500} = bytes -500 (last 500 bytes)

### `unit`

The unit of the range, typically "bytes"