New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

import-count

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

import-count

A command line interface for analyzing import statements in JavaScript code.

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

import-count

import-count is a command line interface for analyzing import statements in JavaScript code.

Installation

With npm:

npm install import-count

With yarn:

yarn global add import-count

Synopsis

Usage: import-count [options] [command]

Options:
  -V, --version                   output the version number
  -h, --help                      display help for command

Commands:
  most-common [options] <dir>     print each unique import found in <dir> along
                                  with its number of occurrences, sorted by most
                                  frequently occurring
  fewest-imports [options] <dir>  print each file in <dir> with its number of
                                  imports, sorted by fewest imports
  help [command]                  display help for command

import-count is released under the MIT license. See LICENSE for details.

Keywords

FAQs

Package last updated on 05 Feb 2022

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