Install NPM Libraries
detail.loadingPreview
Installs a list of NPM libraries provided as a comma-separated string.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow automates the installation of NPM packages. It takes a comma-separated string of library names, splits them into individual libraries, and then uses the executeCommand node to run npm install for each library. It includes checks to see if a library is already installed to avoid redundant installations.
Key Features
- Dynamically installs NPM libraries.
- Checks for existing installations to prevent duplicates.
- Uses
executeCommandfor shell-level package management. - Handles potential installation errors.
How To Use
- Import this workflow into your n8n instance.
- In the
libraries_setnode, modify thelibrariesassignment to include the desired NPM package names, separated by commas (e.g.,axios,lodash,moment). - Trigger the workflow manually or via a schedule.
- The workflow will install the specified libraries into the n8n environment's
node_modulesdirectory.
Apps Used
Workflow JSON
{
"id": "d496863c-0768-4eb9-b03f-03f4a5bac871",
"name": "Install NPM Libraries",
"nodes": 0,
"category": "Dependency Management",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: d496863c-0768...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.
Telegram Profanity & Toxicity Filter
This n8n workflow automatically monitors incoming Telegram messages for profanity and toxic language. It leverages Google's Perspective API to analyze message content, and if a message is deemed inappropriate, the workflow sends an automated warning response back to the sender.
Automated Multi-Platform Social Media Publisher
Streamline your social media content creation and publishing with this n8n workflow. Simply fill out a web form with your caption, media (image or video), and target platforms, and let n8n automate the posting process across multiple social networks.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Automate DOCX to PDF Conversion and Save Locally
This workflow automates the process of converting a Microsoft Word DOCX file to a PDF document. It downloads a source DOCX file, uses ConvertAPI to perform the conversion, and then saves the resulting PDF file directly to your local disk.
Convert Any Webpage to PDF and Save Locally
This n8n workflow provides a simple way to convert any public webpage URL into a PDF document. Once converted, the PDF file is automatically saved to your local disk, making it easy to archive or share web content offline.