Skip to content
Find require calls in JavaScript from Ruby
JavaScript Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
Gemfile
README.md
Rakefile
holmes.gemspec

README.md

Holmes

Find JavaScript require() calls using detective.

Requires Node to be available.

Usage

require_calls = Holmes.find('/path/to/file.js')
require_calls #=> ['burrito', 'another']
Something went wrong with that request. Please try again.