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.74 kB
JSON
{
"name": "solar-time",
"type": "module",
"private": false,
"version": "2.1.0",
"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": {
"@biomejs/biome": "^2.3.2",
"@rollup/plugin-typescript": "^12.3.0",
"@types/node": "^24.9.2",
"@vitest/ui": "^4.0.6",
"rollup-plugin-typescript-paths": "^1.5.0",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vite": "^7.1.12",
"vitest": "^4.0.6"
},
"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": "vitest run",
"test:watch": "vitest",
"format": "biome format --write .",
"format:check": "biome format .",
"lint": "biome lint .",
"lint:fix": "biome lint --write .",
"check": "biome check .",
"check:fix": "biome check --write .",
"publish-prod": "pnpm run check && pnpm run test && pnpm run build && pnpm publish --access=public"
}
}