0.1.0 • Published 3 years ago

@fal-works/prh-from-words v0.1.0

Weekly downloads
2
License
MIT
Repository
-
Last release
3 years ago

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-words

Use

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

3 years ago