ack-types

ack type lookup

npm install ack-types
25 downloads in the last week
33 downloads in the last month

ack-type

Build Status

lookup ack type by filename

usage

var acktype = require('ack-type');

acktype.compare(filename, type); // true or false
acktype.lookup(filename); // type or array of types
acktype.reverseLookup(type); // array of extensions associated with type
acktype.allExtensions(); // array of all extensions known

license

MIT

npm loves you