aha-utils

0.0.1 • Public • Published

快捷计算

安装 :

npm i aha-utils

使用

let arr = [[3, 6], [7, 8], [1, 4], [7, 10]]
let unionArr = unionInset(arr)
console.log(unionArr) // [ [ 1, 6 ], [ 7, 10 ] ]
console.log(sumUnions(unionArr)) // 8  // = > 6 - 1 + 10 - 7

Readme

Keywords

none

Package Sidebar

Install

npm i aha-utils

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

4.32 kB

Total Files

5

Last publish

Collaborators

  • fabyuxuan