Gathering detailed insights and metrics for astronomia
Gathering detailed insights and metrics for astronomia
Gathering detailed insights and metrics for astronomia
Gathering detailed insights and metrics for astronomia
npm install astronomia
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
121 Stars
199 Commits
23 Forks
6 Watching
2 Branches
2 Contributors
Updated on 12 Nov 2024
JavaScript (99.92%)
Shell (0.07%)
Makefile (0.01%)
Cumulative downloads
Total Downloads
Last day
4.8%
34,465
Compared to previous day
Last week
13.8%
174,038
Compared to previous week
Last month
14.6%
689,857
Compared to previous month
Last year
46.9%
5,819,133
Compared to previous year
An astronomical library
This library is a translation of meeus from Go to Javascript and contains selected algorithms from the book "Astronomical Algorithms" by Jean Meeus, following the second edition, copyright 1998, with corrections as of August 10, 2009.
Additional algorithms not covered in the book have been added.
npm install --save astronomia
Make sure you add <meta charset="UTF-8">
to your HTML or at least include your
bundle with <script src="your-bundle.js" charset="UTF-8"></script>
then
this package runs in modern browsers.
core-js/es6
polyfill)For documentation of the different packages please take a look at the source code as well as at the tests.
If you require a small footprint in your final application, each of the provided packages can be used as a single one:
1// instead of 2const base = require('astronomia').base 3// use 4const base = require('astronomia/base')
ES6 Syntax
1// instead of 2import {base} from 'astronomia' 3// use 4import base from 'astronomia/base'
To access dedicated VSOP87 data sets use e.g.
1const {vsop87Bvenus} = require('astronomia').data 2// or 3const vsop87Bvenus = require('astronomia/data/vsop87Bvenus')
npm test
to even run very long lasting tests, do
SLOWTESTS=1 npm test
In local browser
npm run zuul -- --local 3000
If you contribute code to this project, you are implicitly allowing your code to be distributed under the MIT license.
You are also implicitly verifying that all code is your original work or correctly attributed with the source of its origin and licence.
MIT Licensed
See LICENSE for more info.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 1/22 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More