Low commit activity in last 3 years
No release in over a year
Attractor plugin for the Ruby programming language and its ecosystem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 2.0
 Project Readme

All Contributors

All Contributors

Forks Stargazers Issues


Logo

Attractor Javascript Plugin

Attractor plugin for the Javascript programming language and its ecosystem

Table of Contents

  • Table of Contents
  • Getting Started
    • Installation
  • Usage
  • Contributing

Getting Started

This is a plugin to help you visualize code complexity metrics for your Javascript code. If you are not familiar with Attractor, take a look at the main repo first.

Installation

Add this to your application's Gemfile:

gem 'attractor'
gem 'attractor-javascript'

And then execute:

bundle install

Usage

To create a HTML report in attractor_output/index.html, try

bundle exec attractor report

If you'd like to specify a directory, use the file prefix option:

bundle exec attractor report --file_prefix app/models

Or shorter:

bundle exec attractor report -p app/models

Watch for file changes:

bundle exec attractor report -p app/models --watch

Serve at http://localhost:7890:

bundle exec attractor serve -p app/models

Enable rack-livereload:

bundle exec attractor serve -p app/models --watch

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Manuel Tancoigne

💻

Andrew Mason

📖 💻

Julian Rubisch

💻

This project follows the all-contributors specification. Contributions of any kind welcome!