Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/babel__standalone

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/babel__standalone

TypeScript definitions for @babel/standalone

  • 7.1.9
  • ts4.9
  • ts5.0
  • ts5.1
  • ts5.2
  • ts5.3
  • ts5.4
  • ts5.5
  • ts5.6
  • ts5.7
  • ts5.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Installation

npm install --save @types/babel__standalone

Summary

This package contains type definitions for @babel/standalone (https://github.com/babel/babel/tree/master/packages/babel-standalone).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__standalone.

index.d.ts

import { BabelFileResult, FileResultCallback, TransformOptions, types } from "@babel/core";

export function transform(code: string, options: TransformOptions): BabelFileResult;

export function transformFromAst(
    ast: types.Node,
    code: string | undefined,
    opts: TransformOptions | undefined,
    callback?: FileResultCallback,
): void;

export function registerPlugin(name: string, plugin: object | (() => void)): void;

export function registerPlugins(newPlugins: {
    [key: string]: object | (() => void);
}): void;

export function registerPreset(name: string, preset: object | (() => void)): void;
export function registerPresets(newPresets: {
    [key: string]: object | (() => void);
}): void;

export const availablePlugins: Record<string, object | (() => void)>;
export const availablePresets: Record<string, object | (() => void)>;

export function transformScriptTags(scriptTags?: HTMLCollection): void;

export function disableScriptTags(): void;

export as namespace babel;

import * as generator from "@babel/generator";
import parser from "@babel/parser";
import * as template from "@babel/template";
import * as traverse from "@babel/traverse";
import type t from "@babel/types";
export const packages: {
    generator: typeof generator;
    parser: typeof parser;
    template: typeof template;
    traverse: typeof traverse;
    types: typeof t;
};

Additional Details

Credits

These definitions were written by .

FAQs

Package last updated on 12 Nov 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc