Skip to content

wunderflats/paris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@wunderflats/paris

Travis Build npm

Convert an array to pairs of its values.

Installation

$ npm i @wunderflats/paris

Usage

paris([1, 2, 3, 4, 5])
// [[1, 2], [2, 3], [3, 4], [4, 5]]

paris([1])
// []

paris([])
// []