Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| #!/usr/bin/env -S deno run -Aq --unstable-kv | |
| //! Domain Hack Generator and Availability Checker | |
| //! ----------------------------------------------------------------------- | |
| //! Copyright (c) 2025 Nicholas Berlette. All rights reserved. MIT License. | |
| //! ----------------------------------------------------------------------- | |
| // deno-lint-ignore-file no-explicit-any | |
| /** |
| #!/usr/bin/env bash | |
| # pre-commit - deno fmt + deno lint | |
| # --------------------------------------------------------------------- | |
| # Copyright (c) 2025 Nicholas Berlette. All rights reserved. | |
| # Published under the MIT License (https://nick.mit-license.org). | |
| # --------------------------------------------------------------------- | |
| # Runs deno's formatter and linter on staged files before committing. | |
| # | |
| # Place this file in your .git/hooks/ directory to enable pre-commit checks. |
| MIT License | |
| Copyright (c) 2024-2025+ Nicholas Berlette (https://github.com/nberlette). All rights reserved. | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| this software and associated documentation files (the "Software"), to deal in | |
| the Software without restriction, including without limitation the rights to | |
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
| the Software, and to permit persons to whom the Software is furnished to do so, | |
| subject to the following conditions: |
| { | |
| "files.watcherExclude": { | |
| "**/.coverage/**": true, | |
| "**/docs/**": true, | |
| "**/target/**": true | |
| }, | |
| "deno.enable": true, | |
| "deno.lint": true, | |
| "deno.codeLens.test": true, | |
| "deno.cacheOnSave": true, |
| // deno-lint-ignore-file no-explicit-any | |
| /** | |
| * Logger interface for parser/lexer. | |
| */ | |
| export interface Logger { | |
| debug(message: string, ...args: unknown[]): void; | |
| info(message: string, ...args: unknown[]): void; | |
| warning(message: string, ...args: unknown[]): void; | |
| error(message: string, ...args: unknown[]): void; |
| /** | |
| * This module provides a block letter rendering utility for text, | |
| * capable of rendering arbitrary strings into multiple styles of | |
| * block letters using either ASCII characters or Unicode blocks. | |
| * | |
| * It's perfect for creating stylized text in console applications! | |
| * | |
| * | |
| * @license MIT (https://nick.mit-license.org) | |
| * @author Nicholas Berlette <https://github.com/nberlette> |
| The MIT License (MIT) | |
| Copyright (c) 2025+ Nicholas Berlette (https://github.com/nberlette) | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| this software and associated documentation files (the "Software"), to deal in | |
| the Software without restriction, including without limitation the rights to | |
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
| the Software, and to permit persons to whom the Software is furnished to do so, | |
| subject to the following conditions: |
| The MIT License (MIT) | |
| Copyright (c) 2023-2025+ Nicholas Berlette (https://github.com/nberlette) | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| this software and associated documentation files (the "Software"), to deal in | |
| the Software without restriction, including without limitation the rights to | |
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
| the Software, and to permit persons to whom the Software is furnished to do so, | |
| subject to the following conditions: |