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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    2
    • latest

Version History

Package Sidebar

Install

npm i ack-types

Weekly Downloads

2

Version

0.1.2

License

MIT

Last publish

Collaborators

  • jarofghosts