0.0.2 • Published 11 months ago

@w5/pair v0.0.2

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

@w5/pair

test/main.coffee :

#!/usr/bin/env coffee

import pair from '@w5/pair'
import group from '@w5/pair/group.js'

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

output :

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

11 months ago

0.0.1

1 year ago