{"_id":"@butlerlr/lotide","_rev":"1-81c7fda6cbc54c0acf5685a465f8cdc5","name":"@butlerlr/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@butlerlr/lotide","version":"1.0.0","description":"Lotide, a learning project clone of Lodash","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/brjl/lotide.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/brjl/lotide/issues"},"homepage":"https://github.com/brjl/lotide#readme","devDependencies":{"chai":"^4.3.0","mocha":"^8.2.1"},"gitHead":"76f88253665d51fc0b11acb911b2d0e73031585a","_id":"@butlerlr/lotide@1.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-mTpVyCGj0ILNW43aH+uaLv/0wxadfkNTnqUG7dj0IWvqa7+z1v6PvGNQhvHr/eETrtIvYzp6eI1Gmqm4raRN4A==","shasum":"6cb32ff39d19a9cc15d2600f70e95dea8fe27b70","tarball":"https://registry.npmjs.org/@butlerlr/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":21005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIcbOCRA9TVsSAnZWagAA/NEP/04wnKE4KyAJVcchvO5l\nSGNg8RRsUe88YQwbkm3lz+w0vo/ZIl4ra619BzpoxVBRDk+dJjHkHOsJ34n5\nBMx9tJdivZB82WGmjyo+Kp/IwWYTlNX1i69ifkXHRFm32Wkc07i1veEYwdeA\n9d/2x5HfHcGCw77Xp4g/fkS8mJYl947cg02UTP4Sabh5RPgWfdZxguF/p4ph\n1agK9BO0/EaVfSNXgPEtDOCbceCDK9EIjekLRi+fh1pJvoWW1k+K1oMcTXbf\nOoNkMZMqnLgNMw86mkwUS1daXJq/ToEozxNNWfiWfSyD+BvTjDcKJ7vYoHlz\n9zY1Zl6oDnPbpMveyaG3mrsH4IQc4fJWIE0O+hH1c6JYnM/Lv50QQd4VPWkP\nNopdyRENL4V8kuhjPu7shRYbRCG9BSf+e1K93sh7oSdWOzI2nEdeWO45iNK9\nd5fHclf3PLjEm5C1S97+6Xyt+vxSTSxuSPLhS50UTOiV5LDtvwSmxoJ1j/Qk\ntc55rXvs8OHCGx5xbN7aA+RAjxVjYrUZXkuSqmPDQ0NDNfwc7pkEkL3OLheW\nXGGnY/YgxpQopJPZxXDqgtFQjBYowQw8IYrUsA5J9kCNae+4so1FMZg/yaD4\nS0SPT8MklaNUy+QqpxuTlKymc/ON+T2il/NEeyJqqHcrmgAybTuHkTUQ0RWS\nVRMM\r\n=SGpj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSazEtQPgg8nTqlsU0rIMCW4rHqzHA38AtD5I4FWzH2wIhAI9QOhxAETWW0cxDLDnBC/76DGM3yKrAA96A9MzEA5vX"}]},"_npmUser":{"name":"butlerlr","email":"lrbutler@gmail.com"},"maintainers":[{"name":"butlerlr","email":"lrbutler@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1612826317960_0.963283146289514"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-08T23:18:37.923Z","1.0.0":"2021-02-08T23:18:38.088Z","modified":"2022-04-04T21:10:06.135Z"},"maintainers":[{"name":"butlerlr","email":"lrbutler@gmail.com"}],"description":"Lotide, a learning project clone of Lodash","homepage":"https://github.com/brjl/lotide#readme","repository":{"type":"git","url":"git+https://github.com/brjl/lotide.git"},"bugs":{"url":"https://github.com/brjl/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 @butlerlr/lotide`\n\n**Require it:**\n\n`const _ = require('@butlerlr/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(...)`: takes the first index of an array and generates a new array\n* `tail(...)`: takes the last index of an array and generates a new array\n* `middle(...)`: takes the middle index of an array and generates a new array\n* `flatten(...)`: generates a new array from a nested array\n* `assertObjectsEqual(...)`: asserts if objects are equal\n* `assertEqual(...)`: asserts if two strings or integers are equal\n* `assertArraysEqual(...)`: asserts if arrays are equal\n* `countLetters(...)`: counts items\n* `countOnly(...)`: counts only a certain item\n* `eqArrays(...)`: check if two arrays are equal\n* `eqObjects(...)`: check if two objects are equal\n* `findKey(...)`: find the key of an object\n* `findKeyByValue(...)`: find the key of an object using its value\n* `map(...)`: Lotide's map function\n* `letterPositions(...)`: return all the indices in the string where each character is found\n* `takeUntil(...)`: return a slice of the array with elements taken from the beginning.\n* `without(...)`: return a subset of a given array, removing unwanted elements\n","readmeFilename":"README.md"}