@types/rollup-plugin-visualizer
TypeScript definitions for rollup-plugin-visualizer
Last updated 7 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/rollup-plugin-visualizer 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/rollup-plugin-visualizer

Summary

This package contains type definitions for rollup-plugin-visualizer (https://github.com/doesdev/rollup-plugin-analyzer#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-visualizer.

index.d.ts

import { Plugin } from "rollup";

declare namespace visualizer {
    interface PluginVisualizerOptions {
        /**
         * Name of the file with diagram to generate
         * @default "stats.html"
         */
        filename?: string | undefined;
        /**
         * Title tag value
         * @default "Rollup Visualizer"
         */
        title?: string | undefined;
        /**
         * Use sourcemaps to calculate sizes (e.g. after UglifyJs or Terser)
         * @default false
         */
        sourcemap?: boolean | undefined;
        /**
         * Open generated file in default user agent
         * @default false
         */
        open?: boolean | undefined;
        /**
         * Which diagram type to use
         * @default "treemap"
         */
        template?: "treemap" | "sunburst" | "network" | undefined;
        /**
         * Product portable json file that can be used with
         * plugin CLI util to generate graph from several json files.
         * Every UI property ignored in this case.
         * @default false
         */
        json?: boolean | undefined;
        /**
         * Collect gzip size from source code and display it at chart
         * @default false
         */
        gzipSize?: boolean | undefined;
        /**
         * Collect brotli size from source code and display it at chart.
         * Only if current node version supports it
         * @default false
         */
        brotliSize?: boolean | undefined;
    }
}

declare function visualizer(options?: visualizer.PluginVisualizerOptions): Plugin;

export = visualizer;

Additional Details

  • Last updated: Fri, 01 Mar 2024 00:50:47 GMT
  • Dependencies: rollup

Credits

These definitions were written by Nick, and Max Boguslavskiy.

Current Tags

  • 4.2.4                                ...           latest (2 years ago)
  • 2.6.0                                ...           ts3.0 (7 years ago)
  • 2.6.0                                ...           ts3.1 (7 years ago)
  • 2.6.0                                ...           ts3.2 (7 years ago)
  • 2.6.0                                ...           ts3.3 (7 years ago)
  • 2.6.0                                ...           ts3.4 (7 years ago)
  • 2.6.0                                ...           ts3.5 (7 years ago)
  • 2.6.0                                ...           ts3.6 (7 years ago)
  • 2.6.0                                ...           ts3.7 (7 years ago)
  • 2.6.0                                ...           ts3.8 (7 years ago)
  • 2.6.0                                ...           ts3.9 (7 years ago)
  • 2.6.0                                ...           ts4.0 (7 years ago)
  • 2.6.0                                ...           ts4.1 (7 years ago)
  • 4.2.1                                ...           ts4.2 (5 years ago)
  • 4.2.1                                ...           ts4.3 (5 years ago)
  • 4.2.1                                ...           ts4.4 (5 years ago)
  • 4.2.3                                ...           ts4.5 (2 years ago)
  • 4.2.4                                ...           ts4.6 (2 years ago)
  • 4.2.4                                ...           ts4.7 (2 years ago)
  • 4.2.4                                ...           ts4.8 (2 years ago)
  • 4.2.4                                ...           ts4.9 (2 years ago)
  • 4.2.4                                ...           ts5.0 (2 years ago)
  • 4.2.4                                ...           ts5.1 (2 years ago)
  • 4.2.4                                ...           ts5.2 (2 years ago)
  • 4.2.4                                ...           ts5.3 (2 years ago)
  • 4.2.4                                ...           ts5.4 (2 years ago)
  • 4.2.4                                ...           ts5.5 (2 years ago)
  • 4.2.4                                ...           ts5.6 (2 years ago)
  • 4.2.4                                ...           ts5.7 (2 years ago)
  • 4.2.4                                ...           ts5.8 (2 years ago)

6 Versions

  • 4.2.4                                ...           2 years ago
  • 4.2.3                                ...           2 years ago
  • 4.2.2                                ...           2 years ago
  • 4.2.1                                ...           5 years ago
  • 4.2.0                                ...           5 years ago
  • 2.6.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |