# configuration/constants/source.constants.ts

> 24 lines of code and 4 definitions.

Tree: Code Parse
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/code-parse#file-code-parse-configuration-constants-source-constants-ts
Source text: https://banes-lab.com/source/code-parse/configuration/constants/source.constants.ts.txt

Listed in [configuration/constants](https://banes-lab.com/api/source/code-parse/configuration/constants.md), after [configuration/constants/shell.constants.ts](https://banes-lab.com/source/code-parse/configuration/constants/shell.constants.ts.md) and before [configuration/constants/syntax.constants.ts](https://banes-lab.com/source/code-parse/configuration/constants/syntax.constants.ts.md).

## Definitions

- `UNDECLARED_EXTENSIONS` (lexical_declaration, line 1, exported)
- `SHEBANG_TOKENS` (lexical_declaration, line 12, exported)
- `SHEBANG_PREFIX` (lexical_declaration, line 25, exported)
- `EXTENSION_DOT` (lexical_declaration, line 27, exported)

## Contained in

- [configuration/constants](https://banes-lab.com/anatomy/code-parse/folder-code-parse-configuration-constants.md)

## Source

```typescript
export const UNDECLARED_EXTENSIONS: ReadonlyMap<string, string> = new Map([
    [".mts", "typescript"],
    [".cts", "typescript"],
    [".mli", "ocaml"],
    [".pyi", "python"],
    [".sc", "scala"],
    [".htm", "html"],
    [".edn", "clojure"],
    [".sql", "sql"],
]);

export const SHEBANG_TOKENS: ReadonlyMap<string, string> = new Map([
    ["python", "python"],
    ["node", "javascript"],
    ["deno", "javascript"],
    ["bash", "bash"],
    ["/sh", "bash"],
    ["zsh", "bash"],
    ["ruby", "ruby"],
    ["php", "php"],
    ["lua", "lua"],
    ["elixir", "elixir"],
]);

export const SHEBANG_PREFIX = "#!";

export const EXTENSION_DOT = ".";
```
