Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@timajuma/lotide
Advanced tools
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 @timajuma/lotide
Require it:
const _ = require('@timajuma/lotide');
Call it:
const results = _.tail([1, 2, 3]) // => [2, 3]
The following functions are currently implemented:
head(array)
: return head (first element) of any array passed. returns 'underfined when an empty array is passedtail(array)
: return tail (all elements except first) of any array passed. returns same as input when passed argument is not an arraymiddle(array)
: return one element from moddle if length of array is ODD, and 2 elements from middle when passed rray has EVEN length. returns an empty array when length of an array =<2;FAQs
replication of lodash library used for education purposes only.
The npm package @timajuma/lotide receives a total of 2 weekly downloads. As such, @timajuma/lotide popularity was classified as not popular.
We found that @timajuma/lotide 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.