{"_id":"@adamgrharvey/lotide","_rev":"1-97a90709cca437767227eca39f70a59d","name":"@adamgrharvey/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@adamgrharvey/lotide","version":"1.0.0","description":"This project was created and published by me as part of my learnings at Lighthouse Labs.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/adamgrharvey/lotide.git"},"author":{"name":"adamgrharvey"},"license":"ISC","bugs":{"url":"https://github.com/adamgrharvey/lotide/issues"},"homepage":"https://github.com/adamgrharvey/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"c45838e310bf6bdb8b63cca6de3b22357b98bab3","_id":"@adamgrharvey/lotide@1.0.0","_nodeVersion":"12.22.7","_npmVersion":"8.13.1","dist":{"integrity":"sha512-s7bYaia5t9EEit80chrIww8oh+U/hXxzn8h4NdObGEvjbL6Z/KZN9OU16RBVsC9tSMZ1l4WygUXzSNQkY1qpZg==","shasum":"d5bc2a68a5052ba9bcce242c6a259cfb34a737f7","tarball":"https://registry.npmjs.org/@adamgrharvey/lotide/-/lotide-1.0.0.tgz","fileCount":27,"unpackedSize":15413,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPZUGVqpTMG2/UYXzJdvuUJW+8eUEApbPAAJSOm2WQVgIgC0aze9xllFlfPFSCFg4oGM/YPiBruN9fjHthpfqRFno="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw16WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQHA//csstG8DXLVinZUUUQH1jwzqR/3iwqrqHXiV7o9KmO/Hhl2jO\r\nlAsopPG2P9mbGlwuedpC8Msi69Zq9InAXdBUI4f7m4E8IVlQ64ZRlbre043c\r\ngoR20lQCEfPK39AB0u1CacoB7xrlRpzaMpt7BklQABqNXyPwVpZ4T+zd4cW1\r\nUozrqUo38v8C+qDoQNYWEPEDMwr4ejeVlln0f5rDsyc1y+96I9iMCb+2nYDu\r\n7GNhctLaLC+GKU66q0POBXqefYSVjIjYsdTs+X2DwSUxN2eA/0yb/25hSJUH\r\nQ1RZHHCBJKoq+EjpbAumG8+/0fD+vtBHjQ4gELWkLX/nq4x95HWsb366QUs0\r\nN51NN0iUAT/3YxJPL6u791R/kBkmqdPDgafg4zfQvP+0qbQgfVykfCdPDj4n\r\nKhsIrYpJdKR7nxLbPB9R1ICHLRpoJzyNbmVIyXC7XXd/9T6qrAuPyrTDRQkL\r\nXkwfSMwUoyoSGuCivtKJ/OGcUjoXB1AVLhT6blJf0tPba1+FSBBSl+RGOAp5\r\nIRX3sxfQhknZvUQOpk7fiUWd2uJdQzvuIX17mFMmvDuUDv+HxwgbDiMLG/ha\r\nDkokaEq2MVIuiA0RqYS1S18QJHTAoTBEYooGURO0kwNxsUlhWBz4VOwNE8YT\r\nMwKP0px6TUIGw0waCuzZCrQBO1lqLus3H0c=\r\n=vKrh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"adamgrharvey","email":"adamgrharvey@gmail.com"},"maintainers":[{"name":"adamgrharvey","email":"adamgrharvey@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1656970902482_0.4344492379110423"},"_hasShrinkwrap":false},"1.0.1":{"name":"@adamgrharvey/lotide","version":"1.0.1","description":"This project was created and published by me as part of my learnings at Lighthouse Labs.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/adamgrharvey/lotide.git"},"author":{"name":"adamgrharvey"},"license":"ISC","bugs":{"url":"https://github.com/adamgrharvey/lotide/issues"},"homepage":"https://github.com/adamgrharvey/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"a161dd6ad2eed9e43fbf5917a6e5ac563f296ffa","_id":"@adamgrharvey/lotide@1.0.1","_nodeVersion":"12.22.7","_npmVersion":"8.13.1","dist":{"integrity":"sha512-q6eXeQXaEPoXDpHzfgl4Bn5rKBJHbnlyQDG8DjH169dYf4N0+UKvlvbH/5tmgdiYTvpoVdXl8UIQZR0qh+UIHA==","shasum":"7be573890ed1b7ac6cb745de8f02379956592f32","tarball":"https://registry.npmjs.org/@adamgrharvey/lotide/-/lotide-1.0.1.tgz","fileCount":32,"unpackedSize":18883,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF1x0RszYr2GzKHoaFWTqpeVlGyeKtk4tsy5L/frZ/kpAiEAxCBzzBTORNPgkJ7I0LID4qziuDbEK5ubSk8goZ6IAwM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw5ihACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHrQ//c3nQ7ysrZ2Z/Mc+i2L/mNgpdiV2g/c0W6HkazDJCiwXzdtif\r\nPSexlrXhl2b1Ps14WLnnucH38uSwTf8O50uPXyua5DYSYDuYJ2T6GAEJCZKN\r\nvhYfBSY46+14nB/tOkRW8v7E1dpsykUW3lihfJ6mmXEBN0UEHNHl0MR73YHJ\r\n8KXoq2JTROgMtmXnflP64+QtQ5EgR64C268OOnvTWN0Y1BwVvd5JJ4Gg9SE1\r\nskoDBaHCi084CuBij0IueHcKDK4JTWtKqkeK4PEWFZV5erSWWuaCfQSuof56\r\n9wbQ/iQwiB5gJ+zcrMegN9xMPhuUfI2AQ4MgbQkPTMuxVsgALjagRM9POaIT\r\nuqC2VlxD77EVKRbPeB4cR/C8iPNQ0Uytr5/V8eg+PQX9Q+IDAPRZ2NnQrukI\r\n9FZvxncogiJLE6uoMeaDRGmoo9wPtK2bhcHPVGJ+YzwyXhw58KCHhyniDqbp\r\nFGTMS0APOidUK+UWTzvVIuYOoyjSST2cenYEGrrqHIb1fYqw9TjlTbBOd0Rk\r\nYxXLA2anOAQOaHtiTI2IVHX9gnblG5zgz9GQBygXFI1JNTbJXKZrsI96tmjB\r\nmZ4PgjCUKTrTiZ4cvP94FlJqcUN9jwTLB7Ex4uxF9IrtNf/r7ggkOLqkPuBj\r\nw5jEVgC/LV8a9uDyZcYC5Dl2qIn8m2GODd8=\r\n=vaCF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"adamgrharvey","email":"adamgrharvey@gmail.com"},"maintainers":[{"name":"adamgrharvey","email":"adamgrharvey@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1656985760933_0.1853261328360667"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-04T21:41:42.404Z","1.0.0":"2022-07-04T21:41:42.692Z","modified":"2022-07-05T01:49:21.179Z","1.0.1":"2022-07-05T01:49:21.108Z"},"maintainers":[{"name":"adamgrharvey","email":"adamgrharvey@gmail.com"}],"description":"This project was created and published by me as part of my learnings at Lighthouse Labs.","homepage":"https://github.com/adamgrharvey/lotide#readme","repository":{"type":"git","url":"git+https://github.com/adamgrharvey/lotide.git"},"author":{"name":"adamgrharvey"},"bugs":{"url":"https://github.com/adamgrharvey/lotide/issues"},"license":"ISC","readme":"# Lotide\r\n\r\nA mini clone of the [Lodash](https://lodash.com) library.\r\n\r\n## Purpose\r\n\r\n**_BEWARE:_ This library was published for learning purposes. It is _not_ intended for use in production-grade software.**\r\n\r\nThis project was created and published by me as part of my learnings at Lighthouse Labs. \r\n\r\n## Usage\r\n\r\n**Install it:**\r\n\r\n`npm install @adamgrharvey/lotide`\r\n\r\n**Require it:**\r\n\r\n`const _ = require('@adamgrharvey/lotide');`\r\n\r\n**Call it:**\r\n\r\n`const results = _.tail([1, 2, 3]) // => [2, 3]`\r\n\r\n## Documentation\r\n\r\nThe following functions are currently implemented:\r\n\r\n* `head`: given an array, returns the first element of the array.\r\n* `tail`: takes an array, returns a new array with all elements except the first one.\r\n* `countOnly`: given an array, and an object containing items that need to be counted, return an object with which items were found and how many times they were found.\r\n* `countLetters`: given a string, count how many unique characters were found, and how many of each. returns the count as an object.\r\n* `findKey`: given an object, and a function. return first key that matches the function conditionals.\r\n* `findKeyByValue`: given an object and another argument, return the key whose value matches that parameter.\r\n* `reverse`: Used in terminal. Passes any number of strings as arguments, prints those strings in reverse order. i.e. 'stop' argument prints 'pots'\r\n* `takeUntil`: given an array, and a boolean function; returns a slice of the given array up to when the boolean function returns true\r\n* `flatten`: given an array, returns a new array without any nested arrays within. i.e. [1,[2],3] returns [1,2,3].","readmeFilename":"README.md"}