@prescient-devices/node-red-contrib-downloadfile 1.1.0

Opens web browser file save dialog and saves the payload received to a file in the local filesystem

npm install @prescient-devices/node-red-contrib-downloadfile

A node to download a message's payload to the browser's local file system

Installation

Node-RED editor's palette manager may be used to install the node. Alternatively, the command line may also be used to install the node with the following commands (assuming the user's Node-RED directory is ${HOME}/.node-red):

$ cd "${HOME}"/.node-red
$ npm install --production node-red-contrib-downloadfile
[...]

Node

  • downloadfile

Running Tests

The development dependencies need to be installed before running the test-bench. This can be accomplished with the following commands (assuming ${HOME}/node-red-contrib-downloadfile is the node's development directory where the node's package.json is):

$ cd "${HOME}"/node-red-contrib-downloadfile
$ npm install
[...]

Then to run the tests:

$ cd "${HOME}"/node-red-contrib-downloadfile
$ npm test
[...]

Contributing / Fixes

An issue may be raised for typos and single-line fixes. A pull request may be opened in the node's GitHub repository for more complex fixes and/or contributions.

Copyright Prescient Devices, Inc. under the MIT license, which is in the LICENSE file.

Node Info

Version: 1.1.0
Updated 6 months, 3 weeks ago
License: MIT
Rating: 5.0 1

Actions

Rate:

Downloads

50 in the last week

Nodes

  • downloadfile

Keywords

  • node-red
  • download

Maintainers