npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@salma.ibs/lotide

v1.0.0

Published

Mini clone of Lodash. Project for learning purposes at LHL

Downloads

3

Readme

Lotide

A mini clone of the Lodash library.

Purpose

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.

Usage

Install it:

npm install @salma.ibs/lotide

Require it:

const _ = require('@salma.ibs/lotide');

Call it:

const results = _.tail([1, 2, 3]) // => [2, 3]

Version: 1.0.0

Documentation

The following functions are currently implemented: NOT COMPLETE,would like to refactor more!

  • assertEqual(actual, expected): Allows us to see if two paramteres are exactly the same and console.log an appropriate success or failure message to the console.
  • eqArrays(array1, array2): takes two arrays and compares thems for a perfect match
  • assertArraysEqual(actual, expected): This function two arrays and console.log an appropriate success or failure message to the console.
  • head(array): This function will retirev the first element, or head, of an array
  • tail(array): This function splices the first element of an array and retieves the tail, or all others elements AFTER the head
  • middle(array): This function takes an array and retieve the middle numbers, if length on arry is odd it will retrieve the inner most element. If it is an even lengthed, then it will retrive the two middle most elements
  • without(array1, array2): This function takes two array, a selection array and a what NOT to keep array. It will return a new array without the elements indidcated in the second.
  • countOnly(allItems, itemsToCount): This function will return a new an object with counts of everything that the input object listed.
  • countLetters(string): This function will take in a string and return an object with the letters as keys and the number of times they appear in the string
  • letterPositions(string): This position returns and object all the letters as keys and the position/indeces of where each character is found in the string as the values.
  • map(array, callback): this funtion takes an array and callback. It retrives the first letter of each word in the array and creates a new aray.
  • takeUntil(array, callback): This function uses an array and caalback and returns all the elements in a new array until the callback returns a truthy value. (Returns all the poitive numbers in an array until callback finds a negative)
  • eqObjects(Obj1, Obj2): This function takes two objects and see is they are identical
  • assertObjectsEqual(actual, expected): This function takes two objects and console.log an appropriate success or failure message to the console.