UNPKG

dayjs-random

Version:

Day.js plugin to add support for getting a random date either between two dates, a random date in the future or a random date in the past.

41 lines (40 loc) 1.07 kB
{ "name": "dayjs-random", "version": "1.0.1", "main": "index.min.js", "module": "index.min.js", "license": "MIT", "author": "Fraser Hamilton", "description": "Day.js plugin to add support for getting a random date either between two dates, a random date in the future or a random date in the past.", "keywords": [ "day.js", "dayjs", "random", "randomdates", "between" ], "repository": { "type": "git", "url": "https://github.com/FraserHamilton/dayjs-random.git" }, "files": [ "index.min.js" ], "scripts": { "build": "rollup --config", "minify": "terser build/index.js --compress --mangle --output index.min.js", "build:minify": "yarn build && yarn minify", "test": "jest --watch" }, "devDependencies": { "@babel/core": "^7.10.3", "@babel/preset-env": "^7.10.3", "babel-jest": "^26.1.0", "dayjs": "^1.10.8", "jest": "^27.5.1", "prettier": "^2.0.5", "rollup": "^2.18.0", "terser": "^4.8.0" }, "dependencies": {} }