jamestalmage / normalize-range
normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)
☆17Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for normalize-range
- A cache for managing namespaced sub-caches☆14Updated 3 years ago
- Create an array by repeating the given string n times.☆19Updated 3 years ago
- Map `visit` over an array of objects.☆17Updated 2 years ago
- Returns true if a string has an extglob☆22Updated 5 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Updated 7 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆25Updated 4 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 3 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆12Updated last year
- Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notati…☆24Updated 2 years ago
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Updated 3 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Updated last year
- The map of HTTP status codes from the builtin http module☆19Updated 2 years ago
- Turn an array like into an array☆11Updated 3 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Updated 3 years ago
- Get the command from a shebang☆22Updated 3 years ago
- Is this an ES6 Symbol value?☆18Updated 2 years ago
- Basic cache object for storing key-value pairs. Based on MapCache in Lo-dash 3.0☆20Updated 8 years ago
- Answers the question: "can this value have keys?". Returns true if a value is any of the object types: array, regexp, plain object, funct…☆19Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Define a non-enumerable property on an object.☆21Updated last year
- Loop over each item in an array and call the given function on every element.☆14Updated 7 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 6 years ago
- Node.js path.dirname() ponyfill☆13Updated 2 years ago
- Clone and modify a RegExp instance☆23Updated 2 years ago
- ☆12Updated 5 years ago
- Faster, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks.☆25Updated 5 years ago