</>PackageGraphPackageGraph

yallist

npmv5.0.0TypeScript

Yet Another Linked List

Adopt with care

yallist is usable, with caveats. Last published 883 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • DMaintenance: grade D, Poor — a real concern.

    Last published 883 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 78 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    BlueOak-1.0.0 — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding yallist to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

78 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >=18
Module format
ESM + CommonJS
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the yallist README.

import { Yallist } from 'yallist'
var myList = new Yallist([1, 2, 3])
myList.push('foo')
myList.unshift('bar')
// of course pop() and shift() are there, too
console.log(myList.toArray()) // ['bar', 1, 2, 3, 'foo']
myList.forEach(function (k) {
  // walk the list head to tail
})
myList.forEachReverse(function (k, index, list) {
  // walk the list tail to head
})
var myDoubledList = myList.map(function (k) {
  return k + k
Example truncated — see the full README.

Dependencies

Declared by yallist v5.0.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (4)

prettier ^3.2.5tap ^18.7.2tshy ^1.13.1typedoc ^0.25.13

Used by

Popular packages that depend on yallist.

Relationship graph

Dependencies (left) and dependents (right) of yallist.

taryallist
yallist dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 1 day apart.

Recent versions of yallist
VersionPublishedSizeLicense
5.0.0latest2 years ago78 KBBlueOak-1.0.0
4.0.07 years ago14 KBISC
3.1.17 years ago14 KBISC
3.1.07 years ago14 KBISC
3.0.37 years ago13 KBISC
3.0.29 years agoISC
2.1.29 years agoISC
3.0.19 years agoISC
3.0.09 years agoISC
2.1.19 years agoISC
2.1.09 years agoISC
2.0.19 years agoISC
2.0.010 years agoISC
1.1.010 years agoISC
1.0.210 years agoISC

Overview

yallist is an npm package that yet Another Linked List. It has 1 known dependents in the graph. The latest version is 5.0.0, released under the BlueOak-1.0.0 license.

Who should use it

Teams working in the npm ecosystem who need yet Another Linked List and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (BlueOak-1.0.0).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use yallist?

yallist is usable, with caveats. Last published 883 days ago.

How do I install yallist?

Run `npm install yallist` to add yallist to your npm project.

What license is yallist released under?

yallist is distributed under the BlueOak-1.0.0 license.

How popular is yallist?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on yallist.

Is yallist still maintained?

The most recent release of yallist (v5.0.0) was published 2 years ago.

Does yallist run install scripts?

No. yallist does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.