An open API service indexing awesome lists of open source software.

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.

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
```