A simple js library for astrology.
See examples folder in the repository.
Or check out this Codepen for basic usage.
See the documentation here in the docs folder.
When using in browser you need to add moment.js before using the library.
Also please note that while the name of the package is astro-lib
, in code you must use astro_lib
please see the example folder.
Under the hood, this uses the moment.js library to handle all sorts of edge cases regarding dates, by default it uses the YYYY-MM-DD
format, but you can send any date format moment.js allows and it should use it
MIT, see accompaning license file.
- Investigate adding function to get Moon sign.