Latest
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384/** * * @namespace faker.hacker */class Hacker { faker: any; constructor(faker: any) { this.faker = faker; }
/** * abbreviation * * @method faker.hacker.abbreviation */ abbreviation = () => { return this.faker.random.arrayElement( this.faker.definitions.hacker.abbreviation, ); };
/** * adjective * * @method faker.hacker.adjective */ adjective = () => { return this.faker.random.arrayElement( this.faker.definitions.hacker.adjective, ); };
/** * noun * * @method faker.hacker.noun */ noun = () => { return this.faker.random.arrayElement(this.faker.definitions.hacker.noun); };
/** * verb * * @method faker.hacker.verb */ verb = () => { return this.faker.random.arrayElement(this.faker.definitions.hacker.verb); };
/** * ingverb * * @method faker.hacker.ingverb */ ingverb = () => { return this.faker.random.arrayElement( this.faker.definitions.hacker.ingverb, ); };
/** * phrase * * @method faker.hacker.phrase */ phrase = () => { const data = { abbreviation: this.abbreviation, adjective: this.adjective, ingverb: this.ingverb, noun: this.noun, verb: this.verb, };
const phrase = this.faker.random.arrayElement( this.faker.definitions.hacker.phrase, ); return this.faker.helpers.mustache(phrase, data); };}
export { Hacker };