{"id":19730359,"url":"https://github.com/lnardon/mapalizer","last_synced_at":"2026-05-09T20:52:12.853Z","repository":{"id":123870996,"uuid":"323562952","full_name":"lnardon/Mapalizer","owner":"lnardon","description":"An npm module to map and normalize a value in a given range","archived":false,"fork":false,"pushed_at":"2020-12-24T04:47:44.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T17:49:50.053Z","etag":null,"topics":["coordinates","module","normalizer","npm-package","react","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/mapalizer","language":"TypeScript","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/lnardon.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":"2020-12-22T08:13:23.000Z","updated_at":"2020-12-24T04:47:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"db10b76c-5ad6-48ce-9d7c-955c60bf900e","html_url":"https://github.com/lnardon/Mapalizer","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/lnardon%2FMapalizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnardon%2FMapalizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnardon%2FMapalizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnardon%2FMapalizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnardon","download_url":"https://codeload.github.com/lnardon/Mapalizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241055899,"owners_count":19901676,"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":["coordinates","module","normalizer","npm-package","react","typescript"],"created_at":"2024-11-12T00:16:03.325Z","updated_at":"2026-05-09T20:52:07.831Z","avatar_url":"https://github.com/lnardon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mapalizer\n\nAn npm module to map and normalize a value in a given range\n\n[![NPM](https://img.shields.io/npm/v/mapalizer.svg)](https://www.npmjs.com/package/mapalizer) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Installation\n\n```bash\nnpm install mapalizer\n```\n\n## Usage\n\nProvide the 5 required arguments in the function call and the normalized value will be returned\n\n```tsx\nimport useMapalizer from \"mapalizer\";\n\nconst result = useMapalizer(value: number,initalBaseVal: number,finalBaseVal: number,initalTargetVal: number, finalTargetVal: number);\n```\n\n## Example\n\n```jsx\nimport useMapalizer from \"mapalizer\";\n\nconst result = useMapalizer(10, 1, 100, 20, 30);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnardon%2Fmapalizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnardon%2Fmapalizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnardon%2Fmapalizer/lists"}