{"id":15504625,"url":"https://github.com/alanbsmith/sum-arr","last_synced_at":"2026-01-07T16:06:43.561Z","repository":{"id":44075585,"uuid":"206654419","full_name":"alanbsmith/sum-arr","owner":"alanbsmith","description":"an example library built with TypeScript and Rollup","archived":false,"fork":false,"pushed_at":"2023-01-04T09:05:31.000Z","size":339,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T19:28:45.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/alanbsmith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-05T20:45:42.000Z","updated_at":"2019-09-17T22:43:04.000Z","dependencies_parsed_at":"2023-02-02T06:15:14.852Z","dependency_job_id":null,"html_url":"https://github.com/alanbsmith/sum-arr","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/alanbsmith%2Fsum-arr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fsum-arr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fsum-arr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fsum-arr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alanbsmith","download_url":"https://codeload.github.com/alanbsmith/sum-arr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246083016,"owners_count":20720895,"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-02T09:19:17.658Z","updated_at":"2026-01-07T16:06:43.518Z","avatar_url":"https://github.com/alanbsmith.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sum Arr\n\n_an example library built with TypeScript_\n\n## Up \u0026 Running\n\n```sh\nnpm install\n```\n\n## Local Development\n\nTo use this library locally, you'll first need to link the module:\n\n```sh\nnpm link\n```\n\nThen tell TypeScript to watch for changes and rebuild\n\n```sh\nnpm run build:watch\n```\n\nIn your project directory, link this library:\n\n```sh\nnpm link sum-arr\n```\n\nAnd import it into your code:\n\n```js\nconst { sumArr } = require('sum-arr');\n\nconst arr = [1, 2, 3, 4, 5];\nreturn sumArr(arr);\n```\n\nRemember to clean up when you're done:\n\n```sh\nnpm unlink sum-arr\n```\n\n## Running Linters \u0026 Tests\n\n### Linters\n\n```sh\nnpm run lint\n```\n\n### Tests\n\n```sh\nnpm test\n```\n\n### Test Coverage\n\n```sh\nnpm run test:coverage:report\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanbsmith%2Fsum-arr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falanbsmith%2Fsum-arr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanbsmith%2Fsum-arr/lists"}