{"_id":"@bduong94/lotide","_rev":"5-00a9079689200d1fd7c0d9b3da8f2e54","name":"@bduong94/lotide","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@bduong94/lotide","version":"1.0.0","description":"Lotide for learning purposes","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bduong94/lotide-.git"},"author":{"name":"Brian Duong"},"license":"ISC","bugs":{"url":"https://github.com/bduong94/lotide-/issues"},"homepage":"https://github.com/bduong94/lotide-#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"69f7e54fafbcf4b392b93bf90e2c36e6dbfb1af3","_id":"@bduong94/lotide@1.0.0","_nodeVersion":"14.17.6","_npmVersion":"8.1.2","dist":{"integrity":"sha512-BBQwKYohgsR2f7XFlphY1fTP0sXRDQynIZ9gRQFIe48bgJdr4S/zM80ytpXg8uRPLvZ/8bsMr1Yyg5t8bZ66rQ==","shasum":"e7c54fcfdc6a055af88a85c99653cd34e052a526","tarball":"https://registry.npmjs.org/@bduong94/lotide/-/lotide-1.0.0.tgz","fileCount":28,"unpackedSize":46735,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF4bsQuGuKiZKE1j/OtOT0AgRdD3/G8oGVXgynocAIOSAiEAj/HgM3DTN26s2FTSvpZXVngh6bLGEsnCmxoEXTPUdDc="}]},"_npmUser":{"name":"bduong94","email":"brianminhduong@gmail.com"},"maintainers":[{"name":"bduong94","email":"brianminhduong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1636432828832_0.885474959254912"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bduong94/lotide","version":"1.0.1","description":"Lotide for learning purposes","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bduong94/lotide-.git"},"author":{"name":"Brian Duong"},"license":"ISC","bugs":{"url":"https://github.com/bduong94/lotide-/issues"},"homepage":"https://github.com/bduong94/lotide-#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"a0aa6d6d7cdaba9fd7d1ed8c936abfb1774678e2","_id":"@bduong94/lotide@1.0.1","_nodeVersion":"14.17.6","_npmVersion":"8.1.2","dist":{"integrity":"sha512-6RMimyt/o9cqMc0o7fjhlkrZMH6INHGRBEyVcX1BU5oIo+szQK51GDDhUT/bQD2MoO995lAr74ST5EFHEXvBVg==","shasum":"732f8af2e3b037bdaded961379065b06bcd8b007","tarball":"https://registry.npmjs.org/@bduong94/lotide/-/lotide-1.0.1.tgz","fileCount":33,"unpackedSize":44011,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6jlV0qDvWmf+LFaJjbEWuRmpMovu0Hb5neYB49rAoGgIhAOWiKEpQTEy4Mh3WkzbMf7DzGTjVaJ6UrOytpjGkP9SM"}]},"_npmUser":{"name":"bduong94","email":"brianminhduong@gmail.com"},"maintainers":[{"name":"bduong94","email":"brianminhduong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1636793416516_0.007116199330341244"},"_hasShrinkwrap":false},"1.0.2":{"name":"@bduong94/lotide","version":"1.0.2","description":"Lotide for learning purposes","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bduong94/lotide-.git"},"author":{"name":"Brian Duong"},"license":"ISC","bugs":{"url":"https://github.com/bduong94/lotide-/issues"},"homepage":"https://github.com/bduong94/lotide-#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"28c18051cdf62b11ad4cd66e8b974e0bbb1db66d","_id":"@bduong94/lotide@1.0.2","_nodeVersion":"14.17.6","_npmVersion":"8.1.2","dist":{"integrity":"sha512-DOaWDX4cp9g50FLOpBZS3STX9VpDgZQ0hhMH2KONH9Tqtpl/yc3UKp1dE7+QnHySX8KkwPm/gw3TnIzYPvQQMg==","shasum":"d9e1760d57bee64f7b0cff24b5505d6ab22c6fe6","tarball":"https://registry.npmjs.org/@bduong94/lotide/-/lotide-1.0.2.tgz","fileCount":33,"unpackedSize":44088,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSfnI6TRSsifkpk/21L84JhibUOhZwrz+vK6Py7JIMfgIhAMLgrlTlkcsUxTbxONyjU71CXz4xzd8ZQ3kkn6ciAxK+"}]},"_npmUser":{"name":"bduong94","email":"brianminhduong@gmail.com"},"maintainers":[{"name":"bduong94","email":"brianminhduong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1636794140665_0.4916031144412376"},"_hasShrinkwrap":false},"1.0.3":{"name":"@bduong94/lotide","version":"1.0.3","description":"Lotide for learning purposes","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bduong94/lotide-.git"},"author":{"name":"Brian Duong"},"license":"ISC","bugs":{"url":"https://github.com/bduong94/lotide-/issues"},"homepage":"https://github.com/bduong94/lotide-#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"081e28e55b64543e7fc2b7f873cf6622b3689504","_id":"@bduong94/lotide@1.0.3","_nodeVersion":"14.17.6","_npmVersion":"8.1.2","dist":{"integrity":"sha512-zdLDxUsCDahhzuOE/T+l8QCVaZjsVpKsRJcDGXxOrDLczSzXysmTBS0QqRPWhJ1z7kJMNCQuDdTqxqXvOE7m3w==","shasum":"04df47a4e4c5d004961e2b20d5111af633aef40b","tarball":"https://registry.npmjs.org/@bduong94/lotide/-/lotide-1.0.3.tgz","fileCount":36,"unpackedSize":43701,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzHVLCRA9TVsSAnZWagAAVhcP/iICkqvJTYQayL+2jm5+\nz4vKxWK85MSMjFtAdgA9Mt+1OtaCwV7SfZjkKTa8/z18SRFNmRnrBSyOcCWE\n4vMLR6P0EEhU/kmWyxlAnNNEFt/gdYcDgJiFm97ugloZ13K4ZG9rtAzfLAvb\nTSPCXVvgqPP5/HScWRa9XwJYt7EODdukDckJxBKJ5VOYerpRX0vsA7O2oJum\nZ2PvAcXAHV7Corzr+6tixe7rxU6eXL8XSzQVOoPgADjlyLuRg0z3aRCcWym2\n67BxiqNMrwIycpxI0GWqXGVhy1bbbgO9ZKWMDHIW7NSBE0UIxxFkqS6eyMaX\naMXVIbnhiBo/dUTYvwfEI4jjUuMrax0ncLf4Cq68eMkytD0qUxIhEKAg75Vj\narxZzj9QT/ng6PRushu7QFdD/iP7tk7MCXpFt4ox9+sz0ukciDBqz1FPp4fP\nUgkg2L0LGd7hyZurpe3LOAV7wrEdIpnlAoy0FKYXWZ3+oUqBTkQ08rEc/B2s\n5SSXQWnHWiT2Oo8C8gAR24Z9gY+duEo2T6+b8YIDGssRlwUENqRXEYeM4UlB\nsImTj1E6b+6UQ1KadbwxThj6nXBIt+RNSJ5fPj3oM68uq++6vJlQZ6wBLIBt\nH7RvB88rYJw2C5PWuON6b4ofupcBtFkE7idsHeI4NJXKlhJj1p8WnuhVGhAt\nvdBM\r\n=MdeG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSXduwQ+6Fc6zZ6Cr6W/7OIJhg8zfAu7cEEwQXhH+f+AIhAMWCpnp6dlxU7Al++toNxiQNQ2a9+bnsEwAlao+wYFyD"}]},"_npmUser":{"name":"bduong94","email":"brianminhduong@gmail.com"},"maintainers":[{"name":"bduong94","email":"brianminhduong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.3_1636845088855_0.09656974279387054"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-09T04:40:28.769Z","1.0.0":"2021-11-09T04:40:28.975Z","modified":"2022-04-04T18:03:54.682Z","1.0.1":"2021-11-13T08:50:16.674Z","1.0.2":"2021-11-13T09:02:20.856Z","1.0.3":"2021-11-13T23:11:29.016Z"},"maintainers":[{"name":"bduong94","email":"brianminhduong@gmail.com"}],"description":"Lotide for learning purposes","homepage":"https://github.com/bduong94/lotide-#readme","repository":{"type":"git","url":"git+https://github.com/bduong94/lotide-.git"},"author":{"name":"Brian Duong"},"bugs":{"url":"https://github.com/bduong94/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 @bduong94/lotide`\r\n\r\nLink can also be found at: https://www.npmjs.com/package/@bduong94/lotide\r\n\r\n**Require it:**\r\n\r\n`const _ = require('@bduong94/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* `assertArraysEqual`: Asserts if two arrays are equal\r\n* `assertEqual`: Asserts if two elements are equal\r\n* `assertObjectsEqual`: Asserts if two objects are equal\r\n* `countLetters`: Counts the number of times a character appears in a string\r\n* `countOnly`: Counts the number of times an element appears in an array from using elements from another array\r\n* `eqArrays`: Checks if two arrays are equal\r\n* `eqObjects`: Checks if two objects are equal\r\n* `findKey`: Function that returns a key based on a callback function\r\n* `findKeyByValue`: Function that returns a key if the value is found for that key within the object\r\n* `flatten`: Function that splits arrays into individual elements\r\n* `head`: Function returns the first element of an array\r\n* `letterPositions`: Function that returns indices of a string\r\n* `middle`: Function that returns the middle element of an array\r\n* `tail`: Function that returns everything except the first element of an array","readmeFilename":"README.md"}