Norwegian (Norway)
Norwegian (Norway) is one of the many supported locales in Faker. It uses the language code nb_NO and is available as fakerNB_NO.
Language data
| Key | Value |
|---|---|
| Name | Norwegian (Norway) |
| Local Name | Norsk bokmål (Norge) |
| Language | nb |
| Script | Latn |
| Direction | ltr |
Usage
A few commonly localized methods are shown below. Reload this page to see more random examples. Not all methods are localized in all locales.
ts
import { fakerNB_NO } from '@faker-js/faker';
// const { fakerNB_NO } = require('@faker-js/faker'); // CJS
// Commonly localized methods:
fakerNB_NO.person.fullName();
fakerNB_NO.location.streetAddress();
fakerNB_NO.location.city();
fakerNB_NO.location.state();
fakerNB_NO.location.zipCode();
fakerNB_NO.phone.number();
fakerNB_NO.commerce.productName();
fakerNB_NO.internet.email();
fakerNB_NO.internet.url();
fakerNB_NO.date.month();
fakerNB_NO.date.weekday();
fakerNB_NO.word.noun();
fakerNB_NO.word.verb();
fakerNB_NO.company.name();
// Non-localized methods work as normal:
fakerNB_NO.number.int();