Comparing version 1.0.5 to 1.0.6
30
index.js
@@ -5,13 +5,2 @@ /** | ||
module.exports.mitsuketa = { | ||
deepGet : deepGet(collection, identity), | ||
locate : locate(collection, identity), | ||
trim : trim(identity,keyList), | ||
containsKeys : containsKeys(identity,keyList), | ||
isIterable : isIterable(identity), | ||
identical : identical(identityA,identityB), | ||
sameStructure : sameStructure(identityA,identityB), | ||
sameType : sameType(identityA,identityB), | ||
getType : getType(identity) | ||
} | ||
@@ -158,3 +147,3 @@ function deepGet(collection, identity){ | ||
*/ | ||
function getType(identity){ | ||
function getType(identity) { | ||
if(identity === null) return 'null'; | ||
@@ -165,1 +154,18 @@ const it = typeof identity; | ||
} | ||
mitsuketa = { | ||
getType : getType(identity), | ||
sameType : sameType(identityA,identityB), | ||
sameStructure : sameStructure(identityA,identityB), | ||
identical : identical(identityA,identityB), | ||
isIterable : isIterable(identity), | ||
containsKeys : containsKeys(identity,keyList), | ||
trim : trim(identity,keyList), | ||
locate : locate(collection, identity), | ||
deepGet : deepGet(collection, identity) | ||
} | ||
module.exports = exports = mitsuketa; | ||
{ | ||
"name": "mitsuketa", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "A Javascript library that enables you to handle deeply nested objects easily.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8095
153