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

@asbjornenge/halp

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@asbjornenge/halp

Halp is a CLI tool that leverages OpenAI's GPT models to assist with modifying and updating your code.

  • 1.3.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
12
decreased by-14.29%
Maintainers
1
Weekly downloads
 
Created
Source

Halp

Halp is a CLI tool that leverages OpenAI's GPT models to assist with modifying and updating your code.

It is optimized for Node and JavaScript applications, but you can use it for anything by modifying the context.

Installation

Install globally using npm:

npm install -g @asbjornenge/halp

Configuration

Set the OPENAI_API_KEY environment variable with your OpenAI API key:

export OPENAI_API_KEY=your_openai_api_key

Usage

demo

halp [options] [instruction]

### Options

-d, --dry         Dry run (do not overwrite files)
-h, --help        Show help information
-m, --model       Specify model (default 'gpt-4o-mini')
-s, --silent      Do not log the result to terminal
-c, --context     Specify context (default '*.js,package.json' in current folder only)
-l, --listfiles   List all files that are part of the context
-v, --version     Print version 

### Examples

halp -d -m gpt-3.5-turbo "Optimize the query for fetching users"
halp -c users.jsx "Update user listing by including the administrator parameter"
halp --help

License

BSD

enjoy.

FAQs

Package last updated on 23 Jan 2025

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