Iterate any iterable JS value. Works robustly in all environments, all versions.
Repositories
ljharb repositories
JavaScript Style Guide
Keeping the project alive.
Read from and write to a JSON file, minimizing diffs and preserving formatting.
read from, write to and return a JSON string, minimizing diffs and preserving indents/fileending
List of my projects and resume
Encode and decode a string using the "look between X and Y on your keyboard" meme format
A Swiss Army knife for language tags.
Given a package name and a version number, or a path to a package.json, what specifiers does it expose?
Turn an array into a list of comma-separated values, appropriate for use in an English sentence.
Info about an npm project - which lockfile version, which lockfile(s) are present, etc.
Tools to validate and secure your npm ecosystem lockfiles.
Determine if your dependency graph's stated "engines" criteria is met.
List your dependency graph, grouped by publishers.
Function that returns an arbitrary arrow function, or undefined if arrow function syntax is unsupported.
Function that returns an arbitrary `async function`, or undefined if `async function` syntax is unsupported.