Skip to content

rahatarmanahmed/get-global-identifiers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-global-identifiers Build Status

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']

About

Returns an array of global identifiers for a given js file.

Resources

License

Stars

Watchers

Forks

Packages

No packages published