https://github.com/vito/clouseau
Framework/runtime detection library.
https://github.com/vito/clouseau
Last synced: 2 months ago
JSON representation
Framework/runtime detection library.
- Host: GitHub
- URL: https://github.com/vito/clouseau
- Owner: vito
- License: bsd-3-clause
- Created: 2012-09-25T00:40:52.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-11-28T01:14:18.000Z (over 13 years ago)
- Last Synced: 2025-10-19T12:39:07.226Z (9 months ago)
- Language: Ruby
- Size: 120 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clouseau
An inspector of code that peeks into your source tree and determines its
language, framework, and suggested memory allocation for the application.
Example:
```ruby
# a small Sinatra application
detected = Clouseau.detect("./hello-sinatra")
# => Clouseau::Sinatra
detected.language_name
# => :ruby
detected.framework_name
# => :sinatra
detected.memory_suggestion
# => 128
# a Spring application
detected = Clouseau.detect("./hello-spring")
# => Clouseau::Spring
detected.language_name
# => :java
detected.framework_name
# => :spring
detected.memory_suggestion
# => 512
```