Skip to content

Commit

Permalink
Export all constructor objects
Browse files Browse the repository at this point in the history
  • Loading branch information
tapmodo committed Nov 5, 2015
1 parent 1c254e4 commit 0e1a4dd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@
*/

var fs = require('fs');
var type = require('./lib/record');

module.exports = {
parseFile: function(filename){
return this.parse(fs.readFileSync(filename,'utf8'));
},
parse: require('./lib/parser').parse,
type: require('./lib/record')
Container: type.Container,
Record: type.Record,
Change: type.Change,
Attribute: type.Attribute,
Value: type.Value,
Modification: type.Modifcation
};

0 comments on commit 0e1a4dd

Please sign in to comment.