@gregoriusrippenstein/node-red-contrib-filetype

0.0.4 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    1
  • 0.0.3
    0
  • 0.0.2
    0

Package Sidebar

Install

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

Weekly Downloads

1

Version

0.0.4

License

Don't do evil.

Unpacked Size

61.5 kB

Total Files

9

Last publish

Collaborators

  • gregoriusrippenstein