Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

ack-types lookup for node

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 test
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 index.js
Octocat-spinner-32 package.json
README.md

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

Something went wrong with that request. Please try again.