Skip to content

Latest commit

 

History

History

detector

@smelly/detector

Continuous Integration Workflow

https://nodei.co/npm/smelly-detector.png?downloads=true&downloadRank=true&stars=true

This package is part of the smelly package and containers the egine that detects test smells on javascript/typescript files. It provides an interface eacy of comsuption for different ends.

Installation

npm install --save smelly-detector

Programmatically using detector

The detector package can be used as a standalone package.

import { SmellDetector } from 'smelly-detector';

const detector = new SmellDetector("my-file.js", "my source code");

console.log(detector.findAll());

Resources