Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 16, 2024 via pnpm

@types/estree 0.0.51

TypeScript definitions for ESTree AST specification
Package summary
Share
0
issues
1
license
1
MIT
Package created
17 May 2016
Version published
6 Feb 2022
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
@types/estree@0.0.51
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of @types/estree 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does @types/estree do?

The @types/estree package provides TypeScript definitions for the ESTree specification.

How do you use @types/estree?

The @types/estree package is mainly used by adding it as a dependency to your JavaScript project. This is done by simply installing the package via npm like so:

npm install --save @types/estree

Once installed, you can then import and use its definitions in your TypeScript files. Here's a basic usage example:

import * as ESTree from "@types/estree";

let node: ESTree.Node = {
  type: "Identifier",
  name: "foo"
};

console.log(node.name); // prints: foo

In the above example, we have defined a variable node of type ESTree.Node. This package provides many such pre-defined typings that makes working with the ESTree specification easier.

Where are the @types/estree docs?

The documentation for the @types/estree package is not provided in the readme file of the repository. On GitHub, the best source of documentation is the code itself as the TypeScript definitions are self-explanatory and directly relate to the ESTree specification. You can navigate to the DefinitelyTyped repository shared in your question and go to the @types/estree folder to check the TypeScript definition files.