{"id":15743778,"url":"https://github.com/doowb/array-avg","last_synced_at":"2025-03-13T10:30:57.699Z","repository":{"id":57183890,"uuid":"43003364","full_name":"doowb/array-avg","owner":"doowb","description":"Calculate the average of an array of numbers.","archived":false,"fork":false,"pushed_at":"2015-10-16T02:54:26.000Z","size":140,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T07:39:11.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/doowb.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}},"created_at":"2015-09-23T13:41:53.000Z","updated_at":"2021-04-12T22:09:08.000Z","dependencies_parsed_at":"2022-08-23T01:20:51.574Z","dependency_job_id":null,"html_url":"https://github.com/doowb/array-avg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Farray-avg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Farray-avg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Farray-avg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Farray-avg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doowb","download_url":"https://codeload.github.com/doowb/array-avg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243385878,"owners_count":20282643,"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":[],"created_at":"2024-10-04T03:21:22.934Z","updated_at":"2025-03-13T10:30:57.401Z","avatar_url":"https://github.com/doowb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# array-avg [![NPM version](https://badge.fury.io/js/array-avg.svg)](http://badge.fury.io/js/array-avg)  [![Build Status](https://travis-ci.org/doowb/array-avg.svg)](https://travis-ci.org/doowb/array-avg)\n\n\u003e Calculate the average of an array of numbers.\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i array-avg --save\n```\n\n## Usage\n\n```js\nvar avg = require('array-avg');\n\navg([1, 2, 3, 4, 5]);\n//=\u003e 3\n\navg(['1', '2', 3, '4', 5]);\n//=\u003e 3\n\navg([1, 'foo', 2, 4, {}, 5]);\n//=\u003e 2\n```\n\n## Related projects\n\n[array-sum](https://www.npmjs.com/package/array-sum): Add up all of the numbers in an array of numbers. Works when non-numbers are… [more](https://www.npmjs.com/package/array-sum) | [homepage](https://github.com/jonschlinkert/array-sum)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d \u0026\u0026 npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/doowb/array-avg/issues/new).\n\n## Author\n\n**Brian Woodward**\n\n+ [github/doowb](https://github.com/doowb)\n+ [twitter/doowb](http://twitter.com/doowb)\n\n## License\n\nCopyright © 2015 Brian Woodward\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on September 23, 2015._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Farray-avg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoowb%2Farray-avg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Farray-avg/lists"}