tessl install tessl/npm-ulid@3.0.0A universally-unique, lexicographically-sortable, identifier generator
Agent Success
Agent success rate when using this tile
78%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.34x
Baseline
Agent success rate without this tile
58%
A utility module for validating and filtering ULID strings in data processing pipelines.
@generates
/**
* Validates whether a given string is a valid ULID
* @param id - The string to validate
* @returns true if valid ULID, false otherwise
*/
export function validateULID(id: string): boolean;
/**
* Filters an array of strings, returning only valid ULIDs
* @param ids - Array of strings to filter
* @returns Array containing only valid ULID strings
*/
export function filterValidULIDs(ids: string[]): string[];
/**
* Counts the number of valid ULIDs in an array
* @param ids - Array of strings to check
* @returns The count of valid ULIDs
*/
export function countValidULIDs(ids: string[]): number;Provides ULID validation functionality.
@satisfied-by