suncalc-ts
Version:
A tiny JavaScript library for calculating sun/moon positions and phases.
61 lines (60 loc) • 1.56 kB
JSON
{
"name": "suncalc-ts",
"version": "2.0.7",
"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": "20.x || 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.23.0",
"@tsconfig/node20": "^20.1.5",
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.15",
"eslint": "^9.23.0",
"eslint-config-prettier": "^10.1.1",
"globals": "^16.0.0",
"mocha": "^11.1.0",
"prettier": "^3.5.3",
"ts-node": "^10.9.2",
"typedoc": "^0.28.1",
"typescript": "^5.8.2",
"typescript-eslint": "8.29.0"
},
"packageManager": "yarn@4.8.1"
}