</>PackageGraphPackageGraph

is-reference

npmv3.0.3TypeScript

Determine whether an AST node is a reference

Adopt with care

is-reference is usable, with caveats. Last published 666 days ago.

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

    No download data reported for this package yet.

  • CMaintenance: grade C, Fair — worth a look.

    Last published 666 days ago.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 29 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 is-reference to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

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

29 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing is-reference, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
No constraint declared
Module format
ESM only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the is-reference README.

console.log(foo);
var foo;
function foo() {}
function bar(foo) {}
export { foo as x };

is-reference vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
is-referencethis page01MIT1 year ago
espree04BSD-2-Clause1 day ago
eslint138.4M279MIT1 day ago
esprima77.6M5BSD-2-Clause1 day ago
@webassemblyjs/ast07MIT1 day ago
@webassemblyjs/wast-printer01MIT1 day ago

Dependencies

Declared by is-reference v3.0.3. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (7)

acorn ^8.0.5acorn-class-fields ^1.0.0acorn-static-class-features ^1.0.0dts-buddy ^0.5.3estree-walker ^3.0.0typescript ^5.6.3uvu ^0.5.6

Used by

Popular packages that depend on is-reference.

Relationship graph

Dependencies (left) and dependents (right) of is-reference.

@types/estreesvelteis-reference
is-reference dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 194 days apart.

Recent versions of is-reference
VersionPublishedSizeLicense
3.0.3latest1 year ago3.9 KBMIT
3.0.23 years ago4.2 KBMIT
3.0.13 years ago4.2 KBMIT
3.0.05 years ago9.8 KBMIT
2.0.05 years ago9.6 KBMIT
1.2.16 years ago6.2 KBMIT
1.2.06 years ago6.2 KBMIT
1.1.47 years ago5.6 KBMIT
1.1.37 years ago5.4 KBMIT
1.1.27 years ago5.2 KBMIT
1.1.17 years ago5.2 KBMIT
1.1.08 years agoMIT
1.0.19 years agoMIT
1.0.09 years agoMIT

Overview

is-reference is an npm package that determine whether an AST node is a reference. It has 1 known dependents in the graph. The latest version is 3.0.3, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need determine whether an AST node is a reference 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 (MIT).

Cons

  • No significant drawbacks detected from available metadata.

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

Maintainers

Keywords

Frequently asked questions

Should I use is-reference?

is-reference is usable, with caveats. Last published 666 days ago.

How do I install is-reference?

Run `npm install is-reference` to add is-reference to your npm project.

How many dependencies does is-reference have?

is-reference declares 8 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 29 KB on disk.

What license is is-reference released under?

is-reference is distributed under the MIT license.

How popular is is-reference?

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

Is is-reference still maintained?

The most recent release of is-reference (v3.0.3) was published 1 year ago.

Does is-reference run install scripts?

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