CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-punycode

A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.

93

1.17x

Quality

Pending

Does it follow best practices?

Impact

93%

1.17x

Average score across 10 eval scenarios

Overview
Eval results
Files

task.mdevals/scenario-7/

Version Reporter

Provide a tiny module that exposes the version identifier of the Unicode conversion dependency and formats it for display.

@generates

Capabilities

Retrieve library version

  • Calling getLibraryVersion() returns the dependency's version identifier string exactly as declared by the underlying library @test
  • Multiple calls return the same string content without mutation or recomputation side effects @test

Format version label

  • formatVersionLabel("Punycode") prepends the provided label and a colon before the dependency version string @test
  • When no label is provided, the default label Library is used before the version string @test

API

export function getLibraryVersion(): string
export function formatVersionLabel(label?: string): string

Dependencies { .dependencies }

punycode { .dependency }

Use the package's published version identifier when resolving the version string for this module. @satisfied-by

Install with Tessl CLI

npx tessl i tessl/npm-punycode

tile.json