nearest-date
Version:
Given an array of dates, this module will find the date nearest to a given target date. Can be used to find the nearest number as well
39 lines (38 loc) • 923 B
JSON
{
"name": "nearest-date",
"version": "1.0.1",
"description": "Given an array of dates, this module will find the date nearest to a given target date. Can be used to find the nearest number as well",
"main": "index.js",
"dependencies": {},
"devDependencies": {
"standard": "^8.6.0",
"tape": "^4.6.3"
},
"scripts": {
"test": "standard && node test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/watson/nearest-date.git"
},
"keywords": [
"distance",
"date",
"close",
"closest",
"relative",
"near",
"nearest",
"index"
],
"author": "Thomas Watson Steen <w@tson.dk> (https://twitter.com/wa7son)",
"license": "MIT",
"bugs": {
"url": "https://github.com/watson/nearest-date/issues"
},
"homepage": "https://github.com/watson/nearest-date#readme",
"coordinates": [
53.562000175988786,
9.985889209335369
]
}