kucherenko / jscpd

Copy/paste detector for programming source code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to use modes with API calls ?

ctf0 opened this issue · comments

commented

Is your feature request related to a problem? Please describe.
probably feature

Describe the solution you'd like
currently i cant find a way to chose one of the modes in https://github.com/kucherenko/jscpd/tree/master/packages/jscpd#mode with the detectClones API

Hi, it is really a feature request. The mode it is not about application usage, it is about the detection process, I have plans to add web API for jscpd

commented

perfect, can u for now plz give me an example of how to use the modes option function?