UNPKG

check-weekend

Version:

A simple utility to check if a date falls on a weekend (Saturday or Sunday)

54 lines (53 loc) 1.37 kB
{ "name": "check-weekend", "version": "1.0.1", "description": "A simple utility to check if a date falls on a weekend (Saturday or Sunday)", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "test": "jest --config jest.config.js", "build": "tsc", "format": "prettier --write \"src/**/*.ts\"", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "keywords": [ "weekend", "date", "utility", "saturday", "sunday", "time", "calendar" ], "author": "Sinan Chaush <sinansonmez@outlook.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/sinansonmez/check-weekend.git" }, "bugs": { "url": "https://github.com/sinansonmez/check-weekend/issues" }, "homepage": "https://github.com/sinansonmez/check-weekend#readme", "devDependencies": { "@types/jest": "^29.5.0", "@types/node": "^18.15.0", "eslint": "^9.32.0", "jest": "^29.5.0", "ts-jest": "^29.1.0", "tslint": "^5.20.1", "tslint-config-prettier": "^1.18.0", "typescript": "^5.0.0" }, "engines": { "node": ">=14.0.0" } }