Lines Matching full:hash
3 …er specified directory, `require()`'ing each file, and returning a nested hash structure containin…
21 A common pattern in node.js is to include an index file which creates a hash of the files in its cu…
32 `routes/index.js` uses `require-directory` to build the hash (rather than doing so manually) like s…
39 `app.js` references `routes/index.js` like any other module, but it now has a hash/tree of the expo…
85 You can pass an options hash to `require-directory` as the 2nd parameter (or 3rd if you're passing …
94 hash = requireDirectory(module, {include: whitelist});
106 hash = requireDirectory(module, {include: check});
116 hash = requireDirectory(module, {exclude: blacklist});
128 hash = requireDirectory(module, {exclude: check});
140 hash = requireDirectory(module, {visit: visitor});
150 hash = requireDirectory(module, {visit: visitor});
160 hash = requireDirectory(module, {rename: renamer});
167 hash = requireDirectory(module, {recurse: false});