-1 point for still using a wscript file :p You're already bundling libmagic so Windows support might be easy. You'd need to start out with adding a binding.gyp file so that the module can be built with node-gyp.
On Mon, Apr 30, 2012 at 12:21 AM, Marak Squires <[email protected]>wrote: > Super awesome! > > I've been working on some mad science projects that are doing massive > amounts of file detection. I'm assuming this will destroy the performance > of my all JS hackery. > > Looking forward to trying... > > On Mon, Apr 30, 2012 at 12:15 AM, mscdex <[email protected]> wrote: > >> 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 >> > > > > -- > -- > Marak Squires > Co-founder and Chief Evangelist > Nodejitsu, Inc. > [email protected] > > -- > 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 > -- 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
