{"_id":"@astridcha/lotide","_rev":"1-8042d1aa53eeeb0e0541926e17995144","name":"@astridcha/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@astridcha/lotide","email":"astridcha@gmail.com","url":"https://github.com/astridcha1x","version":"1.0.0","description":"A Lighthouse Labs Project","devDependencies":{"chai":"^4.3.4","mocha":"^8.3.2"},"scripts":{"test":"mocha"},"dependencies":{"lotide":"^1.0.1","my-package":"*"},"gitHead":"697bc5d52f5e30e11a437df55da83c66e59ebeb9","_id":"@astridcha/lotide@1.0.0","_nodeVersion":"10.20.1","_npmVersion":"7.8.0","dist":{"integrity":"sha512-P/5ayG62ihCKEpR1tXxpw8hgw/mNpHmbQXbcrTgkBLPuegKZwLXO5/R89nk7DrEOqMPdOd8HBthnP/KutbCsuw==","shasum":"910f42281c25b85ee9e826c9de1633e6fc7a14de","tarball":"https://registry.npmjs.org/@astridcha/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":15995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbkUZCRA9TVsSAnZWagAA10UP+wd9ty9NZfSsr87RWn9q\naQEBkddNXFbvHt2l19vy2vlnpyPchyZ3Bs0PJN2YY+l9k02M0/koIXATQLS1\nilFz8+Cc2zU/qNpnYUw3IYsNo1T230ik2rpWAhfM22iJaFJ/0tiCNFnFy72t\n6imGw347poaNyNQdDX+JgiCcxgHy/oVmUIieBJ5G8Ri1g5dMOzTz+PCCHaIY\nakYB381KAa3PLTWYS1UXAHkdiwgiENE+sG47wq772SuEQ67mpFsHKupy9hDe\n1dU4sX68uH0sxBJMlfkvDz5T7aGfHwgzQ8pWBtSS1Q4MLXq8cD/2EaaXOjW/\nte2f6515rL/0lzWZoriHL7kuvXffi/ez/JkZlTaAfSM0Wzv04XunSjcl16Ji\nACc7KBQskBZKwxEmMRmrFEHpeicY3pnGyUnpNF1kro2iGxZwKjwgr0Br4AqQ\nttrzx7PmquVZ3SaOhwRm/29fFmxkFC4LRgxUQMOv9YllhSJm9cbhceBqNPeK\nGeBU6R+zuR2xKNx7G+yAFu5acplkxJdiwOf9PuMMkjfPd38ezJUCRApqf2Nz\npX/b+/X5TheaTSQOdqtJ8VnBPJgVyeadziXMwF6WtmF7XXGMhLvjwVfGkf6q\nSvQcBAJAqwrPBOkE57Q6Cf+U7UZgdYXPtIaqi/5uVlKk1jhdqZHjtCpmeq+d\nfRXc\r\n=2ame\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVzDzKEgBypiJwBxW4f4NuVqdUIS1DVHFuTqDOhO2S3QIgdjW4imIfp+S27DIw9FN6+vyzhfondbN9qHyG7AGfL1s="}]},"_npmUser":{"name":"astridcha","email":"astridchaguilar@gmail.com"},"directories":{},"maintainers":[{"name":"astridcha","email":"astridchaguilar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1617839384949_0.04091438479040721"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-07T23:49:44.894Z","1.0.0":"2021-04-07T23:49:45.110Z","modified":"2022-04-04T15:54:21.809Z"},"maintainers":[{"name":"astridcha","email":"astridchaguilar@gmail.com"}],"description":"A Lighthouse Labs Project","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 @astridcha/lotide`\n\n**Require it:**\n\n`const _ = require('@astridcha/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* `assertEqual`: compares two values to see whether or not they're equal\n* `assertArraysEqual`: compares two arrays to see whether or not they're equal\n* `assertObjectsEqual`: compares two objects to see whether or not they're equal\n* `countLetters`: returns the number count of letters in a given string\n* `countOnly`: returns counts for a specific subset of given items\n* `eqArrays`: compares two arrays\n* `eqObjects`: compares two objects\n* `findKey`: returns the first key for which the callback returns a truthy value\n* `findKeyByValue`: searches for a key on an object where its value matches a given value\n* `head`: returns the first item in a given array\n* `middle`:returns the middle item in a given array (if applicable)\n* `tail`: returns the rest of the elements in an array after the head\n* `index`: a list of all of the functions in an object\n* `letterPositions`: returns all indices in the string where each character is found\n* `map`: creates new array with the results of calling a provided function on every element in the calling array\n* `takeUntil`: returns a \"slice of the array with elements taken from the beginning\"\n*  `without`: removes elements from an array","readmeFilename":"README.md"}