Socket
Socket
Sign inDemoInstall

import-count

Package Overview
Dependencies
14
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    import-count

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


Version published
Weekly downloads
4
Maintainers
1
Install size
890 kB
Created
Weekly downloads
 

Readme

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

Last updated on 05 Feb 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc