isexe
npmv4.0.0TypeScriptMinimal module to check if a file is executable.
Safe to adopt
Yes — isexe scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 212 days ago. 5 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 212 days ago. 5 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 63 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 isexe 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 >=20
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the isexe README.
// default export is a minified version that doesn't need to
// load more than one file. Load the 'isexe/raw' export if
// you want the non-minified version for some reason.
import { isexe, sync } from 'isexe'
// or require() works too
// const { isexe } = require('isexe')
isexe('some-file-name').then(
isExe => {
if (isExe) {
console.error('this thing can be run')
} else {
console.error('cannot be run')
}
},Dependencies
Declared by isexe v4.0.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (6)
Used by
Popular packages that depend on isexe.
Relationship graph
Dependencies (left) and dependents (right) of isexe.
Release history
5 releases in the last two years, typically about 3 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.0.0latest | 7 months ago | 63 KB | BlueOak-1.0.0 |
| 3.1.5 | 7 months ago | 63 KB | BlueOak-1.0.0 |
| 3.1.4 | 7 months ago | 63 KB | BlueOak-1.0.0 |
| 3.1.3 | 7 months ago | 62 KB | BlueOak-1.0.0 |
| 3.1.2 | 7 months ago | 42 KB | BlueOak-1.0.0 |
| 3.1.1 | 3 years ago | 42 KB | ISC |
| 3.1.0 | 3 years ago | 227 KB | ISC |
| 3.0.0 | 3 years ago | 226 KB | ISC |
| 2.0.0 | 9 years ago | — | ISC |
| 1.1.2 | 10 years ago | — | ISC |
| 1.1.1 | 10 years ago | — | ISC |
| 1.1.0 | 10 years ago | — | ISC |
| 1.0.1 | 10 years ago | — | ISC |
| 1.0.0 | 10 years ago | — | ISC |
Overview
isexe is an npm package that minimal module to check if a file is executable. It has 1 known dependents in the graph. The latest version is 4.0.0, released under the BlueOak-1.0.0 license.
Who should use it
Teams working in the npm ecosystem who need minimal module to check if a file is executable 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 isexe?
Yes — isexe scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 212 days ago. 5 releases in the last 2 years.
How do I install isexe?
Run `npm install isexe` to add isexe to your npm project.
What license is isexe released under?
isexe is distributed under the BlueOak-1.0.0 license.
How popular is isexe?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on isexe.
Is isexe still maintained?
The most recent release of isexe (v4.0.0) was published 7 months ago.
Does isexe run install scripts?
No. isexe does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.