README
Returns an array of global identifiers for a given js file.
Installing
npm install get-global-identifiers
Example usage
const getGlobals = require('get-global-identifiers');
const globals = getGlobals('app/appConstants.js') // ['GLOBAL', 'CONSTANTS', 'DEFINED', 'IN', 'THIS', 'FILE']