{"_id":"@b-waterman/lotide","name":"@b-waterman/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@b-waterman/lotide","version":"1.0.0","description":"A utility library inspired by the Lodash project, to learn the fundamentals of programming and data management using JavaScript.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/B-Waterman/lotide.git"},"author":{"name":"Brooke Waterman"},"license":"ISC","bugs":{"url":"https://github.com/B-Waterman/lotide/issues"},"homepage":"https://github.com/B-Waterman/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"caca2f2029b4ee892400269c7229404671c24874","_id":"@b-waterman/lotide@1.0.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-znMHATNhRllUqhDdBXew+55sMUHC85y4HyRfPV9dvmFx9ez48M7/Oq7W4UicTTmQ6YFk05Or3dMqmlwdiruIlg==","shasum":"c8d1797deac51e928907a7fbf2769e2f97717d9e","tarball":"https://registry.npmjs.org/@b-waterman/lotide/-/lotide-1.0.0.tgz","fileCount":33,"unpackedSize":14796,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF06rNhNnfWgTtlEJrj34omM5sDyZPNln3ZXYvdL9tx0AiA7Ckmbc87bU6AB+BcsfHGnUGV0x56jOWyaSWCLuzY38g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj77sfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBkhAAgv55kSBN87QbWMME8S2nIEDe22+YoXaqtAixg7vTzDnSpW7u\r\n2kaFxCeDYLJCW6qSBF+34V0qY6qGHethpW2MtRd+Gpr0NchpQPtzz/7YFOOp\r\nn/OTZZh2u7kcw4m7uyngL63P8Mk0Di66eO7nY2nSwoKOkSSLvu0xoXjtdgz1\r\nwLezjFFonSUCiKWsRC2ZuNN4W+6ZphxGHZpdRQLg0/1wj6ufgQrNVo7PBi4L\r\nsI+3PDVphGIrJ6HuXeENUFWR7JnPdvYU1fMP3B3lbJHi9bfYLU1f4WU8QkPA\r\nqcThNW7u/jk5dTtXWAc2zIemn5dZ6l1WSMRCsdngWfAIk1Jtlr0f4tQR5jLl\r\n49UhtqZH2+wPepcyc3Zirpfn4Hhi6RyGLYOMEZHYHpASQBJdtZHrxp+BJJmh\r\nIVK+oms8AFsZnnDtc3GweC02IITq+DdQpF6kzwvkuCrfFQmzsQ3zypFWz5Ke\r\nJIWu9SIWWpL2Yp0TPApsWVWO9z14ogQ8mBHRcygkGHeEkPwQQmk8g4P4lJuD\r\natGUV119kHtPenUYPJ+yU+rcxBjhUb6TQj23LPQSj741hB4CofG+8mGPfdcC\r\nIsnUoaXKkTEyu+dR24A10I/Yfn4xQki5gD7GDdvpHrhzkieRxgBvD6UsCG0t\r\nB/LjPPASZ2dUmJcAvMtPFj+tvne3YlZtqBw=\r\n=Kg2z\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"b-waterman","email":"brooke.waterman@outlook.com"},"maintainers":[{"name":"b-waterman","email":"brooke.waterman@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1676655391027_0.8865631010593005"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-17T17:36:30.978Z","1.0.0":"2023-02-17T17:36:31.170Z","modified":"2023-02-17T17:36:31.306Z"},"maintainers":[{"name":"b-waterman","email":"brooke.waterman@outlook.com"}],"description":"A utility library inspired by the Lodash project, to learn the fundamentals of programming and data management using JavaScript.","homepage":"https://github.com/B-Waterman/lotide#readme","repository":{"type":"git","url":"git+https://github.com/B-Waterman/lotide.git"},"author":{"name":"Brooke Waterman"},"bugs":{"url":"https://github.com/B-Waterman/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 @b-waterman/lotide`\n\n**Require it:**\n\n`const _ = require('@b-waterman/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* `assertArraysEqual`: function that asserts whether two arrays are equal\n* `assertEqual`: A function that asserts whether two values are equal\n* `assertObjectEqual`: A function that asserts whether two objects are equal\n* `countLetters`: A function that returns the total number letters of a given string\n* `countOnly`: A function that receives a string and only returns the total of the selected items within it\n* `eqArrays`: A function that compares two arrays\n* `eqObjects`: A function that compares two objects\n* `findKey`: A function that takes in an object and returns the first key to return truthy\n* `findKeyByValue`: A function that returns the key with the matching value\n* `head`: A function that returns the first element of an array\n* `letterPositions`: A function that returns the indices of each character in a given string\n* `map`: A function that calls a function on every element in an array and returns a new array of the result\n* `middle`: A function that returns the middle element of a given array\n* `tail`: A function that retrieves the elements of the original array and returns a new array, excluding the first element\n* `takeUntil`: A function that slices a given array and returns a new array with elements from the beginning\n* `without`: A function that removes selected elements from an array\n","readmeFilename":"README.md"}