{"library":"normalize-range","type":"library","category":null,"description":"normalize-range is a utility package designed to normalize numeric values within specified ranges, particularly useful for applications involving cyclical systems like angles or polar coordinates. The current stable version is 0.1.2, released approximately 8 years ago, indicating the package is no longer actively maintained. Its core functionality includes `wrap` for values that \"wrap around\" (e.g., 361 degrees becoming 1 degree in a 0-360 range), `limit` for clamping values within a fixed inclusive range, `test` for range checking, `validate` for asserting values within a range, and `curry` for creating partially applied range functions. A key differentiator is its explicit handling of inclusive/exclusive range boundaries, which differs between `wrap` and `limit` operations, providing precise control for various normalization scenarios.","language":"javascript","status":"abandoned","version":"0.1.2","tags":["javascript","range","normalize","utility","angle","degrees","polar"],"install":[{"cmd":"npm install normalize-range","imports":["const nr = require('normalize-range');","const { wrap } = require('normalize-range');","const curryRange = require('normalize-range').curry;"]},{"cmd":"yarn add normalize-range","imports":[]},{"cmd":"pnpm add normalize-range","imports":[]}],"homepage":null,"github":"https://github.com/jamestalmage/normalize-range","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/normalize-range","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/normalize-range/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}