</>PackageGraphPackageGraph

isexe

npmv4.0.0TypeScript

Minimal 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.

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.

63 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 >=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')
    }
  },
Example truncated — see the full README.

Dependencies

Declared by isexe v4.0.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (6)

@types/node ^25.2.1esbuild ^0.27.3prettier ^3.8.1tap ^21.5.1tshy ^3.1.3typedoc ^0.28.16

Used by

Popular packages that depend on isexe.

Relationship graph

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

whichisexe
isexe dependencies dependents

Release history

5 releases in the last two years, typically about 3 days apart.

Recent versions of isexe
VersionPublishedSizeLicense
4.0.0latest7 months ago63 KBBlueOak-1.0.0
3.1.57 months ago63 KBBlueOak-1.0.0
3.1.47 months ago63 KBBlueOak-1.0.0
3.1.37 months ago62 KBBlueOak-1.0.0
3.1.27 months ago42 KBBlueOak-1.0.0
3.1.13 years ago42 KBISC
3.1.03 years ago227 KBISC
3.0.03 years ago226 KBISC
2.0.09 years agoISC
1.1.210 years agoISC
1.1.110 years agoISC
1.1.010 years agoISC
1.0.110 years agoISC
1.0.010 years agoISC

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.