New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

discify

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discify

A browserify plugin to analyse bundle statistics

latest
Source
npmnpm
Version
1.6.3
Version published
Maintainers
1
Created
Source

discify is a browserify plugin that generatee graph and stats of your bundle. It'a lightweight alternative to disc.

Version License Code style

tiny output demo

What you'll get

  • a /disc/ folder in your project root
  • a /disc/index.html standalone, neat, manually crafter repport HTML graph
  • a /disc/map.json file with also usefull informations

API/usage & options

npm install --save-dev discify
browserify --node -p discify entry.js
# enjoy your /disc folder (you can specify output folder via -p [ discify --outdir some/other/dir ] )

Advanced pipe

 var b = browserify({
     //opts
    });
    b.plugin(discify)
    b.once('discified', Function.prototype); //this is emitted once discify has done generating maps & stuffs

disc VS discify

  • Simplier workflow ; as discify is a plugin, it access live and raw from browserify and does not need a dedicated "useFullPath"

Keywords

browserify

FAQs

Package last updated on 23 May 2018

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