import-cost-dev

lists out your import. Similiar to VS import cost

thelostone-mc

128

0

1.0.1

MIT

GitHub

import-cost-dev package

Lets you know how heavy your imports are! like VSCodes import-cost

Walkthrough

At this point it hits API provided by bundlephobia to determine the module size based on the version listed in your package.json.

If the module hasn't been installed / not present in package.json, it assumes the latest version of the module. import-cost is triggered when active panel is switched / saved and displaying the size right beside the statement.

Demo

import-cost-dev demo

Installation

apm install import-cost-dev