initial commit

This commit is contained in:
dude
2026-09-01 18:33:56 +00:00
commit c24449ee0a
2761 changed files with 302737 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
var test = require('tape')
var toObject = require('./')
var arr = [
['id', 1337],
['username', 'olalonde'],
['email', 'olalonde@gmail.com'],
]
test(function (t) {
var obj = arr.reduce(toObject)
t.deepEqual(obj, {
id: 1337,
username: 'olalonde',
email: 'olalonde@gmail.com',
})
t.end()
})