import-cost is a Visual Studio Code extension that displays the size of imported packages inline, helping developers identify potentially large dependencies that could impact bundle size and performance. It supports various module systems like ES modules, CommonJS, and AMD. By providing immediate feedback on import costs, import-cost facilitates informed decisions during development, enabling optimization for faster load times and a better user experience. It helps avoid shipping bloated code.