Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kazuhitoyokoi/node-red-contrib-plugin-codecompletion

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kazuhitoyokoi/node-red-contrib-plugin-codecompletion

Code completion plugin for Node-RED's function nodes

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
0
Weekly downloads
 
Created
Source

node-red-contrib-plugin-codecompletion

This plugin enables the code completion in the code editor of function nodes. Local LLM, Granite Code Model is used in the backend to generate JavaScript code. While typing the code manually, the editor will automatically suggest the generated code based on the existing code. The user can accept and insert the suggested code by simply pressing the Tab key.

fizzbuzz

Setting up

Since this plugin uses Ollama, users need to install it in advance.

  • For Windows and macOS

    To set up the Ollama environment, you can use the installer provided on the following website.

    https://ollama.com/download

  • For Linux

    Run the following command in the terminal.

    curl -fsSL https://ollama.com/install.sh | sh
    ollama serve
    

Demonstration

Generating FizzBuzz code

https://github.com/user-attachments/assets/4d13a1a2-1167-479d-9dd0-109c89e29158

Keywords

FAQs

Package last updated on 01 Sep 2024

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