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

node-red-contrib-fs-ops

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-fs-ops

A node-red node to perform basic file system operations.

  • 1.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
648
decreased by-0.15%
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-fs-ops

A Node Red node for performing file system operations.

This node is a wrapper around many of the functions in Node's file system library, which in turn is a wrapper around the standard POSIX filesysem functions.

The nodes and functions provided are:

  • fs-ops-move - Move, rename, or link files and directories
  • fs-ops-delete - Delete a file or directory
  • fs-ops-access - Test existence and accessibility of a file or directory
  • fs-ops-size - Get size of a file or directory in bytes
  • fs-ops-link - Determines if a file is a link and returns the file it links to.
  • fs-ops-type - Determines the type of a file - regular, directory, character, or special
  • fs-ops-dir - Get array of file and directory names in a directory
  • fs-ops-mkdir - Make a new directory
  • fs-ops-mktmpdir - Make a new directory with a random unique name

Parameters such as path and filename can be sourced from strings, or message, flow, or global property. Likewise, results can be stored in a message, flow or global property.

The general design is that each node will pass the message if the action is successful, otherwise it will throw an exception and drop the message.

Keywords

FAQs

Package last updated on 12 Sep 2016

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