Skip to content
sudodoki edited this page Aug 31, 2014 · 1 revision

Aleph property names <-> Chance.js method name mapping

Aleph property Chance.js method
'flag' 'bool'
'char' 'character'
'fullDescription' 'paragraph'
'shortDescription' 'sentence'
'abbr' 'syllable'
'acronym' 'radio'
'word' 'word'
'percents' 'klout'
'age' 'age'
'DOB' 'birthday'
'birthday' 'birthday'
'name' 'first'
'firstName' 'first'
'gender' 'gender'
'sex' 'gender'
'lastName' 'last'
'surname' 'last'
'familyName' 'last'
'fullName' 'name'
'email' 'email'
'facebookId' 'fbid'
'fbid' 'fbid'
'twitter' 'twitter'
'handle' 'twitter'
'twitterHandle' 'twitter'
'address' 'address'
'phone' 'phone'
'state' 'state'
'city' 'city'
'street' 'street'
'zip' 'zip'
'coordinates' 'coordinates'
'latitude' 'latitude'
'lat' 'latitude'
'longitude' 'longitude'
'lng' 'longitude'
'title' 'prefix'
'ssn' 'ssn'
'securityNumber' 'ssn'
'color' 'color'
'domain' 'domain'
'hashtag' 'hashtag'
'ip' 'ip'
'date' 'date'
'year' 'year'
'month' 'month'
'hour' 'hour'
'minute' 'minute'
'hourSuffix' 'ampm'
'timestampMili' 'hammertime'
'timestamp' 'timestamp'
Clone this wiki locally