UNPKG

solar-time

Version:

This library provides functions to calculate local solar time, also known as local apparent time, based on a given location and date.

70 lines 1.67 kB
{ "name": "solar-time", "type": "module", "private": false, "version": "0.1.2", "description": "This library provides functions to calculate local solar time, also known as local apparent time, based on a given location and date.", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "main": "dist/index.js", "files": [ "dist" ], "repository": { "type": "git", "url": "https://github.com/semanticist21/solar-time" }, "author": "semanticist21", "license": "MIT", "devDependencies": { "@jest/globals": "^29.7.0", "@rollup/plugin-typescript": "^11.1.6", "@testing-library/jest-dom": "^6.4.2", "@types/node": "^20.14.10", "babel-jest": "^29.7.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "rollup-plugin-typescript-paths": "^1.5.0", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "tslib": "^2.6.3", "typescript": "^5.5.3", "vite": "^5.3.3" }, "dependencies": { "dayjs": "^1.11.12", "decimal.js": "^10.4.3" }, "keywords": [ "solar-time", "solar", "time", "sun-position", "local-solar-time", "equation-of-time", "astronomy", "daylight", "sun", "longitude", "latitude", "solar-energy", "solar-panel", "time-calculation", "day-of-year", "earth-orbit", "time-correction", "local-time", "solar-calculator", "day-angle" ], "scripts": { "dev": "bun run src/index.ts", "build": "vite build", "test": "jest --verbose false", "publish-prod": "pnpm run test && pnpm run build && pnpm publish --access=public" } }