suncalc-ts
Version:
A tiny JavaScript library for calculating sun/moon positions and phases.
61 lines (60 loc) • 1.55 kB
JSON
{
"name": "suncalc-ts",
"version": "3.0.1",
"description": "A tiny JavaScript library for calculating sun/moon positions and phases.",
"author": "Vladimir Agafonkin",
"repository": "e-adrien/suncalc-ts",
"homepage": "https://github.com/e-adrien/suncalc-ts#readme",
"bugs": {
"url": "https://github.com/e-adrien/suncalc-ts/issues"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "22.x || 24.x"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"scripts": {
"freshlock": "rm -rf node_modules/ && rm .yarn/install-state.gz && rm yarn.lock && yarn",
"eslint-check": "eslint .",
"eslint-fix": "eslint . --fix",
"prettier-check": "prettier --check .",
"prettier-fix": "prettier --write .",
"test": "NODE_OPTIONS='--loader=ts-node/esm' mocha",
"build": "tsc -p tsconfig.build.json"
},
"files": [
"src/**/*",
"dist/**/*"
],
"keywords": [
"sun",
"astronomy",
"math",
"calculation",
"sunrise",
"sunset",
"twilight",
"moon",
"illumination"
],
"devDependencies": {
"@eslint/js": "^9.39.1",
"@tsconfig/node22": "^22.0.5",
"@types/mocha": "^10.0.10",
"@types/node": "^24.10.1",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"globals": "^16.5.0",
"mocha": "^11.7.5",
"prettier": "^3.7.4",
"ts-node": "^10.9.2",
"typedoc": "^0.28.15",
"typescript": "^5.9.3",
"typescript-eslint": "8.48.1"
},
"packageManager": "yarn@4.12.0"
}