@3-/pair

0.0.2 • Public • Published

@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' ] ]

Readme

Keywords

none

Package Sidebar

Install

npm i @3-/pair

Weekly Downloads

92

Version

0.0.2

License

Apache-2.0

Unpacked Size

1.05 kB

Total Files

4

Last publish

Collaborators

  • i18n-now