# js-sdk-range

> Simple range utility.

Latest version **0.1.1** (published 2017-09-04) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install js-sdk-range
pnpm add js-sdk-range
yarn add js-sdk-range
bun add js-sdk-range
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2017-09-04 |
| First published | 2017-09-03 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Bruno Dias |
| Maintainers | diasbruno |

## Links

- npm: https://www.npmjs.com/package/js-sdk-range
- Repository: https://github.com/js-sdk/js-sdk-range
- Homepage: https://github.com/js-sdk/js-sdk-range#readme
- Issues: https://github.com/js-sdk/js-sdk-range/issues
- npm.io page: https://npm.io/package/js-sdk-range

## Recent versions

- 0.1.1 (latest) — 2017-09-04
- 0.1.0 — 2017-09-03

## README

# js-sdk-range

Simple range utilities.

## Library

### between(value, lower, higher)

`value` is between the `lower` and `higher` values.

### rangeIn(start, end, [lower, higher])

`start` and `end` are on the interval `[lower, higher]`.

### rangeImpl(start, end, step, f)

Range from `start` to `end` in `step` with a transformation `f`.

### range(start, end)

Range between `start` and `end`. `step` is `1`.

### rangeStep(start, end, step)

Range between `start` and `end` in `step`.

### rangeIncl(start, end)

Range between `start` and `end`. Includes the `end`.

### rangeInclStep(start, end, step)

Range between `start` and `end` in `step`. Includes the `end` if in range for `step`.

### rangeChar(start, end)

Range of characters `start` to `end`.

Here is all valid ranges:

- Lower case: `[a-z]`

- Upper case: `[A-Z]`

- Digit:      `[0-9]`

A specified range `rangeChar('a', 'Z')` is invalid and produces an empty list.


## license

See `license.md` or visit [Unlicense](http://unlicense.org).

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