# interleave-values

> Interleave two values producing one string. E.G 'abc' & '123' -> 'a1b2c3'.

Latest version **0.0.1** (published 2014-08-30) · 0 weekly downloads

## Install

```sh
npm install interleave-values
pnpm add interleave-values
yarn add interleave-values
bun add interleave-values
```

## 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.0.1 |
| Published | 2014-08-30 |
| First published | 2014-08-30 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Zac Barton |
| Maintainers | zacbarton |
| Keywords | interleave, interweave, join, zip |

## Links

- npm: https://www.npmjs.com/package/interleave-values
- Repository: https://github.com/zacbarton/node-interleave-values
- Issues: https://github.com/zacbarton/node-interleave-values/issues
- npm.io page: https://npm.io/package/interleave-values

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 0.0.1 (latest) — 2014-08-30

## README

interleave-values
========

Interleave two values producing one string. E.G 'abc' & '123' -> 'a1b2c3'.

The return value is always a string and the 2 inputs are coerced to be strings!

Installation
--------

    $ npm install -g interleave-values


Usage
--------

```javascript
var interleave = require('interleave-values');

// two strings
interleave('abc', '123');
// returns 'a1b2c3'

// two ints
interleave(123, 456);
// '142536'

// values do not have to be of equal length
interleave('abcde', '123');
// returns 'a1b2c3de'

interleave('abc', '12345');
// returns 'a1b2c345'

```

Running tests
----

    $ npm test

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