{"_id":"@benjaminvincent/lotide","_rev":"2-2422184794618e3d280f912a6e14ce41","name":"@benjaminvincent/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@benjaminvincent/lotide","version":"1.0.0","description":"lotide library","main":"","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/BenjaminVincent/lotide.git"},"author":{"name":"@benjaminvincent/lotide"},"license":"ISC","bugs":{"url":"https://github.com/BenjaminVincent/lotide/issues"},"homepage":"https://github.com/BenjaminVincent/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^7.0.0"},"dependencies":{},"gitHead":"13f76a8b0059d6b66590be718adf8e2daacd889f","_id":"@benjaminvincent/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.13.4","dist":{"integrity":"sha512-hc5Gedp+s6OOrVUKMRcvTIRJOrtnG4g+7M5vMkLUWTs2jRgwJdfhDsOKf5Z7+TmnrIlufhB+S98nzZoPb5V1Qw==","shasum":"c8f66307a1f5811e96cd522278321133cbc0d252","tarball":"https://registry.npmjs.org/@benjaminvincent/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":19356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHP3ACRA9TVsSAnZWagAAY8wQAKPOycDI2kGC1jCsY6ho\nnzc+JseaB9osJshg/QErK+T/qjEW6H9Uh96I58aB/1jBGGZYQRN2V0TCYvTU\nnCTdfrUDtbv2O0uFzlopIwYAILVxq7Glj3AV6rBI3OWvovQWnHtKhr4Mo0h7\nC7HTQsAbmBjxOrxiA+Q04YEjK643hECYmNawwf3vTubVaQHtXk0NfpfHuBpW\n8d2KTN7V18eIWUwFRAn490gBAnq0F51IGU7CQCXt8ZRRnJ2aHrQbGiOiOSTe\nQXSwTWZWH8zr1eCOmGRmPuo1ldN4nNumhytyaslhM/I5hgpUa4dhnkRSh3QX\nHdDsY8eI56/Ivq1Xu4SKoFgWKHPaYoETsnDGWS6Qp+p3CRyaWReqCzlADYED\nKARUrQVXRGPNHizdNA5xIb7CGibuAR6rZewxdSlvRMm2gR/rMYQOl3ybcvJf\nNSzvIUpkpbwyCX+MzTh6S2/5q/cDRF+TZeMrzbtAc8ONfmjm9sexMaE1XnEG\nM8LKeGDBX8rdb36ycBma8ZZHYFZztU2Z8vItwsrY7oXH8h6P9XJ+L5HvO3yp\n2j+NCQlR0uVUSdfLxWFifcGe09jjyo5/HsCfYHw0KQzhxEaiCkv6l75eBvMI\nxhqr6c3FUELnH8Rli9GUOja28aPkAaWOmkqAghKgNgDeZfIvrWBTE3VWnC76\nPlYo\r\n=j9Il\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/s9qQJE9+xgddpMkVLRAbNXxpMjuNyjz1eoy3+crPDAiBGa0qrRM7v+StWQfZJDJbuQs3aSqAnvlbqFEUzL9u/AA=="}]},"maintainers":[{"name":"benjaminvincent","email":"ben.tom.vincent@gmail.com"}],"_npmUser":{"name":"benjaminvincent","email":"ben.tom.vincent@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1578958271693_0.7179592023415662"},"_hasShrinkwrap":false},"1.0.1":{"name":"@benjaminvincent/lotide","version":"1.0.1","description":"lotide library","main":"","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/BenjaminVincent/lotide.git"},"author":{"name":"@benjaminvincent/lotide"},"license":"ISC","bugs":{"url":"https://github.com/BenjaminVincent/lotide/issues"},"homepage":"https://github.com/BenjaminVincent/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^7.0.0"},"dependencies":{},"gitHead":"0e6c3b2b02cb052abf31ea79716afc8d7965c8ee","_id":"@benjaminvincent/lotide@1.0.1","_nodeVersion":"8.9.4","_npmVersion":"6.13.4","dist":{"integrity":"sha512-wZjmD45UJ2h4M7JCPr1OYZxRmWESb7BBKeg+vQS3G3n5kvIDief/apqpFXEI7dmWqJaqsNFhtnVhsit4pZGimw==","shasum":"01860589a86afcb9e6a44019bd7c30422021e51a","tarball":"https://registry.npmjs.org/@benjaminvincent/lotide/-/lotide-1.0.1.tgz","fileCount":35,"unpackedSize":17596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHResCRA9TVsSAnZWagAANS4QAJEVjMMVtLKGHMfgjp0b\nGzY6qEVXSQzyYfhj2hIQTh9J48coh3Z5h690VAPbBn1MCIb+OkMyEuBAKt50\nhPxyjb+s9zsz7wM5bokbCPbqfKoFVcr5C7x1xNGoaQu1ps7PO6GuKqO9Tr7z\nQx1i/FH8vGNre68SCQ6qlsfcUxcToUNtw7SK8b4uFqJBr3R0TAHnyUme/fGM\nwh12OGr3lD+7ETgkZfCNMTJ4KijOkK0ukqb2/tSd178Z25X16ZmpLvi5qqRu\n7lz48EAEI2rS5jqHbTVXsAKBA8V5suwp0eNwnY/Sug3fOFjRHk0a9q/xDvaI\nZGECV/+4rYS/Xu8RTl1Eva0BLBbwN/c+hv309wh3lasuTzXpkCbRsxFH30xY\npKohbDQOYftsHjz0q41VMWHvapAy4dp3gCDiKnNmIrCOtfRaEzKfvztY1HLw\nNXfJcWWXn6ovQrmUecfrBz5QRmB1rjk77ftaA+SbDZSoJ4NGvi9ECVL8a6Db\n9wRss/+oQIsV09+PQ2E7tKTU+cHuTXV6rNrHtVcOJ5mZYuOzzO3EeyrdbFM2\nt7LC50wX14T+4vCfw1BlZJ994/wQwh0x9ENr855WRYSNop9CMmX2AhdiFE/0\n0ufIL/wOJQc9W8/uUpL1HpMbKJMS6NucGLG7VrfJnKythawqEufxhs6g+NBu\nYJE2\r\n=X/HJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHk7kiqR60bNufXCxKrwbVIaE4E3D4hAfM5jPzNemKy9AiBJLbOAFERfxI0i/5QBgi6hRGmmDxveiHUh94QmzCpviw=="}]},"maintainers":[{"name":"benjaminvincent","email":"ben.tom.vincent@gmail.com"}],"_npmUser":{"name":"benjaminvincent","email":"ben.tom.vincent@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1578964907846_0.7314484289687486"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-13T23:31:11.664Z","1.0.0":"2020-01-13T23:31:11.868Z","modified":"2022-04-04T18:22:53.763Z","1.0.1":"2020-01-14T01:21:48.120Z"},"maintainers":[{"name":"benjaminvincent","email":"ben.tom.vincent@gmail.com"}],"description":"lotide library","homepage":"https://github.com/BenjaminVincent/lotide#readme","repository":{"type":"git","url":"git+https://github.com/BenjaminVincent/lotide.git"},"author":{"name":"@benjaminvincent/lotide"},"bugs":{"url":"https://github.com/BenjaminVincent/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 @benjaminvincent/lotide`\n\n**Require it:**\n\n`const _ = require('@benjaminvincent/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* `countLetters(sentence)`: counts occurences of each letter in sentence\n* `countOnly(allItems, itemToCount)`: counts itemToCount occurences in obj allItem\n* `eqArrays(a1, a2)`: checks a1 equal to a2\n* `eqObjects(object1, object2)`: checks object1 equal to object2\n* `findKey(obj, callback)`: finds a value of key given obj\n* `findKeyByValue(obj, value)`: returns key given a value\n* `flatten(arr)`: flattens n-dimensional array to 1-dimension\n* `head(a)`: returns the first element of a\n* `letterPosition(sentence)`: returns each index of occurence of each letter in sencent\n* `map(array, callBack)`: maps a callback function output to array\n* `middle(arr)`: returns the middle element of an array\n* `tail(a)`: returns the tail of a\n* `takeUntil(array, callback)`: copies array up until callback\n* `without(arr, toRemove)`: removes toRemove from arr","readmeFilename":"README.md"}