street
// 用法
randBox.street()
randBox.street({country:it})生成一个随机街道
randBox.street();
=> 'Tesca Circle'可选择要求返回短后缀
randBox.street({short_suffix: true});
=> 'Jiled St'可选择指定用于生成街道名称的音节数
randBox.street({syllables: 8});
=> 'Teniefitinusewjircor Junction'可选择指定一个国家来本地化街道前缀
randBox.street({country: 'it'});
=> 'Via Nefba'注意,目前对国家的支持仅限于:'us', 'it'。
最后更新于: