Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jacobbubu/between-ts

Rewritten [between](http://github.com/dominictarr/between) in TypeScript
https://github.com/jacobbubu/between-ts

Last synced: 23 days ago
JSON representation

Rewritten [between](http://github.com/dominictarr/between) in TypeScript

Awesome Lists containing this project

README

        

# @jacobbubu/between-ts

[![Build Status](https://travis-ci.org/jacobbubu/between-ts.svg)](https://travis-ci.org/jacobbubu/between-ts)
[![Coverage Status](https://coveralls.io/repos/github/jacobbubu/between-ts/badge.svg)](https://coveralls.io/github/jacobbubu/between-ts)
[![npm](https://img.shields.io/npm/v/@jacobbubu/between-ts.svg)](https://www.npmjs.com/package/@jacobbubu/between-ts/)

> Rewritten [between](http://github.com/dominictarr/between) in TypeScript

## Intro.

This repo. is a TypeScript rewrite of [between](http://github.com/dominictarr/between) and it's [guarded version](https://github.com/dashed/between2).

## Usage

```bash
npm i @jacoebubu/between-ts
npm run example:ex1
```

``` ts
import { between } from '@jacoebubu/between-ts'

console.log(between('A', 'B'))
// AV
```

Please read the code in test folder for the detail usage.