Port of python's package topia.termextract 1.1.0 to JavaScript