{"id":21739402,"url":"https://github.com/ihefty/lazyuwu","last_synced_at":"2026-03-19T21:09:54.185Z","repository":{"id":258785226,"uuid":"874889309","full_name":"IHEfty/lazyuwu","owner":"IHEfty","description":"Lazyuwu is a utility package for the Tender that offers functions for mathematical calculations, string manipulations, file operations, and console text formatting, enhancing developer productivity by simplifying common tasks.","archived":false,"fork":false,"pushed_at":"2024-10-19T17:06:18.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T16:53:15.076Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IHEfty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-18T16:41:51.000Z","updated_at":"2024-10-29T16:51:05.000Z","dependencies_parsed_at":"2024-10-20T19:37:47.618Z","dependency_job_id":null,"html_url":"https://github.com/IHEfty/lazyuwu","commit_stats":null,"previous_names":["ihefty/lazyuwu"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IHEfty/lazyuwu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IHEfty%2Flazyuwu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IHEfty%2Flazyuwu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IHEfty%2Flazyuwu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IHEfty%2Flazyuwu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IHEfty","download_url":"https://codeload.github.com/IHEfty/lazyuwu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IHEfty%2Flazyuwu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273997100,"owners_count":25204473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T06:08:51.248Z","updated_at":"2026-02-11T22:38:54.543Z","avatar_url":"https://github.com/IHEfty.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# lazyuwu\n\n**lazyuwu** is a utility package designed for the [**Tender**](https://github.com/2dprototype/tender), offering a suite of functions to streamline mathematical computations, string manipulations, file operations, and console text formatting. Its primary goal is to enhance developer productivity and simplify common tasks in the Tender environment.\n\n## Features\n\n- **Mathematical Functions**: Perform essential mathematical operations, including sine, cosine, and exponentiation.\n- **String Manipulation**: Convert strings to uppercase, split strings, and join multiple strings with ease.\n- **File Operations**: Read from and write to files, append content, and verify file and directory statuses.\n- **Colored Text Printing**: Output text in various colors to improve console visibility and enhance user experience.\n\n## Installation Steps\n\nFollow these steps to set up the `lazyuwu` package in your Tender environment:\n\n1. **Download Tender**: \n   - Download the Tender programming language from the [Tender GitHub repository](https://github.com/2dprototype/tender).\n\n2. **Install Tender**: \n   - Extract the downloaded package and navigate to the folder.\n\n3. **Upload `lazyuwu` and `color.td`**: \n   - Place the `lazyuwu` and `color.td` files in the `pkg` directory of your Tender installation. The directory structure should look like this:\n\n   ```\n   ├───bin\n   │   └───tender.exe\n   └───pkg\n       │   ansi.td\n       │   cinf.td\n       │   console.td\n       │   enum.td\n       │   fs.td\n       │   matrix.td\n       │   messagebox.td\n       │   utf8.td\n       │   vec2.td\n       │   xml.td\n       │   lazyuwu.td\n       │   color.td\n       └───helper\n\n   ```\n\n4. **Import the Package**: \n   - To incorporate the `lazyuwu` package into your Tender project, simply import it as follows:\n\n   ```tender\n   lazyuwu := import(\"lazyuwu\")\n   ```\n\n## Usage Examples\n\n### Basic Functions\n\nThe following examples demonstrate how to utilize the core functionalities provided by the `lazyuwu` package.\n\n#### Mathematical Functions Example\n\n```tender\nlazyuwu := import(\"lazyuwu\")\n\nfn main() {\n    // Calculate and print the sine of 0.5\n    result := lazyuwu.math.sin(0.5)\n    println(\"Sin(0.5):\", result)\n\n    // Convert a string to uppercase\n    upperStr := lazyuwu.upper(\"hello, world!\")\n    println(\"Uppercase:\", upperStr)\n\n    // Write content to a file\n    lazyuwu.fs.writeFile(\"test.txt\", \"This is a test file.\")\n    println(\"File written: test.txt\")\n\n    // Read content from the file\n    fileContent := lazyuwu.fs.readFile(\"test.txt\")\n    println(\"File content:\", fileContent)\n\n    // Check if the current directory is indeed a directory\n    isDir := lazyuwu.fs.isDir(\".\")\n    println(\"Is current directory:\", isDir)\n\n    // Execute a command to get the Node.js version\n    nodeVersion := lazyuwu.exec.run(\"node\", \"--version\")\n    println(\"Node version:\", nodeVersion)\n}\n\n// Execute the main function\nmain()\n```\n\n### Colored Text Printing Example\n\nThe `lazyuwu` package enables you to print colored text effortlessly.\n\n```tender\nlazyuwu := import(\"lazyuwu\")\n\nfn main() {\n    // Print colored text using printC\n    lazyuwu.printC(\"red\", \"This text is red!\")\n    lazyuwu.printC(\"green\", \"This text is green!\")\n    lazyuwu.printC(\"blue\", \"This text is blue!\")\n    lazyuwu.printC(\"yellow\", \"This text is yellow!\")\n\n    // Print colored text with a newline using printCln\n    lazyuwu.printCln(\"magenta\", \"This text is magenta and ends with a newline.\")\n    lazyuwu.printCln(\"cyan\", \"This text is cyan and also ends with a newline.\")\n\n    // Print a message with multiple parts in blue\n    lazyuwu.printCln(\"blue\", \"This is a\", \"blue\", \"message with\", \"multiple parts!\")\n}\n\n// Execute the main function\nmain()\n```\n\n## Contributing\n\nContributions to the `lazyuwu` package are welcome! If you have suggestions for new features, improvements, or bug fixes, please feel free to open an issue or submit a pull request.\n\n## **Explore More**\n\nTo explore more **Tender** projects and get access to additional code examples, visit the following repository:\n\n[1000+ Codes in Tender](https://github.com/IHEfty/1000-Codes-in-Tender/)\n\nThis repository contains a rich collection of Tender-based code samples, ranging from simple applications to complex utilities, allowing you to enhance your understanding of **Tender** and its capabilities.\n\n## License\n\nThis project is licensed under the MIT License. For details, please refer to the [LICENSE](LICENSE) file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihefty%2Flazyuwu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fihefty%2Flazyuwu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihefty%2Flazyuwu/lists"}