is-reference
npmv3.0.3TypeScriptDetermine 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.
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.
Licenses in the dependency tree
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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| is-referencethis page | 0 | 1 | MIT | 1 year ago |
| espree | 0 | 4 | BSD-2-Clause | 1 day ago |
| eslint | 138.4M | 279 | MIT | 1 day ago |
| esprima | 77.6M | 5 | BSD-2-Clause | 1 day ago |
| @webassemblyjs/ast | 0 | 7 | MIT | 1 day ago |
| @webassemblyjs/wast-printer | 0 | 1 | MIT | 1 day ago |
Dependencies
Declared by is-reference v3.0.3. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Dev (7)
Used by
Popular packages that depend on is-reference.
Relationship graph
Dependencies (left) and dependents (right) of is-reference.
Frequently installed together
An extremely fast JavaScript and CSS bundler and minifier.
ECMAScript parser
TypeScript definitions for estree
Next generation testing framework powered by Vite
Programmatic access to information about the AXObject Model
Gets the job done when JSON.stringify can't
Uses export conditions to return environment information in a way that works with major bundlers and runtimes.
Acorn plugin that parses TypeScript
TypeScript definitions for trusted-types
A tiny (239B) utility for constructing className strings conditionally.
A tool for walking ASTs
Get the line and column number of a specific character in a string
Release history
No releases in the last two years, typically about 194 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 3.0.3latest | 1 year ago | 3.9 KB | MIT |
| 3.0.2 | 3 years ago | 4.2 KB | MIT |
| 3.0.1 | 3 years ago | 4.2 KB | MIT |
| 3.0.0 | 5 years ago | 9.8 KB | MIT |
| 2.0.0 | 5 years ago | 9.6 KB | MIT |
| 1.2.1 | 6 years ago | 6.2 KB | MIT |
| 1.2.0 | 6 years ago | 6.2 KB | MIT |
| 1.1.4 | 7 years ago | 5.6 KB | MIT |
| 1.1.3 | 7 years ago | 5.4 KB | MIT |
| 1.1.2 | 7 years ago | 5.2 KB | MIT |
| 1.1.1 | 7 years ago | 5.2 KB | MIT |
| 1.1.0 | 8 years ago | — | MIT |
| 1.0.1 | 9 years ago | — | MIT |
| 1.0.0 | 9 years ago | — | MIT |
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.