Skip to content

Commit 9aec4a3

Browse files
committed
Add mime export for back-compat
1 parent 0b84965 commit 9aec4a3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@ exports = module.exports = function(root, options){
8686
};
8787
};
8888

89+
/**
90+
* Expose mime module.
91+
*
92+
* If you wish to extend the mime table use this
93+
* reference to the "mime" module in the npm registry.
94+
*/
95+
96+
exports.mime = send.mime;
97+
8998
/**
9099
* Escape the given string of `html`.
91100
*

0 commit comments

Comments
 (0)