{"_id":"@aseenontv1027/lotide","_rev":"1-5fb904e775a5fd638a501ff9a760c299","name":"@aseenontv1027/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aseenontv1027/lotide","version":"1.0.0","description":"A mini clone of the Lodash(https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^4.2.0","mocha":"^6.2.2"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/aseenontv1027/lotide.git"},"author":{"name":"Kaiteng Lo","email":"lokaiteng935@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/aseenontv1027/lotide/issues"},"homepage":"https://github.com/aseenontv1027/lotide#readme","gitHead":"131706a9a0c88371d2a7c419dc1697d6708688de","_id":"@aseenontv1027/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.13.2","dist":{"integrity":"sha512-zxqrr8y6pcgpWB9AS7TG9Td4GBo1+0kcBHa2zkSpy/DVvc8BqTz/NA2I5JBpzN0e1z3MZto40enUdEOXDbNiOw==","shasum":"af15112e4be4d1830ffd27f44141a8ff7d98f7db","tarball":"https://registry.npmjs.org/@aseenontv1027/lotide/-/lotide-1.0.0.tgz","fileCount":28,"unpackedSize":15114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeO3C4CRA9TVsSAnZWagAAFXAP/0Za7HKJsiypb4tbNLHj\n8p0jpkOrv4uXnSMBBCkxRiRtxmmbEgrfAT3Mn2oLBQuvel/31xzPatmaU1qq\nrfC4AhrIM85RWmztP3KDpeSggAlfGI10gaRvEvBVrxS82E9RbwJXSmS+3rMr\nq7kj2eFfwIe+YzJyERQJ4l04bllHOGm0eTbo9ksyQruXGMCvEVCFFnzYqFAI\nditPZptwDS/SpQQrahhzIL5e6rg65goy7yGhdrVaWMs7w68Fm4bfKN4e42R+\nvxxMKO5NOlnH3+/EFVhgW8sBmJS3pZdDq/3amRmT3apqMxTHN7csctBaKQrg\nw0XYOVqTu0QPxEpTHfMgWUE/rU88jYa0YNH2NiDJdFcnF5BjrQ8OuCP5kQ5d\nFg25jE+ZTbWEPyeuXDUCCxAklz9suzs1cMd5zX61rT93LmZW4xoJ6rw9APcs\nESw2KelzY1G70kJLHGfnQ9a8ws+L4F6E6ae/cgtsp9YHlxCd6tFTMyyBxd23\nNYrnVi+HK7KNRAsoFtbF+GGUuFLPgnTULqdIie6Y+SD368CsLIIY9QA37z/N\nuCKAWUd7/O/H4UhUAuwfemB6ewMJLVCpkEV0Gzo1FOZYyT1gI7d8bO2B0d3+\nflp5D+vYwUxJaw7pbqA8J6rXYJH1ekD8TOFA0XEGGdITlJqUx71sxAkhXoRU\niyEs\r\n=mcfE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJswAb5gu2EwiJ4ae3xhTWtltj1xsvZmtyyBYDNlunoAiEAtiidw1yW3U5wPIqt08srMA54I6UKJD3Zh9rnn06+HYE="}]},"maintainers":[{"name":"aseenontv1027","email":"2goalyou@gmail.com"}],"_npmUser":{"name":"aseenontv1027","email":"2goalyou@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1580953784364_0.4293808044296876"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-06T01:49:44.336Z","1.0.0":"2020-02-06T01:49:44.518Z","modified":"2022-04-04T15:44:33.693Z"},"maintainers":[{"name":"aseenontv1027","email":"2goalyou@gmail.com"}],"description":"A mini clone of the Lodash(https://lodash.com) library.","homepage":"https://github.com/aseenontv1027/lotide#readme","repository":{"type":"git","url":"git+https://github.com/aseenontv1027/lotide.git"},"author":{"name":"Kaiteng Lo","email":"lokaiteng935@gmail.com"},"bugs":{"url":"https://github.com/aseenontv1027/lotide/issues"},"license":"ISC","readme":"# Lotide\n\nA mini clone of the [Lodash](https://lodash.com) library.\n\n## Purpose\n\n**_BEWARE:_ This library was published for learning purposes. It is _not_ intended for use in production-grade software.**\n\nThis project was created and published by me as part of my learnings at Lighthouse Labs. \n\n## Usage\n\n**Install it:**\n\n`npm install @aseenontv1027/lotide`\n\n**Require it:**\n\n`const _ = require('@aseenontv1027/lotide');`\n\n**Call it:**\n\n`const results = _.tail([1, 2, 3]) // => [2, 3]`\n\n## Documentation\n\nThe following functions are currently implemented:\n\n* `head(arr)`: returns the first element in an array\n* `tail(arr)`: returns a new array containing every elements excepts the first element\n* `middle(arr)`: returns the middle element of a given array, as a single array if the given array is of odd numbers, or as an array of 2 if the given array is of even numbers\n* `map(arr, callBack)`: returns a new array processed by the callback function\n* `countLetters(str)`: returns an object containing the number of occurrence of each character\n* `countOnly(allItems, itemsToCount)`: returns an object containing matched characters with occurrence as its value, specified in itemsToCount\n* `findKey(obj, callBack)`: returns the key of the obj if callBack(obj[key]) is a truthy value\n* `findKeyByValue(obj, value)`: returns the key of the obj given the key value","readmeFilename":"README.md"}