Skip to main content

Internet

email​

schemas.internet.email().getValue() // 'juan527120@gmail.com'
schemas.internet.email.getValue({
firstName: 'pedro',
lastName: 'Scott',
provider: 'yahoo.com',
}) // "pedro_scott@yahoo.com"
ArgumentDescription
firstNameOwner first name
lastNameOwner last name
providerEmail provider

password​

schemas.internet.password().getValue() // '89G1wJuBLbGziIs'
schemas.internet.password().getValue({ length: 20 }) // 'aF55c_8O9kZaPOrysFB_'
schemas.internet.password().getValue({ length: 20, memorable: true }) // 'lawetimufozujosodedi'
schemas.internet
.password()
.getValue({ length: 20, memorable: true, pattern: /[A-Z]/ }) // 'HMAQDFFYLDDUTBKVNFVS'
schemas.internet.password().getValue({
length: 20,
memorable: true,
pattern: /[A-Z]/,
prefix: 'Hello ',
}) // 'Hello IREOXTDWPERQSB'
ArgumentDescription
lenThe length of the password to generate. Defaults to 15
memorableWhether the generated password should be memorable. Defaults to false
patternThe pattern that all chars should match should match. This option will be ignored, if memorable is true. Defaults to /\w/.
prefixThe prefix to use. Defaults to ''

url​

schemas.internet.url().getValue() // 'http://words.info.net'
ArgumentDescription
secureBoolean that indicates if the url has a secure protocol or not

userName​

schemas.internet.userName().getValue() // 'juan527134'
schemas.internet.userName().getValue({ firstName: 'pedro', lastName: 'Scott' }) // 'pedro_scott'
ArgumentDescription
firstNameOwner first name
lastNameOwner last name

httpMethod​

schemas.internet.httpMethod().getValue() // 'GET'

ipv6​

schemas.internet.ipv6().getValue() // '269f:1230:73e3:318d:842b:daab:326d:897b'

ipv4​

schemas.internet.ipv4().getValue() // '245.108.222.0'

emoji​

schemas.internet.emoji().getValue() // '🔎'
ArgumentDescription
emojiEmoji category

mac​

schemas.internet.mac().getValue() // '32:8e:2e:09:c6:05'

port​

schemas.internet.port().getValue() // 8001

userAgent​

schemas.internet.userAgent().getValue() // 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_8_8)  AppleWebKit/536.0.2 (KHTML, like Gecko) Chrome/27.0.849.0 Safari/536.0.2'

protocol​

schemas.internet.protocol().getValue() // 'https'

domainSuffix​

schemas.internet.domainSuffix().getValue() // '.com'

domainName​

schemas.internet.domainName().getValue() // 'words.info'

httpStatudCode​

schemas.internet.httpStatusCode().getValue // 201