Permalink
Browse files

module utilities

  • Loading branch information...
1 parent 8828c92 commit f7218d23b4ae01bf894b5c861e78abffd457689a @cadorn cadorn committed Aug 3, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 lib/util/module.js
View
@@ -0,0 +1,13 @@
+
+const MODULE = require("module");
+
+
+
+exports.getIncludedFiles = function() {
+ var paths = [];
+ for (var path in MODULE._cache) {
+ paths.push(path);
+ }
+ return paths;
+}
+

0 comments on commit f7218d2

Please sign in to comment.