0.0.2 • Published 7 months ago

@3-/pair v0.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

@3-/pair

test/main.coffee :

#!/usr/bin/env coffee

import pair from '@3-/pair'
import group from '@3-/pair/group.js'

console.log pair '1|2|3|4|5|6'.split('|')
console.log group 4,'1|2|3|4|5|6|7|8'.split('|')

output :

[ [ '1', '2' ], [ '3', '4' ], [ '5', '6' ] ]
[ [ '1', '2', '3', '4' ], [ '5', '6', '7', '8' ] ]
0.0.2

7 months ago

0.0.1

7 months ago