• Version 7.3.10
  • Published
  • 5.79 kB
  • 2 dependencies
  • MIT license


npm i @types/babelify
yarn add @types/babelify
pnpm add @types/babelify


TypeScript definitions for babelify



function Babelify

Babelify: typeof Babelify;

    function configure

    configure: (
    opts: Babelify.BabelifyOptions
    ) => (filename: string) => BabelifyObject;


      class BabelifyObject

      class BabelifyObject extends stream.Transform {}


        interface BabelifyConstructor

        interface BabelifyConstructor {}

          call signature

          (filename: string, opts: Babelify.BabelifyOptions): Babelify.BabelifyObject;

            interface BabelifyOptions

            interface BabelifyOptions extends babel.TransformOptions {}
            • In addition to the various purposes documented here, all of the babelify options are passed to babel which passes them on to babel.transform() when each file is transformed

            property extensions

            extensions?: string | string[] | undefined;
            • These are passed to babel.util.canCompile() for each filename default: null

            property sourceMapsAbsolute

            sourceMapsAbsolute?: boolean | undefined;
            • if true, a 'sourceFileName' property with a value equal to the current file being transformed is included with the options passed to babel.transform() default: false

            Package Files (1)

            Dependencies (2)

            Dev Dependencies (0)

            No dev dependencies.

            Peer Dependencies (0)

            No peer dependencies.


            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/babelify.

            • Markdown
            • HTML
              <a href="https://www.jsdocs.io/package/@types/babelify"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>