In The Name Of God
Replacer is a micro JS library
that replaces a variable texts with it's value.
To use:
- Create an array
- Create an array for each variable
- In every array, we have two strings:
- The first string is the variable name.
| {"name":"Godot","settings":"{\"settings\":\"{\\r\\n \\\"chat.disableAIFeatures\\\": true,\\r\\n \\\"workbench.activityBar.location\\\": \\\"top\\\",\\r\\n \\\"workbench.sideBar.location\\\": \\\"right\\\",\\r\\n \\\"workbench.colorTheme\\\": \\\"True Godot\\\",\\r\\n \\\"workbench.iconTheme\\\": \\\"material-icon-theme\\\",\\r\\n \\\"editor.fontFamily\\\": \\\"'JetBrains Mono', Consolas, 'Courier New', monospace\\\",\\r\\n \\\"workbench.editor.enablePreview\\\": false,\\r\\n \\\"editor.bracketPairColorization.enabled\\\": false\\r\\n}\"}","extensions":"[{\"identifier\":{\"id\":\"geequlim.godot-tools\",\"uuid\":\"bbcbb8de-2baf-455f-a458-d5a6f084cebb\"},\"displayName\":\"godot-tools\",\"applicationScoped\":false},{\"identifier\":{\"id\":\"mrpogofu.true-godot\",\"uuid\":\"4608fd77-afc0-4ad8-b8e4-b17cb4c6c17a\"},\"displayName\":\"True Godot Theme\",\"applicationScoped\":false},{\"identifier\":{\"id\":\"pkief.material-icon-theme\",\"uuid\":\"5db78037-f674-459f-a236-db622c427c5b\"},\"display |
| /** | |
| * @license | |
| * **techie-gibberish** - A library for generating absurd debug messages. | |
| * Warning: May cause existential crises in junior developers. | |
| */ | |
| export const MESSAGES = { | |
| error: [ | |
| "CRITICAL: Quantum syntax mismatch in the GPU's emotional resonance layer.", | |
| "404: Soul not found. Check your life choices and retry.", |
| const ACTIONS = ["view" , "edit" , "remove" , "create"] as const | |
| type Action = typeof ACTIONS[number] | |
| const RESOURCES = ["post", "product"] as const | |
| type Resource = typeof RESOURCES[number] | |
| const makePermission = (action: Action, resource: Resource) => `${action}:${resource}` | |
| const PERMISSIONS = { | |
| viewer: [ |