New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@codemod.com/ast-grep-lang-angular

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemod.com/ast-grep-lang-angular

## Installation

0.0.7
latest
npm
Version published
Weekly downloads
34
-90.2%
Maintainers
0
Weekly downloads
 
Created
Source

ast-grep napi language for angular

Installation

In a pnpm project, run:

pnpm install @ast-grep/lang-angular
pnpm install @ast-grep/napi
# install the tree-sitter-cli if no prebuild is available
pnpm install @tree-sitter/cli --save-dev

Usage

import angular from '@ast-grep/lang-angular'
import { registerDynamicLanguage, parse } from '@ast-grep/napi'

registerDynamicLanguage({ angular })

const sg = parse('angular', `your code`)
sg.root().kind()

Keywords

ast-grep

FAQs

Package last updated on 28 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts