0.1.0 • Published 5 years ago
@fal-works/prh-from-words v0.1.0
prh-from-words
Generates prh rules from any list of words.
- You may pass any converter function to convert each word in your source list.
 - Both source and destination files are only in YAML format.
 
About prh (proofreading-helper): https://github.com/prh/prh
Install
npm install -D @fal-works/prh-from-wordsUse
const { generatePrhFile } = require("@fal-works/prh-from-words");
generatePrhFile(
  "source-word-list.yaml",
  "destination-prh-rules.yaml",
  anyConverterFunction
);Caveats
Not well tested.
0.1.0
5 years ago