
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@testgorilla/tgo-typing-test
Advanced tools
Typing Test component for TestGorilla assessments.
npm install @testgorilla/tgo-typing-test
import { TgoTypingTestComponent } from '@testgorilla/tgo-typing-test';
@Component({
imports: [TgoTypingTestComponent],
template: `
<tgo-typing-test
[time]="time!"
[showMiniTimerAndLiveWpm]="false"
[punctuation]="_typingTestMode?.punctuation!"
[numbers]="_typingTestMode?.numbers!"
[customTGQuotes]="_typingTestMode?.sentences!"
[funbox]="_typingTestMode?.funbox!"
[restartTest]="false"
[testVersion]="(test$ | async)?.test_version ?? 1"
[testExpiration$]="testExpiration$"
(replayExport)="updateTypingSnapshots($event)"
(resultEvent)="updateTypingTest($event)"
(errorEvent)="handleError($event)"
>
</tgo-typing-test>
`,
})
export class MyComponent {}
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| time | number | No | 180 | Test duration in seconds |
| showMiniTimerAndLiveWpm | boolean | No | true | Show mini timer and live WPM display |
| punctuation | boolean | No | false | Include punctuation in test |
| numbers | boolean | No | false | Include numbers in test |
| customTGQuotes | boolean | No | false | Use custom TestGorilla quotes/sentences |
| funbox | string | No | 'none' | Funbox mode for visual effects |
| restartTest | boolean | No | false | Trigger to restart the test |
| testVersion | number | No | 1 | Test version for sentence variations |
| testExpiration$ | Observable<void> | No | - | Observable to trigger test expiration externally |
| Name | Type | Description |
|---|---|---|
| resultEvent | EventEmitter<any> | Emits test results when test completes |
| replayExport | EventEmitter<any> | Emits replay data for test playback |
| errorEvent | EventEmitter<string> | Emits error messages (e.g., network errors) |
import { TgoTypingReplayInputComponent } from '@testgorilla/tgo-typing-test';
@Component({
imports: [TgoTypingReplayInputComponent],
template: `
<tgo-typing-replay-input
[replayExport]="replayData"
[funbox]="funbox"
class="funbox"
data-testid="candidate.typing-report.replay-input"
></tgo-typing-replay-input>
`,
})
export class MyComponent {}
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| replayExport | any | Yes | - | Replay data exported from TgoTypingTestComponent |
| funbox | string | No | 'none' | Funbox mode for visual effects (must match original test) |
This component has no outputs. It automatically plays the replay after initialization.
FAQs
Typing Test component
The npm package @testgorilla/tgo-typing-test receives a total of 301 weekly downloads. As such, @testgorilla/tgo-typing-test popularity was classified as not popular.
We found that @testgorilla/tgo-typing-test demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 15 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.