escalade
npmv3.2.0TypeScriptA tiny (183B to 210B) and fast utility to ascend parent directories
Adopt with care
escalade is usable, with caveats. Last published 741 days ago.
- AAdoption: grade A, Excellent.
136.6M downloads per week and 3 known dependents.
- DMaintenance: grade D, Poor — a real concern.
Last published 741 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 12 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — 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 escalade 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 >=6
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the escalade README.
//~> demo.js
import { join } from 'path';
import escalade from 'escalade';
const input = join(__dirname, 'demo.js');
// or: const input = __dirname;
const pkg = await escalade(input, (dir, names) => {
console.log('~> dir:', dir);
console.log('~> names:', names);
console.log('---');
if (names.includes('package.json')) {
// will be resolved into absoluteescalade vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| escaladethis page | 136.6M | 3 | MIT | 2 years ago |
| find-up-simple | 0 | 2 | MIT | 1 day ago |
| pkg-dirdeprecated | 0 | 1 | MIT | 1 day ago |
| find-up | 0 | 4 | MIT | 1 day ago |
| make-dir | 0 | 2 | MIT | 1 day ago |
| p-locate | 216.9M | 1 | MIT | 1 day ago |
Dependencies
Declared by escalade v3.2.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (3)
Used by
Popular packages that depend on escalade.
A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3
CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
yargs the modern, pirate-themed, successor to optimist.
Relationship graph
Dependencies (left) and dependents (right) of escalade.
Frequently installed together
Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset
The tiniest and the fastest library for terminal output formatting with ANSI colors
An AST-based pattern checker for JavaScript.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
TypeScript definitions for node
Like which(1) unix command. Find the first instance of an executable in the PATH.
easily create complex multi-column command-line-interfaces
the mighty option parser used by yargs
the bare-bones internationalization library used by yargs
TypeScript definitions for chai
Cross platform child_process#spawn and child_process#spawnSync
Get the visual width of a string - the number of columns required to display it
Release history
No releases in the last two years, typically about 23 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 3.2.0latest | 2 years ago | 12 KB | MIT |
| 3.1.2 | 2 years ago | 11 KB | MIT |
| 3.1.1 | 5 years ago | 11 KB | MIT |
| 3.1.0 | 6 years ago | 11 KB | MIT |
| 3.0.2 | 6 years ago | 11 KB | MIT |
| 3.0.1 | 6 years ago | 11 KB | MIT |
| 3.0.0 | 6 years ago | 11 KB | MIT |
| 2.0.0 | 6 years ago | 11 KB | MIT |
| 1.0.0 | 6 years ago | 11 KB | MIT |
| 0.0.0 | 6 years ago | 1.7 KB | MIT |
Overview
escalade is an npm package that a tiny (183B to 210B) and fast utility to ascend parent directories. It is extremely widely used, with about 136.6M downloads per week and 3 known dependents in the graph. The latest version is 3.2.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a tiny (183B to 210B) and fast utility to ascend parent directories and value a battle-tested, widely-adopted 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
- Large, well-established user base (136.6M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Lean dependency tree (3 direct dependencies).
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 escalade?
escalade is usable, with caveats. Last published 741 days ago.
How do I install escalade?
Run `npm install escalade` to add escalade to your npm project.
What license is escalade released under?
escalade is distributed under the MIT license.
How popular is escalade?
escalade has approximately 136,594,460 downloads per week and 3 known dependent packages.
Is escalade still maintained?
The most recent release of escalade (v3.2.0) was published 2 years ago.
Does escalade run install scripts?
No. escalade does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.