### Generate Taiwan Mobile Numbers with Fake Data Generator Source: https://context7.com/cfsghost/fake-data-generator-taiwan/llms.txt Creates valid Taiwan mobile phone numbers that start with area code 09 and use legitimate number prefixes. Supports customizable area codes and total length, typically producing 10-digit mobile numbers. ```javascript const FakeDataGenerator = require('fake-data-generator-taiwan'); const generator = new FakeDataGenerator(); // Generate standard 10-digit mobile number with area code 0 const mobile = generator.Mobile.generate(0, 10); console.log(mobile); // Output: "0912345678" or "0987654321" // Generate multiple mobile numbers const mobileNumbers = Array.from({ length: 5 }, () => generator.Mobile.generate(0, 10) ); console.log(mobileNumbers); // Output: ["0923456789", "0934567890", "0945678901", "0956789012", "0967890123"] // You can specify different area codes and lengths if needed const customMobile = generator.Mobile.generate(9, 9); console.log(customMobile); // Output: "912345678" (9 digits starting with 9) ``` -------------------------------- ### Generate fake Taiwanese personal data - JavaScript Source: https://context7.com/cfsghost/fake-data-generator-taiwan/llms.txt Creates complete fake personal records with Taiwanese ID numbers, names, phone numbers, and addresses. Includes single record generation and bulk data creation for testing scenarios. Output can be saved to JSON files. ```javascript const FakeDataGenerator = require('fake-data-generator-taiwan'); const generator = new FakeDataGenerator(); // Generate a single complete record const person = { idNum: generator.IDNumber.generate(), name: generator.Name.generate(), phone: generator.Mobile.generate(0, 10), address: generator.Address.generate() }; console.log(person); ``` ```javascript // Generate bulk test data (100 records) const testDataset = []; for (let i = 0; i < 100; i++) { testDataset.push({ id: i + 1, idNum: generator.IDNumber.generate(), name: generator.Name.generate(), phone: generator.Mobile.generate(0, 10), address: generator.Address.generate(), createdAt: new Date().toISOString() }); } // Use in testing scenarios console.log(`Generated ${testDataset.length} test records`); console.log('Sample records:', testDataset.slice(0, 3)); ``` ```javascript // Export to JSON for external use const fs = require('fs'); fs.writeFileSync('test-data.json', JSON.stringify(testDataset, null, 2)); console.log('Test data exported to test-data.json'); ``` -------------------------------- ### Generate Taiwan Postal Addresses with Fake Data Generator Source: https://context7.com/cfsghost/fake-data-generator-taiwan/llms.txt Creates complete and realistic Taiwan postal addresses including city, district, road name, optional lane and alley numbers, building numbers with possible sub-numbers, and random floor information. Based on real street data and official conventions. ```javascript const FakeDataGenerator = require('fake-data-generator-taiwan'); const generator = new FakeDataGenerator(); // Generate a single address const address = generator.Address.generate(); console.log(address); // Output: "臺北市大安區和平東路123巷45弄67號8樓" // Generate multiple addresses const addresses = []; for (let i = 0; i < 5; i++) { addresses.push(generator.Address.generate()); } console.log(addresses); // Output: [ // "高雄市前鎮區中華五路234號12樓", // "台中市西屯區文心路98巷5號之2", // "新北市板橋區中山路156號", // "桃園市中壢區中正路67巷23弄89號3樓", // "台南市安平區民權路445號" // ] ``` -------------------------------- ### Generate Traditional Chinese Names with Fake Data Generator Source: https://context7.com/cfsghost/fake-data-generator-taiwan/llms.txt Generates authentic traditional Chinese names using weighted selection based on common Taiwanese naming conventions. Supports two-character given names (95% probability) and single-character given names (5% probability), along with compound surnames. ```javascript const FakeDataGenerator = require('fake-data-generator-taiwan'); const generator = new FakeDataGenerator(); // Generate a single name const name = generator.Name.generate(); console.log(name); // Output: "陳怡君" or "林志明" or "歐陽娜娜" (compound surname) // Generate multiple names for testing const names = []; for (let i = 0; i < 10; i++) { names.push(generator.Name.generate()); } console.log(names); // Output: ["王美玲", "張家豪", "李思賢", "黃雅婷", "吳冠霖", ...] ``` -------------------------------- ### Generate Taiwan National ID Numbers with Fake Data Generator Source: https://context7.com/cfsghost/fake-data-generator-taiwan/llms.txt Generates valid Taiwan national identification numbers following the official format and checksum validation rules. Includes area codes (A-Z), gender digits (1=male, 2=female, 7=third gender), serial number, and a calculated checksum digit. ```javascript const FakeDataGenerator = require('fake-data-generator-taiwan'); const generator = new FakeDataGenerator(); // Generate a single ID number const idNumber = generator.IDNumber.generate(); console.log(idNumber); // Output: "A123456789" or "F267890123" // Generate multiple ID numbers const idNumbers = []; for (let i = 0; i < 10; i++) { idNumbers.push(generator.IDNumber.generate()); } console.log(idNumbers); // Output: ["B145678901", "T289012345", "N167890234", "Y278901345", ...] // ID format breakdown: // A = Area code (A-Z representing different regions) // 1 = Gender (1=male, 2=female, 7=third gender) // 2345678 = Serial number // 9 = Checksum digit (calculated) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.