A suite to track Project Diva score statistics and ratings / D4DJ event data.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
projectdivar/server/node_modules/clamp
sigonasr2 0785506fad Update and test twitter endpoints and connections. Prepare java spring server 4 years ago
..
.npmignore Update and test twitter endpoints and connections. Prepare java spring server 4 years ago
LICENSE.md Update and test twitter endpoints and connections. Prepare java spring server 4 years ago
README.md Update and test twitter endpoints and connections. Prepare java spring server 4 years ago
index.js Update and test twitter endpoints and connections. Prepare java spring server 4 years ago
package.json Update and test twitter endpoints and connections. Prepare java spring server 4 years ago
test.js Update and test twitter endpoints and connections. Prepare java spring server 4 years ago

README.md

clamp frozen

Clamp a value between two other values. It's as simple as modules come - saving keystrokes because I've had to write this function too many times.

Usage

clamp

clamp(value, a, b)

Returns value, if it is between a and b. Otherwise, returns the number it's gone past.

License

MIT. See LICENSE.md for details.