created and exported  module  that filters a directory by extension type
Merge pull request #1 from danpatnate/node

created and exported  module  that filters a directory by extension type