UNPKG

coordinate-sanitizer

Version:

Flexible coordinate parser and sanitizer for astronomical coordinates. Handles various coordinate formats and converts them to standardized formats.

76 lines (75 loc) 2.07 kB
{ "name": "coordinate-sanitizer", "version": "2.0.0", "description": "Flexible coordinate parser and sanitizer for astronomical coordinates. Handles various coordinate formats and converts them to standardized formats.", "main": "src/index.js", "module": "src/index.mjs", "types": "src/index.d.ts", "exports": { ".": { "types": "./src/index.d.ts", "import": "./src/index.mjs", "require": "./src/index.js", "default": "./src/index.js" } }, "scripts": { "test": "node test/test.js", "test:integration": "node test/integration.js", "test:all": "node test/test.js && node test/integration.js", "test:watch": "nodemon test/test.js", "example": "node examples/basic-usage.js", "lint": "eslint .", "typecheck": "tsc --noEmit --strict --module commonjs --target es2020 test/types-check.ts", "build": "echo 'No build step required for pure ES6 modules'", "prepublishOnly": "npm run test:all && npm run lint && npm run typecheck", "version": "npm test && git add -A", "postversion": "git push && git push --tags" }, "keywords": [ "astronomy", "coordinates", "parser", "sanitizer", "ra", "dec", "celestial", "aladin", "voyager", "telescope", "coordinate-conversion", "hms", "dms", "decimal-degrees" ], "author": { "name": "Francesco di Biase", "email": "fran.dibiase@gmail.com", "url": "https://github.com/Francescodib" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/Francescodib/coordinate-sanitizer.git" }, "bugs": { "url": "https://github.com/Francescodib/coordinate-sanitizer/issues" }, "homepage": "https://github.com/Francescodib/coordinate-sanitizer#readme", "files": [ "src/", "README.md", "LICENSE", "CHANGELOG.md" ], "engines": { "node": ">=18.0.0" }, "devDependencies": { "@eslint/js": "^10.0.1", "eslint": "^10.4.1", "globals": "^17.6.0", "nodemon": "^3.0.0", "typescript": "^6.0.3" } }