{"id":24117555,"url":"https://github.com/pratyush0898/efun","last_synced_at":"2025-07-12T08:33:03.345Z","repository":{"id":241758296,"uuid":"807612350","full_name":"pratyush0898/efun","owner":"pratyush0898","description":"A collection of extra utility functions to enhance your JavaScript projects.","archived":false,"fork":false,"pushed_at":"2024-06-05T05:24:53.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T19:42:04.295Z","etag":null,"topics":["efun","extra","functions","javascript-library","utility"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pratyush0898.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-29T12:42:06.000Z","updated_at":"2024-06-05T05:24:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0f142c3-167a-4a25-9336-7bf916c5fbba","html_url":"https://github.com/pratyush0898/efun","commit_stats":null,"previous_names":["pratyush0898/efun"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pratyush0898/efun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyush0898%2Fefun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyush0898%2Fefun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyush0898%2Fefun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyush0898%2Fefun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pratyush0898","download_url":"https://codeload.github.com/pratyush0898/efun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyush0898%2Fefun/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264962579,"owners_count":23689841,"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","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":["efun","extra","functions","javascript-library","utility"],"created_at":"2025-01-11T07:54:46.418Z","updated_at":"2025-07-12T08:33:03.337Z","avatar_url":"https://github.com/pratyush0898.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Efun - Extra Utility Functions\n\n**efun** is a collection of utility functions designed to enhance your JavaScript projects. It provides a variety of functionalities for common tasks, making your code more concise and efficient.\n\n## Features\n\n* **Math Functions:** Perform basic arithmetic operations (addition, subtraction, multiplication, division), exponentiation, square root, trigonometric functions, and logarithms.\n* **String Manipulation Functions:** Capitalize strings in various styles (first letter, all words, etc.) and reverse strings.\n* **Array Manipulation Functions:** Reverse the order of elements in an array.\n\n## Installation\n\nInstall the `efun` package using npm or yarn:\n\n```bash\nnpm install efun\n```\n\nor\n\n```bash\nyarn add efun\n```\n\n## Usage\n\n**1. Import the entire package:**\n\n```javascript\nimport Efun from 'efun';\n```\n\n**2. Use individual functions:**\n\n```javascript\nconst sum = Efun.aum(5, 3); // 8\nconst reversedString = Efun.reverseString('hello'); // olleh\n\nconst capitalizedWords = Efun.capitalizeFirstLetterOfEachWord('hello world'); // Hello World\n```\n\n**3. Alternatively, import specific functions (optional):**\n\n```javascript\nimport { reverseArray } from 'efun';\nimport { capitalizeString } from 'efun';\n\nconst reversedArray = reverseArray([1, 2, 3]); // [3, 2, 1]\nconst capitalizedString = capitalizeString('javascript'); // Javascript\n```\n\n**Note:** When importing specific functions, you'll need to import each function you want to use from the `efun` package.\n\n## Contributing\nWe welcome contributions from the community! To contribute to efun view [CONTRIBUTING](CONTRIBUTING.md) and , follow these steps:\n\n1. Fork the repository.\n2. Create a new branch:\n    ```sh\n    git checkout -b feature/your-feature-name\n    ```\n3. Make your changes and commit them:\n    ```sh\n    git commit -m \"Add your commit message\"\n    ```\n4. Push to the branch:\n    ```sh\n    git push origin feature/your-feature-name\n    ```\n5. Open a pull request.\n\nPlease make sure your contributions align with our [code of conduct](./CODE_OF_CONDUCT.md).\n\n## License\n\nThis project is licensed under the [Apache-2.0 License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratyush0898%2Fefun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpratyush0898%2Fefun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratyush0898%2Fefun/lists"}