{"id":21316590,"url":"https://github.com/madnight/array-interpolatejs","last_synced_at":"2026-05-18T19:32:17.499Z","repository":{"id":57149545,"uuid":"114937419","full_name":"madnight/array-interpolatejs","owner":"madnight","description":"Interpolate an array of numbers in js","archived":false,"fork":false,"pushed_at":"2018-05-04T19:14:28.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-25T15:52:14.920Z","etag":null,"topics":["array","array-manipulations","es6","es7","functional-programming","interpolation","javascript","library","math","npm"],"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/madnight.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":"2017-12-20T22:35:12.000Z","updated_at":"2023-04-11T15:21:59.000Z","dependencies_parsed_at":"2022-09-03T11:32:14.736Z","dependency_job_id":null,"html_url":"https://github.com/madnight/array-interpolatejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/madnight/array-interpolatejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madnight%2Farray-interpolatejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madnight%2Farray-interpolatejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madnight%2Farray-interpolatejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madnight%2Farray-interpolatejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madnight","download_url":"https://codeload.github.com/madnight/array-interpolatejs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madnight%2Farray-interpolatejs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267543275,"owners_count":24104538,"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-07-28T02:00:09.689Z","response_time":68,"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":["array","array-manipulations","es6","es7","functional-programming","interpolation","javascript","library","math","npm"],"created_at":"2024-11-21T18:39:56.572Z","updated_at":"2026-05-18T19:32:12.477Z","avatar_url":"https://github.com/madnight.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# array-interpolatejs\nInterpolate an array of numbers in js\n\n## Requirements\n* node 8.0 or higher\n* npm or yarn\n\n## Installation\n\n`npm install array-interpolatejs`\n\n## Usage\n```javascript\nconst { interpolateArray } = require('array-interpolatejs')\n\ninterpolateArray(3)([1, 2, 3])\n//[1, 2, 3]\n\ninterpolateArray(5)([1, 2, 3])\n//[1, 1.5, 2, 2.5, 3]\n\niterpolateArray(4)([5, 9, 500, 30, 80, 5, 9])\n//[5, 500, 80, 9]\n\ninterpolateArray(9)([9])\n//[9, 9, 9, 9, 9, 9, 9, 9, 9]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadnight%2Farray-interpolatejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadnight%2Farray-interpolatejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadnight%2Farray-interpolatejs/lists"}