Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

@coderabbitai/ast-grep-langs
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Node.js CI Coverage GitHub Pages Dependabot Updates CodeRabbit Reviews GitHub Downloads NPM Downloads

Exports all first-party ast-grep languages

Installation

pnpm i @coderabbitai/ast-grep-langs @ast-grep/napi

Usage

import { registerDynamicLanguage } from "@ast-grep/napi"
import { langs } from "@coderabbitai/ast-grep-langs"

// @ts-expect-error Type `StaticLangRegistration` is missing the following
// properties from type `LangRegistration`: `libraryPath`, `extensions`.
registerDynamicLanguage(langs)

/@coderabbitai/ast-grep-langs/

    Package Sidebar

    Install

    npm i @coderabbitai/ast-grep-langs

    Weekly Downloads

    27

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    29 kB

    Total Files

    15

    Last publish

    Collaborators

    • coderabbitai