@blizzard-quotes/starcraft-2-quotes
v1.2.0
Published
Starcraft 2 quotes json wrapper. Also contains scripts to extract and transform Starcraft 2 quotes.
Downloads
11
Readme
Starcraft II Quotes
Summary
Wrapper returning Starcraft II quotes with metadata.
Also contains quick scripts to extract and transform Starcraft II quotes. Grabs every unique quote found. Includes selectable melee unit quotes and selectable campaign unit quotes.
Quotes involving gibberish are not included.
Does not include cinematic or cutscene quotes.
Thanks to https://starcraft.fandom.com for housing the quotes.
Installation
npm i @blizzard-quotes/starcraft-2-quotes
Example
const starcraft2Quotes = require('@blizzard-quotes/starcraft-2-quotes');
console.log(starcraft2Quotes);
Execution
Extract quotes and generate JSON files for each faction
npm run extract
Extracted quotes can be found under ./quotes/extract
Transform quotes and generate JSON files for each faction along with one JSON file to rule them all.
npm run transform
Transformed quotes for each faction can be found under ./quotes/transform.
./quotes/starcraft-2-quotes.json contains all quotes.