@jscpd/leveldb-store
v4.0.1
Published
leveldb store for jscpd
Downloads
4,472
Readme
@jscpd/leveldb-store
store for jscpd, used for large repositories
Installation
npm install @jscpd/leveldb-store --save
Usage
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);
License
MIT © Andrey Kucherenko