brentlintner / Synt
Licence: mpl-2.0
Find similar functions and classes in your JavaScript/TypeScript code
Stars: ✭ 178
Programming Languages
javascript
184084 projects - #8 most used programming language
typescript
32286 projects
Projects that are alternatives of or similar to Synt
Perl Critic
The leading static analyzer for Perl. Configurable, extensible, powerful.
Stars: ✭ 149 (-16.29%)
Mutual labels: static-analysis
Bytecode Viewer
A Java 8+ Jar & Android APK Reverse Engineering Suite (Decompiler, Editor, Debugger & More)
Stars: ✭ 12,606 (+6982.02%)
Mutual labels: static-analysis
Pyt
A Static Analysis Tool for Detecting Security Vulnerabilities in Python Web Applications
Stars: ✭ 2,061 (+1057.87%)
Mutual labels: static-analysis
Sys
Sys: A Static/Symbolic Tool for Finding Good Bugs in Good (Browser) Code
Stars: ✭ 149 (-16.29%)
Mutual labels: static-analysis
Tensorflow Ml Nlp
텐서플로우와 머신러닝으로 시작하는 자연어처리(로지스틱회귀부터 트랜스포머 챗봇까지)
Stars: ✭ 176 (-1.12%)
Mutual labels: similarity
Phpmd
PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.
Stars: ✭ 1,992 (+1019.1%)
Mutual labels: static-analysis
Infer
A static analyzer for Java, C, C++, and Objective-C
Stars: ✭ 12,823 (+7103.93%)
Mutual labels: static-analysis
I18n Extract
Manage localization with static analysis. 🔍
Stars: ✭ 152 (-14.61%)
Mutual labels: static-analysis
Text2vec
text2vec, chinese text to vetor.(文本向量化表示工具,包括词向量化、句子向量化、句子相似度计算)
Stars: ✭ 155 (-12.92%)
Mutual labels: similarity
R2frida Wiki
This repo aims at providing practical examples on how to use r2frida
Stars: ✭ 168 (-5.62%)
Mutual labels: static-analysis
Html Similarity
Compare html similarity using structural and style metrics
Stars: ✭ 152 (-14.61%)
Mutual labels: similarity
Crepe
Datalog compiler in Rust as a procedural macro
Stars: ✭ 175 (-1.69%)
Mutual labels: static-analysis
Ts Morph
TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Stars: ✭ 2,384 (+1239.33%)
Mutual labels: static-analysis
Phpstan Deprecation Rules
PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
Stars: ✭ 160 (-10.11%)
Mutual labels: static-analysis
Securify
[DEPRECATED] Security Scanner for Ethereum Smart Contracts
Stars: ✭ 177 (-0.56%)
Mutual labels: static-analysis
Jpeek
Java Code Static Metrics (Cohesion, Coupling, etc.)
Stars: ✭ 168 (-5.62%)
Mutual labels: static-analysis
Find similar functions and classes in your JavaScript/TypeScript code.
Supported Languages
- JavaScript (ES3-ES8)
- TypeScript
Non-Standard JavaScript Support
For more info on support for ECMAScript Stage-3 and below proposals, see issue #94.
System Requirements
Installation & Usage
npm i synt
CLI
install
npm i -g synt
help
synt -h
example
git clone https://github.com/brentlintner/synt.git
cd synt
synt analyze src
Library
example
const synt = require("synt")
const files = [ "a.js", "b.ts" ]
const { js, ts } = synt.compare(files, {
similarity: 70,
ngram: 1,
minlength: 10,
estype: "module"
})
synt.print(js)
synt.print(ts)
Licensing
This project is licensed under the MPL-2.0 license.
Any contributions made to this project are made under the current license.
Contributing
Any contributions are welcome and appreciated!
Please see CONTRIBUTING.md for more info.
Versioning
This project ascribes to semantic versioning.
Name
synt
is short for synteny, and is
an (attempted) play on comparing code evolution to genetic (evolution).
External Plugins
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].