Socket
Socket
Sign inDemoInstall

@jharris711/crawler

Package Overview
Dependencies
125
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @jharris711/crawler

Crawls directories && OTMM for images


Version published
Maintainers
1
Created

Readme

Source

RC Image Crawler

Crawls directories and subdirectories, starting from user provided starting point and OTMM. Searches for images and writes out results to a JSON file. Default starting point for local crawl is the User's home directory.

Usage:

Basic (Crawls OTMM && all local directories and subdirectories)
$ npx crawl
With optional flags
$ npx crawl -s <STARTING_POINT> -n <NAME_OF_OUTUT_JSON_FILE> -w <LOCATION_TO_WRITE_JSON_FILE> -c <LOCATION_OF_USERS_OTMM_CONFIG_FILE>

Flags:

  • -s/--starting-dir: String/Path
    • The desired starting directory. Crawler will go through every directory and subdirectory from this point.
    • Default: ~ (Users Home directory)
  • -c/--config: String/Path
    • Location of the user's OTMM config file.
    • Deafult: ./ (Current Directory)
  • -n/--name-output: String
    • Desired name for the resulting JSON file with image data.
    • Default: ingest
  • -w/--write-to: String/Path
    • Where the user would like the resulting JSON file to be written.
    • Deafult: ./ (Current Directory)

Keywords

FAQs

Last updated on 09 Jan 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