// Aufruf: node build/stiltest.js artikel/artikel-SLUG.json const { stilpruefung } = require('./stilpruefung.js'); const a = require(require('path').resolve(process.argv[2])); const h = stilpruefung(a); console.log(`${h.length} Hinweise`); h.forEach(x => console.log(` [${x.art}] ${x.stelle}`));