fme-twitter
Version:
Twitter module for aggregating twitter data
16 lines (15 loc) • 428 B
TypeScript
import * as mongo from "mongodb";
export declare class Score {
word: string;
class: string;
synonyms: string[];
score: number;
}
export declare class WordScore {
collection: mongo.Collection;
constructor(db: mongo.Db);
getWord: (word: string) => Promise<{}>;
get: (word: string) => Promise<{}>;
add: (word: string) => Promise<{}>;
load: (words: string[]) => Promise<{}>;
}