store for jscpd, used for large repositories
npm install @jscpd/leveldb-store --save
import {Tokenizer} from '@jscpd/tokenizer';
import {
Detector,
IOptions,
IClone,
IStore,
ITokenizer
} from '@jscpd/core';
import LeveldbStore from '@jscpd/leveldb-store';
const options: IOptions = {
minLines: 5,
maxLines: 500,
}
const tokenizer: ITokenizer = new Tokenizer();
const store: IStore = new LeveldbStore();
const detector = new Detector(tokenizer, store, [], options);
MIT © Andrey Kucherenko