yallist
npmv5.0.0TypeScriptYet 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
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 + kDependencies
Declared by yallist v5.0.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (4)
Used by
Popular packages that depend on yallist.
Relationship graph
Dependencies (left) and dependents (right) of yallist.
Frequently installed together
An extremely fast JavaScript and CSS bundler and minifier.
Prettier is an opinionated code formatter
TypeScript definitions for node
like `chown -R`
A small fast zlib stream built on [minipass](http://npm.im/minipass) and Node.js's zlib binding.
fs read and write streams based on minipass
Release history
No releases in the last two years, typically about 1 day apart.
| Version | Published | Size | License |
|---|---|---|---|
| 5.0.0latest | 2 years ago | 78 KB | BlueOak-1.0.0 |
| 4.0.0 | 7 years ago | 14 KB | ISC |
| 3.1.1 | 7 years ago | 14 KB | ISC |
| 3.1.0 | 7 years ago | 14 KB | ISC |
| 3.0.3 | 7 years ago | 13 KB | ISC |
| 3.0.2 | 9 years ago | — | ISC |
| 2.1.2 | 9 years ago | — | ISC |
| 3.0.1 | 9 years ago | — | ISC |
| 3.0.0 | 9 years ago | — | ISC |
| 2.1.1 | 9 years ago | — | ISC |
| 2.1.0 | 9 years ago | — | ISC |
| 2.0.1 | 9 years ago | — | ISC |
| 2.0.0 | 10 years ago | — | ISC |
| 1.1.0 | 10 years ago | — | ISC |
| 1.0.2 | 10 years ago | — | ISC |
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.