Download node_modules/d3-interpolate/src/date.js from NKessler/Horizon: direct link, hf CLI and curl.
- Browser
- Download file 144 Bytes
-
https://huggingface.co/NKessler/Horizon/resolve/main/node_modules/d3-interpolate/src/date.js
- Command line
-
hf download hf://NKessler/Horizon/node_modules/d3-interpolate/src/date.js
-
curl -L -o date.js https://huggingface.co/NKessler/Horizon/resolve/main/node_modules/d3-interpolate/src/date.js
144 Bytes
| export default function(a, b) { | |
| var d = new Date; | |
| return a = +a, b = +b, function(t) { | |
| return d.setTime(a * (1 - t) + b * t), d; | |
| }; | |
| } | |