• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

streetsidesoftware / cspell / 15002569915

13 May 2025 05:07PM UTC coverage: 93.217% (-0.03%) from 93.251%
15002569915

push

github

web-flow
fix: Correct the Hunspell Reader usage. (#7325)

11971 of 13836 branches covered (86.52%)

0 of 6 new or added lines in 1 file covered. (0.0%)

15503 of 16631 relevant lines covered (93.22%)

31007.85 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/packages/hunspell-reader/example-code/example.js
1
// ts-check
2
import { HunspellReader } from 'hunspell-reader';
3

NEW
4
const baseFile = 'en_US';
×
NEW
5
const dicFile = baseFile + '.dic';
×
NEW
6
const affFile = baseFile + '.aff';
×
7

8
// Initialize the reader with the Hunspell files
NEW
9
const reader = await HunspellReader.createFromFiles(affFile, dicFile);
×
10

11
// Get the words as an array
NEW
12
const words = [...reader];
×
NEW
13
console.log('%o', words);
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc