New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

explain-files

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

explain-files

Tiny CLI utility to use OpenAI's GPT to explain code

latest
Source
npmnpm
Version
1.2.2
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

Explain Files

Tiny CLI utility to use OpenAI's GPT to explain code

Usage

# basic
$ npx explain-files@latest

# skip the file selector
$ npx explain-files@latest spaghetti.js

# only show .ts and .tsx files in the file selector
$ npx explain-files@latest --ext ts --ext tsx

Options

-h, --help              Shows this help message
-v, --version           Shows the version number
-e, --ext               Only consider files with the given extension
-f, --filter            Only consider files that include the given string
--cwd                   The directory to run in (defaults to ./)
-m, --model             The model to use
-t, --temperature       The temperature to use
-p, --prompt            The prompt to use
-mt, --max-tokens       The maximum number of tokens to use
-r, --reset-key         Resets the OpenAI API key by deleting ~/.explain-config

License

MIT

Keywords

CLI

FAQs

Package last updated on 02 Jul 2023

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