describeNameErrorfunctionno test imports itfunction describeNameError(e: NameError): stringA refusal as one sentence.
The name of a module (commons 0001-ergonex FR-005, FR-006): lower-case letters, digits and hyphens, beginning with a letter, at most 32 characters. A name with a path separator, a space, a dot or any other character is refused before it is looked for and is never passed to a shell; a name no module has is answered with the nearest names.
describeNameErrorfunctionno test imports itfunction describeNameError(e: NameError): stringA refusal as one sentence.
ModuleNametypeno test imports ittype ModuleName = Brand<string, "ModuleName">;The name of a module: ergonex <name> runs the module ergonex-<name>.
moduleNamefunctionfunction moduleName(text: string): Result<ModuleName, NameError>A module name from text, or why it is refused. The text is judged as it is: no trimming and no case folding.
nearestNamesfunctionfunction nearestNames(word: string, names: readonly string[]): readonly string[]The modules nearest a name nobody has: up to three, within an edit distance of two, the nearest first and, among equals, in alphabetical order.