banach-analysis
v5.8.8
Published
JavaScript parsing library
Downloads
10
Readme
Description
Dealing with someone else's code is the painful norm. It always takes more time and it's often very tiring... Unless you are using Banach-analysis. Banach-analysis is a JavaScript parsing library which:
- listing all functions predefined by another programmer (avoids standard JS fn's like: console, Math etc.)
- listing invoked functions
- checking performance of examined code
- pausing examined code before each function is invoked
- listing names of invoked functions
- listing number of lines of examined code
- listing number of empty lines of examined code
Basic usage
Just append some of attributes to script tag that you want to check:
<script src="your-code.js" data-banach="functional_analysis" data-js-ver="es5" data-banach-angular="0" data-banach-gui="1">*
Note that data-banach && data-js-ver attributes are required. Until version 1.0 Angular and ES6 are not supported.
then attach the library code:
<script src="banach-analysis.js"></script>
and that's it!
Advanced usage
If you dont wan't to see any additional sh** on tested website you can hide banach GUI by simply set data-banach-gui to 0:
<script src="your-code.js" data-banach="functional_analysis" data-js-ver="es5" data-banach-angular="0" data-banach-gui="0">
You can also open banach-analysis.js and check code-interface configuration panel:
##Installation
npm install banach-analysis
License
Whole code is under MIT license. Permissions: commercial use, distribution, modification, private use Conditions: License and copyright notice Limitations: Hold liable