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 🙏

© 2024 – Pkg Stats / Ryan Hefner

understreck

v0.14.0

Published

Lightweight Javascript utility functions library without global dependency. Based on lodash.

Downloads

34

Readme

understreck

Lightweight Javascript utility functions library without global dependency. Based on lodash.

Functions

debounce: See lodash
defer: See lodash
not: See lodash
throttle: See lodash
wrap: See lodash

Array

difference: See lodash
differenceBy: See lodash
distinct: See lodash
take: See lodash
union: See lodash
unique: See lodash
uniqueBy: See lodash

Object/Map

extend: See lodash
keys: See lodash
merge: See lodash, but does not mutate objects.
omit: See lodash
pick: See lodash
size: See lodash
transform: See lodash
values: See lodash
createMap: [k1, v1, k2, v2, ...] Creates a map with the given key value pairs.

Collections

clone: See lodash
compact: See lodash
find: See lodash
findIndex: See lodash
flatten: See lodash
flattenDeep: See lodash
filter: [collection, predicate] Returns empty array if collection is undefined, otherwise filters collection using predicate.
forEach: See lodash
get: See lodash
set: See lodash
includes: See lodash
intersection: See lodash
keyBy: See lodash
map: See lodash
reduce: See lodash
reduceRight: See lodash
reject: See lodash
shuffle: See lodash
some: See lodash
sortBy: See lodash
containsValue: [collection, element] Returns true if the collection has element as a value, otherwise false
containsKey: [collection, element] Returns true if the collection has element as a key, otherwise false

Lang

isArray: See lodash
isBoolean: See lodash
isDate: See lodash
isElement: See lodash
isEmpty: See lodash
isEqual: See lodash
isFunction: See lodash
isInteger: See lodash
isNil: See lodash
isNull: See lodash
isNumber: See lodash
isObject: See lodash
isRegExp: See lodash
isString: See lodash
isUndefined: See lodash
parseNumber Parses the given string to a number. Will return null if invalid characters exist.

Misc

uniqueId: [optional prefix] Returns a (hopefully) unique id, based on uuid principles.