{"id":20328698,"url":"https://github.com/expoverse/npm-package-math","last_synced_at":"2026-04-16T17:02:23.080Z","repository":{"id":124045715,"uuid":"596322521","full_name":"Expoverse/npm-package-math","owner":"Expoverse","description":"This is a dual purpose NPM package that demonstrates how to create your own NPM package and is also for math functions that are required in applications. This package can be downloaded and imported into any project that requires math.","archived":false,"fork":false,"pushed_at":"2023-02-01T23:41:19.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T20:11:38.295Z","etag":null,"topics":["core","example","functions","helper","javascript","javascript-library","learning","library","math","npm-package","package","tutorial"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Expoverse.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-02-01T23:37:42.000Z","updated_at":"2023-02-01T23:49:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"541a811b-8571-4456-87f5-74746e6d145d","html_url":"https://github.com/Expoverse/npm-package-math","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"66825a345e0a5e097fb21bab54fd74f7b77dbbb6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Expoverse/npm-package-math","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Expoverse%2Fnpm-package-math","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Expoverse%2Fnpm-package-math/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Expoverse%2Fnpm-package-math/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Expoverse%2Fnpm-package-math/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Expoverse","download_url":"https://codeload.github.com/Expoverse/npm-package-math/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Expoverse%2Fnpm-package-math/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31895650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["core","example","functions","helper","javascript","javascript-library","learning","library","math","npm-package","package","tutorial"],"created_at":"2024-11-14T20:07:26.996Z","updated_at":"2026-04-16T17:02:23.065Z","avatar_url":"https://github.com/Expoverse.png","language":"JavaScript","readme":"# NPM Math Package\n\nThis is a simple npm package that exports a single function called add, which takes two arguments a and b and returns their sum. The function can be used in any Node.js project by including it as a dependency and importing it in the project code. The package provides a convenient way to perform basic arithmetic operations, making it a useful tool for developers working on various projects.\n\n## Installation\n\nTo use this package in your project, simply run the following command:\n\n```\nnpm i npm-package-math\n```\n\n## Usage\n\nTo use the `add` function in your code, import it as follows:\n\n```\nconst add = require('npm-package-math');\n\nconsole.log(add(2, 3)); // 5\n```\n\n\n## Contributing\n\nContributions to this package are welcome. If you have any suggestions or bug reports, please [open an issue](https://github.com/Expoverse/npm-package-math/issues) or [submit a pull request](https://github.com/Expoverse/npm-package-math/pulls).\n\n## License\n\nThis package is licensed under the [MIT](LICENSE) license.\n\n## Reference\n\nThe website AppCode provided the npm-package-math npm package as a tutorial for developers to learn how to create and publish their own npm packages. The website provides clear and concise instructions on how to create a basic npm package, as well as helpful tips and best practices for creating other web projects. The package serves as an excellent starting point for developers who are new to creating and publishing npm packages, and provides a hands-on experience that helps them to better understand the process. Additionally, the website [provides support, references, and resources for developers](https://appcode.app) to continue learning and improving their skills, making it an ideal platform for developers of all levels to expand their knowledge and expertise in web development. [More info](https://appcode.app)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpoverse%2Fnpm-package-math","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexpoverse%2Fnpm-package-math","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpoverse%2Fnpm-package-math/lists"}