CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-update-notifier

Update notifications for your CLI app

Overall
score

97%

Overview
Eval results
Files

Evaluation results

100%

Terminal Output Manager

TTY detection and output control

Criteria
Without context
With context

TTY Detection

100%

100%

Boolean Return

100%

100%

Stderr Output

100%

100%

TTY Suppression

100%

100%

Output Feedback

100%

100%

Correct Exports

100%

100%

100%

CLI Version Checker

Context-aware behavior (CI, test, npm script detection)

Criteria
Without context
With context

update-notifier import

100%

100%

Package metadata usage

100%

100%

Basic notification display

100%

100%

CI detection

100%

100%

Test environment handling

100%

100%

npm script behavior

100%

100%

Environment variable opt-out

100%

100%

TTY detection

100%

100%

100%

60%

CLI Version Monitor

Non-blocking update detection via detached background process

Criteria
Without context
With context

Package initialization

100%

100%

Background check invocation

20%

100%

Update notification display

0%

100%

Check interval configuration

100%

100%

State persistence

0%

100%

Proper API integration

50%

100%

85%

15%

Pre-Release Version Tracker

Custom distribution tag support for pre-release tracking

Criteria
Without context
With context

updateNotifier import

0%

100%

distTag option usage

88%

100%

pkg object structure

100%

100%

updateCheckInterval configuration

100%

100%

notify() method

0%

0%

Environment-based disable

80%

100%

Return value handling

100%

100%

100%

CLI Update Checker

Multiple disable mechanisms (env, CLI, config)

Criteria
Without context
With context

Import update-notifier

100%

100%

Create notifier instance

100%

100%

Environment variable detection

100%

100%

CLI flag detection

100%

100%

Config-based opt-out

100%

100%

Call notify method

100%

100%

94%

3%

Package Update Monitor

Class-based architecture with proper encapsulation

Criteria
Without context
With context

Class Constructor

100%

100%

Private Fields

100%

100%

recordCheck Method

100%

100%

getLastCheck Method

100%

100%

getCheckCount Method

100%

100%

Read-Only Accessors

100%

100%

Defensive Copying

53%

66%

Encapsulation Integrity

60%

80%

95%

32%

Version Status Reporter

Semantic version intelligence and comparison

Criteria
Without context
With context

UpdateNotifier instantiation

100%

100%

fetchInfo() method usage

100%

100%

Update object access

40%

100%

Update type classification

20%

100%

Version comparison logic

40%

66%

Async/Promise handling

100%

100%

100%

10%

CLI Version Checker

Performance-optimized imports for minimal overhead

Criteria
Without context
With context

Package Import

100%

100%

Package.json Import

100%

100%

Factory Initialization

100%

100%

Notify Method

100%

100%

Automatic Environment Detection

100%

100%

Deferred Notification

100%

100%

Automatic Caching

0%

100%

100%

CLI Update Status Reporter

Programmatic update checking via fetchInfo() method

Criteria
Without context
With context

UpdateNotifier instantiation

100%

100%

fetchInfo() usage

100%

100%

Promise handling

100%

100%

Update info extraction

100%

100%

Conditional logic

100%

100%

Error handling

100%

100%

93%

56%

Update Notification Display

Sophisticated message templating with placeholders

Criteria
Without context
With context

Update notifier initialization

100%

100%

Custom message template

25%

100%

Placeholder substitution

0%

72%

Boxen options configuration

50%

100%

Border customization

33%

100%

Additional box styling

40%

100%

Install with Tessl CLI

npx tessl i tessl/npm-update-notifier
Evaluated
Agent
Codex

Table of Contents