CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-lilconfig

A zero-dependency alternative to cosmiconfig for loading configuration files

89

1.21x
Overview
Eval results
Files

Evaluation results

100%

Configuration Loader Utility

Sync API (lilconfigSync) for synchronous operations

Criteria
Without context
With context

Uses lilconfigSync function

100%

100%

Implements search method

100%

100%

Implements load method

100%

100%

Implements cache clearing

100%

100%

Correct explorer initialization

100%

100%

100%

Project Configuration Finder

Configuration file search with upward directory traversal

Criteria
Without context
With context

Uses lilconfig function

100%

100%

Calls search method

100%

100%

Configures module name

100%

100%

Configures searchPlaces

100%

100%

Uses stopDir option

100%

100%

Passes searchFrom parameter

100%

100%

Handles search result

100%

100%

100%

Configuration Cache Performance Monitor

Load cache optimization with file-level caching

Criteria
Without context
With context

Loader Initialization

100%

100%

Direct File Loading

100%

100%

Cache Management

100%

100%

Cached Load Performance

100%

100%

Cache Clearing Effect

100%

100%

Independent File Caching

100%

100%

100%

Project Configuration Finder

Search method for finding configs in directory tree

Criteria
Without context
With context

Uses lilconfig

100%

100%

Creates explorer

100%

100%

Configures search places

100%

100%

Implements search method

100%

100%

Handles search results

100%

100%

Supports both APIs

100%

100%

100%

Configuration Migration Utility

Cosmiconfig API compatibility for easy migration

Criteria
Without context
With context

Lilconfig async explorer creation

100%

100%

Lilconfig sync explorer creation

100%

100%

Async search method usage

100%

100%

Sync search method usage

100%

100%

Result structure handling

100%

100%

Comparison implementation

100%

100%

8%

8%

Configuration Value Extractor

Package.json property path error handling

Criteria
Without context
With context

Uses lilconfig

0%

0%

packageProp configuration

0%

0%

Load method usage

0%

0%

Null vs undefined

0%

26%

80%

80%

Configuration Extractor

Package.json property extraction

Criteria
Without context
With context

lilconfig initialization

0%

100%

packageProp configuration

0%

100%

search() method usage

0%

100%

load() method usage

0%

0%

Result handling

0%

100%

100%

Configuration Cache Manager

Cache option for enabling/disabling performance optimization

Criteria
Without context
With context

Import lilconfig function

100%

100%

Cache option usage

100%

100%

Multiple explorer instances

100%

100%

Search method usage

100%

100%

Cache clearing methods

100%

100%

Timing measurements

100%

100%

Result structure handling

100%

100%

100%

30%

Configuration File Loader

Configuration file loading by path

Criteria
Without context
With context

Creates explorer instance

50%

100%

Uses load method

33%

100%

Handles async operations

100%

100%

Processes result object

100%

100%

Handles null results

100%

100%

Error validation

100%

100%

100%

39%

Configuration Cache Manager

Cache management with clearSearchCache, clearLoadCache, and clearCaches

Criteria
Without context
With context

Uses lilconfig creation

100%

100%

Implements clearSearchCache

50%

100%

Implements clearLoadCache

50%

100%

Implements clearCaches

50%

100%

Uses search method

70%

100%

Uses load method

70%

100%

Cache independence

40%

100%

Cache identity behavior

100%

100%

Install with Tessl CLI

npx tessl i tessl/npm-lilconfig
Evaluated
Agent
Claude Code

Table of Contents