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

esbuild-metadata-report

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-metadata-report

esbuild metadata report

  • 1.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
30
increased by25%
Maintainers
1
Weekly downloads
 
Created
Source

esbuild-metadata-report

Metadata Report for esbuild

Preview

Install

npm i esbuild-metadata-report

Usage

  • As esbuild plugin
const metadataReport = require('esbuild-metadata-report');
await esbuild.build({

    // required metafile is true
    metafile: true,

    plugins: [
        metadataReport({
            name: 'Metadata Report',
            outputFile: './metadata-reports/index.html'
        })
    ]
});

  • As a function
const metadataReport = require('esbuild-metadata-report');
const res = await esbuild.build({

    // required metafile is true
    metafile: true

});

const htmlPath = metadataReport({
    metadata: res.metafile,
    name: 'Metadata Report',
    outputFile: './metadata-reports/index.html'
});

FAQs

Package last updated on 19 Jan 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