I recently needed a way to do file type detection/inspection, but felt
dirty using a child process to call `file` every time. So tonight I
sat down and wrote an async binding to libmagic: 
https://github.com/mscdex/mmmagic

Currently it's available for *nix only, although a pull request for
proper (read: builds with msvc) Windows support would be considered.
The only other requirement is zlib.

I expect to be adding support for raw Buffer and string inspection/
parsing in the near future.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to