-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.js
21 lines (18 loc) · 675 Bytes
/
example.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
const owners = require('./')
owners.length
// 106792
owners.slice(0, 10)
// [
// { username: 'ehsalazar', packageCount: 1541 },
// { username: 'retyped', packageCount: 1541 },
// { username: 'joshhunt', packageCount: 1342 },
// { username: 'jonschlinkert', packageCount: 1230 },
// { username: 'sindresorhus', packageCount: 953 },
// { username: 'okunishinishi', packageCount: 753 },
// { username: 'kgryte', packageCount: 707 },
// { username: 'substack', packageCount: 644 },
// { username: 'ionicabizau', packageCount: 602 },
// { username: 'dominictarr', packageCount: 568 }
// ]
owners.find(owner => owner.username === 'zeke').packageCount
// 180