Package Exports
- astro-lib
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (astro-lib) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
astro-lib
A simple js library for astrology.
Use in browser
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.
Date format
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
Examples
See examples folder in the repository.
Documentation
See the documentation here in the docs folder.
License
MIT, see accompaning license file.
TODO
Add more functionality to the library