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

@d.ingram/lotide

v1.0.5

Published

Lotide

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. It is admittedly very buggy.

This project was created and published by me as part of my learnings at Lighthouse Labs. I have retuned to extensively de-bug and improve functionality for this program. Please note if using previous commits on gihub; the comments must be read to understand what bugs or errors were still present, and will be introduced if you implement the previous version. For fellow students I highly encourage you to read the commit history and notes to see what an interative learning expereince looks like.

Usage

Install it:

npm install @d.ingram/lotide

Require it:

function _ = require('@d.ingram/lotide');

Call it:

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

Documentation

The following functions are currently implemented:

  • `function (assertArraysEqual)' : Return a boolean assertion for array equality
  • 'function (assertEqual)': Return a boolean assertion for array value equality
  • function (assertObjectsEqual)' : Return a boolean assertion for object equality
  • 'function (countLetters )' : Count occurances of letters in a given array.
  • 'function (countOnly)' : Count only the specified items in a given array of items.
  • 'function (eqArrays)' : Test if arrays are absolutely equal.
  • 'function (eqObjects)' : Test if objects are absolutely equal.
  • 'function (head)' : Find the and return the head of an array.
  • 'function (findKey)' : Find the key in a given object, and return first match found.
  • 'function (findKeyByValue)' : Find the key with value in a given object, and test if it matches.
  • 'function (flatten)' : Take a nested array and return all sub levels to one level.
  • 'functions (index)' : List of all functions in library.
  • 'function (letterPositions)' : Find the indexed position of letters in a string.
  • 'function (map)' : Find and test if words absolutely match in a string.
  • 'function (middle)' : Find and return the middle of an array, when odd the middle most element, when even 2 middle most elements.
  • 'function (takeUntil)' : Take and return given elements of a string until cue to stop.
  • 'function (tail)': Find and return everythign except the first element of the array.
  • 'function (without)' : Find an return subset of given array.
  • `function (assertArraysEqualTest)' : Test if given arrays are equal.
  • 'function (assertEqualTest)': Test if given arrays are equal.
  • 'function (eqArraysTest)' : Test if given arrays are equal.
  • 'function (headTest)' : Test if the correct head value is returned.
  • 'function (middleTest)' : Test if the correct middle value is returned.