{"id":16625817,"url":"https://github.com/aleclarson/clampvalue","last_synced_at":"2026-04-18T21:32:37.853Z","repository":{"id":66177598,"uuid":"51630563","full_name":"aleclarson/clampValue","owner":"aleclarson","description":"Prevent a value from being out of range","archived":false,"fork":false,"pushed_at":"2018-12-15T09:52:00.000Z","size":0,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T02:44:03.203Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aleclarson.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":"2016-02-13T03:36:26.000Z","updated_at":"2016-09-14T20:36:03.000Z","dependencies_parsed_at":"2023-02-20T18:00:21.697Z","dependency_job_id":null,"html_url":"https://github.com/aleclarson/clampValue","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"e43fceedad25c0a85c103f9264aa640ab6c29d13"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2FclampValue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2FclampValue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2FclampValue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2FclampValue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aleclarson","download_url":"https://codeload.github.com/aleclarson/clampValue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243039628,"owners_count":20226131,"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-12T04:07:20.998Z","updated_at":"2026-04-18T21:32:37.815Z","avatar_url":"https://github.com/aleclarson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# clampValue v1.0.0 ![locked](https://img.shields.io/badge/stability-locked-0084B6.svg?style=flat)\n\n```js\nconst clampValue = require('clampValue');\n\nlet newValue = clampValue(value, minValue, maxValue);\n```\n\n- An error is thrown when `minValue \u003e maxValue`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleclarson%2Fclampvalue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faleclarson%2Fclampvalue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleclarson%2Fclampvalue/lists"}