Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslnode 18–226 runs
build_error
glibcnode 18–226 runs
build_error
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
default
✓ import testercle from 'testytesterson'
✗ const testercle = require('testytesterson')
ESM-only since v9001.9001.9000; default export provides all methods.
username
✓ testercle.username()
✗ testercle.username
username is a method, not a property; always call as a function.
imageUrl
✓ testercle.imageUrl()
✗ testercle.imageUrl
imageUrl is a method; requires parentheses.
Demonstrates basic usage of all generator methods using default import.
import testercle from 'testytesterson';
console.log(testercle.username()); // curtis frejaboing
console.log(testercle.name()); // Huge Spotsausage
console.log(testercle.email()); // mazingknife@jean-luc.com
console.log(testercle.lorem());
console.log(testercle.imageUrl()); // https://api.adorable.io/avatars/200/vastbritchesdrug.png
console.log(testercle.birthdayISO());
console.log(testercle.country()); // BE
console.log(testercle.ip()); // 149.33.8.251
Debug
Known issues
breakingESM-only since v9001.9001.9000; require() fails with ERR_REQUIRE_ESMfixUse import instead of require.
affects: >=9001.9001.9000
gotchaimageUrl() returns 'https://api.adorable.io/avatars/200/...' which is now a dead service.fixThe image URL API may return 404; consider using a different placeholder service.
affects: *
gotchaOutput is intentionally ridiculous and non-deterministic; cannot be used for reproducible test data.fixUse a deterministic fake data library if reproducibility is needed.
affects: *
Errors
Common errors & fixes
ERR_REQUIRE_ESM: require() of ES Module not supported
Using require() on an ESM-only module.
fixUse import statement: import testercle from 'testytesterson'
TypeError: testercle.username is not a function
Forgetting to call the method with parentheses.
fixUse testercle.username() instead of testercle.username
Upgrade
Version history
9001.9001.9020latest on npm
Audit
Dependencies
No dependency data recorded yet.