Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julianrubisch/attractor-javascript
code complexity metrics visualization and exploration tool for javascript
https://github.com/julianrubisch/attractor-javascript
code-quality complexity javascript
Last synced: 25 days ago
JSON representation
code complexity metrics visualization and exploration tool for javascript
- Host: GitHub
- URL: https://github.com/julianrubisch/attractor-javascript
- Owner: julianrubisch
- Created: 2020-01-19T09:38:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-07T19:18:55.000Z (over 1 year ago)
- Last Synced: 2024-05-01T15:07:47.946Z (9 months ago)
- Topics: code-quality, complexity, javascript
- Language: Ruby
- Homepage:
- Size: 41.8 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)
[attractor]: https://github.com/julianrubisch/attractor-javascript
[forks-shield]: https://img.shields.io/github/forks/julianrubisch/attractor-javascript.svg?style=flat-square
[forks-url]: https://github.com/julianrubisch/attractor-javascript/network/members
[stars-shield]: https://img.shields.io/github/stars/julianrubisch/attractor-javascript.svg?style=flat-square
[stars-url]: https://github.com/julianrubisch/attractor-javascript/stargazers
[issues-shield]: https://img.shields.io/github/issues/julianrubisch/attractor-javascript.svg?style=flat-square
[issues-url]: https://github.com/julianrubisch/attractor-javascript/issues[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
Attractor Javascript Plugin
[Attractor][attractor] plugin for the Javascript programming language and its ecosystem
## Table of Contents
- [Table of Contents](#table-of-contents)
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#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][attractor], take a look at the main repo first.
### Installation
Add this to your application's Gemfile:
```javascript
gem 'attractor'
gem 'attractor-javascript'
```And then execute:
```sh
bundle install
```## Usage
To create a HTML report in `attractor_output/index.html`, try
```sh
bundle exec attractor report
```If you'd like to specify a directory, use the file prefix option:
```sh
bundle exec attractor report --file_prefix app/models
```Or shorter:
```sh
bundle exec attractor report -p app/models
```Watch for file changes:
```sh
bundle exec attractor report -p app/models --watch
```Serve at http://localhost:7890:
```sh
bundle exec attractor serve -p app/models
```Enable rack-livereload:
```sh
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](https://allcontributors.org/docs/en/emoji-key)):
Andrew Mason
📖 💻
Julian Rubisch
💻
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!