ack-types

0.1.2 • Public • Published

ack-types

Build Status

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 false
acktypes.lookup(filename) // type or array of types
acktypes.reverseLookup(type) // array of extensions associated with type
acktypes.allExtensions() // array of all extensions known

license

MIT

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i ack-types

    Weekly Downloads

    2

    Version

    0.1.2

    License

    MIT

    Last publish

    Collaborators

    • jarofghosts