UNPKG

@faker-js/faker

Version:

Generate massive amounts of fake contextual data

1 lines 1.57 kB
import{n as e,t}from"./base-DzmKJ9Qc.js";import{t as n}from"./en-ZD_MKrQh.js";import{t as r}from"./fr-3XtTz5GO.js";const i={internet:{domain_suffix:[`biz`,`ca`,`com`,`info`,`name`,`net`,`org`,`qc.ca`],free_email:[`gmail.com`,`hotmail.com`,`yahoo.ca`]},location:{city_pattern:[`{{location.city_prefix}} {{person.firstName}}{{location.city_suffix}}`,`{{location.city_prefix}} {{person.firstName}}`,`{{person.firstName}}{{location.city_suffix}}`,`{{person.lastName}}{{location.city_suffix}}`],country_code:[{alpha2:`CA`,alpha3:`CAN`,numeric:`124`}],postcode:[`A#? #?#`,`B#? #?#`,`C#? #?#`,`E#? #?#`,`G#? #?#`,`H#? #?#`,`J#? #?#`,`K#? #?#`,`L#? #?#`,`M#? #?#`,`N#? #?#`,`P#? #?#`,`R#? #?#`,`S#? #?#`,`T#? #?#`,`V#? #?#`,`X#? #?#`,`Y#? #?#`],state:[`Alberta`,`Colombie-Britannique`,`Manitoba`,`Nouveau-Brunswick`,`Terre-Neuve-et-Labrador`,`Nouvelle-Écosse`,`Territoires du Nord-Ouest`,`Nunavut`,`Ontario`,`Île-du-Prince-Édouard`,`Québec`,`Saskatchewan`,`Yukon`],state_abbr:[`AB`,`BC`,`MB`,`NB`,`NL`,`NS`,`NU`,`NT`,`ON`,`PE`,`QC`,`SK`,`YK`],street_pattern:[`{{person.firstName}} {{location.street_suffix}}`,`{{person.lastName}} {{location.street_suffix}}`]},metadata:{title:`French (Canada)`,code:`fr_CA`,country:`CA`,language:`fr`,endonym:`Français (Canada)`,dir:`ltr`,script:`Latn`},person:{last_name_pattern:{generic:[{value:`{{person.last_name.generic}}`,weight:1}]}},phone_number:{format:{human:[`### ###-####`,`1 ### ###-####`,`### ###-####, poste ###`],international:[`+1##########`],national:[`(###) ###-####`]}}},a=new e({locale:[i,r,n,t]});export{i as n,a as t};