ack-types lookup ack type by filename usage var acktypes = require('ack-types') // acktypes is an object mapping file extension to type acktypes.compare(filename, type) // true or falseacktypes.lookup(filename) // type or array of typesacktypes.reverseLookup(type) // array of extensions associated with typeacktypes.allExtensions() // array of all extensions known license MIT