astro-lib
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

astro-lib

A simple js library for astrology.

Examples

See examples folder in the repository.

Or check out this Codepen for basic usage.

Documentation

See the documentation here in the docs folder.

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

License

MIT, see accompaning license file.

TODO

  • Investigate adding function to get Moon sign.

Readme

Keywords

Package Sidebar

Install

npm i astro-lib

Weekly Downloads

5

Version

1.1.2

License

MIT

Unpacked Size

1.6 MB

Total Files

39

Last publish

Collaborators

  • gbora