Skip to content

Instantly share code, notes, and snippets.

@alanhoff alanhoff/test.js
Created Oct 31, 2016

Embed
What would you like to do?
const path = require('path')
const glob = require('glob')
glob.sync('minha_pasta/**/arquivo.js').forEach(caminho => require(path.normalize(__dirname, caminho)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.