@gregoriusrippenstein/node-red-contrib-filetype 0.0.4

Wrapper node around the file-type npmjs package.

npm install @gregoriusrippenstein/node-red-contrib-filetype

This is a wrapper node around the file-type npmjs package.

Usage

The msg.payload should either be a Buffer or a stream.Readable and the filetype will attach a filetype attribute to the msg object. If file-type can cannot not identify the data, the attribute is set to undefined.

The attribute added to the msg object is filetype.

Artifacts

Node Info

Version: 0.0.4
Updated 2 months, 2 weeks ago
License: Don't do evil.
Rating: not yet rated

Actions

Rate:

Downloads

1 in the last week

Nodes

  • filetype

Keywords

  • node-red
  • file-type
  • filetype
  • file

Maintainers