UNPKG

dayphase

Version:

Determines the dayphase based on hour boundaries. It allows flexible time segmentation for different cultural or system-defined day phases.

62 lines (61 loc) 1.71 kB
{ "name": "dayphase", "version": "1.0.1", "description": "Determines the dayphase based on hour boundaries. It allows flexible time segmentation for different cultural or system-defined day phases.", "type": "module", "main": "./gen/index.cjs", "exports": { "import": "./src/index.js", "require": "./gen/index.cjs" }, "types": "./index.d.ts", "files": [ "./src/", "./gen" ], "license": "Apache-2.0", "author": { "name": "Alex Stevovich", "email": "alex.stevovich@gmail.com", "url": "https://alexstevovich.com" }, "repository": { "type": "git", "url": "git+https://github.com/alexstevovich/dayphase.git" }, "scripts": { "test": "vitest", "preamble": "preamble --apply --dir ./src/", "zord": "filezord --zord --dir ./ --id pkg:dayphase", "pretty": "npx prettier --write .", "lint": "eslint ./src/", "lint:fix": "eslint --fix ./src/", "build": "npm run preamble && npm run pretty && npm run lint:fix && node build.js && preamble --apply --dir ./gen/ && npm run zord" }, "keywords": [ "time", "day phase", "morning", "afternoon", "evening", "night", "time segmentation", "daytime", "time-of-day", "period of day", "day scheduling", "sunrise", "sunset", "time utils", "datetime" ], "devDependencies": { "@eslint/js": "^9.22.0", "eslint": "^9.21.0", "eslint-plugin-prettier": "^5.2.3", "markdownlint": "^0.37.4", "markdownlint-cli": "^0.44.0", "prettier": "^3.5.3", "vitest": "^3.0.8" } }