
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
lotide-library
Advanced tools
A Javascript library of functions that I've made at LHL Intro to Web Development bootcamp.
A mini clone of the Lodash library.
BEWARE: This library was published for learning purposes. It is not intended for use in production-grade software.
This project was created and published by me as part of my learnings at Lighthouse Labs.
Install it:
npm install @emikeke/lotide
Require it:
const _ = require('@emikeke/lotide');
Call it:
const results = _.tail([1, 2, 3]) // => [2, 3]
The following functions are currently implemented:
head: returns first element in an arraytail: returns everything except first element in an arraymiddle: returns middle-most element(s) in an arrayassertArraysEqual: returns T/F after comparing actual with expected value (supports non primitive types)assertEqual: compares actual with expected value (doesn't support objects & array)assertObjectsEqual: returns T/F after comparing actual with expected value (supports objects)countLetters: returns a count of each of the letters in a stringcountOnly: returns counts for a specific subset of itemseqArrays: compares actual with expected value (supports arrays)eqObjects: takes 2 objects, returns T/F based on a perfect matchfindKey: returns the first key for which the callback returns a truthy value if no key ifindKeyByValue: returns the first key with contains the given valueletterPositions: return all the indicies in the string where each character is foundmap: returns a new array based on the results of the callback functiontakeUntil: returns a slice of the array with elements taken from the beginning and keeps going until the callback/predicate returns a truthy valuewithout: returns a subset of a given array, removing unwanted elementsFAQs
A Javascript library of functions that I've made at LHL Intro to Web Development bootcamp.
We found that lotide-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.