is-reference
npmv3.0.3TypeScriptDetermine whether an AST node is a reference
Overview
is-reference is an npm package that determine whether an AST node is a reference. It is extremely widely used, with about 20.8M downloads per week and 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 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 (20.8M weekly downloads).
- 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.
Relationship graph
Dependencies (left) and dependents (right) of is-reference.
Dependencies
Runtime (1)
Dev (7)
Used by
Popular packages that depend on is-reference.
Alternatives to is-reference
An Esprima-compatible JavaScript parser built on Acorn
An AST-based pattern checker for JavaScript.
WebAssembly text format printer
AST utils for webassemblyjs
WebAssembly binary format parser
A query library for ECMAScript AST using a CSS selector like query language.
A JavaScript parser
`Object.defineProperty`, but not IE 8's broken one.
Types for the TypeScript-ESTree AST spec
A robust, ES3 compatible, "has own property" predicate.
Support for `import <defer|source>` phase syntax in Acorn
prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.
Frequently installed together
An extremely fast JavaScript and CSS bundler and minifier.
Encode/decode sourcemap mappings
Modify strings, generate sourcemaps
Programmatic access to the ARIA specification
Remap sequential sourcemaps through transformations to point at the original source code
A tiny (239B) utility for constructing className strings conditionally.
Next generation testing framework powered by Vite
Programmatic access to information about the AXObject Model
TypeScript definitions for trusted-types
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.
Parse in reverse
Version history
| Version | Published | License |
|---|---|---|
| 3.0.3latest | 1 year ago | MIT |
| 3.0.2 | 2 years ago | MIT |
| 3.0.1 | 3 years ago | MIT |
| 3.0.0 | 5 years ago | MIT |
| 2.0.0 | 5 years ago | MIT |
| 1.2.1 | 6 years ago | MIT |
| 1.2.0 | 6 years ago | MIT |
| 1.1.4 | 6 years ago | MIT |
| 1.1.3 | 7 years ago | MIT |
| 1.1.2 | 7 years ago | MIT |
| 1.1.1 | 7 years ago | MIT |
| 1.1.0 | 8 years ago | MIT |
| 1.0.1 | 9 years ago | MIT |
| 1.0.0 | 9 years ago | MIT |
Maintainers
Keywords
Frequently asked questions
How do I install is-reference?
Run `npm install is-reference` to add is-reference to your npm project.
What license is is-reference released under?
is-reference is distributed under the MIT license.
How popular is is-reference?
is-reference has approximately 20,814,213 downloads per week and 1 known dependent packages.