western-signs
v2.0.0MIT
Western astrology data for signs, planets, houses and aspects, with translations, SVG symbols and the Sun's position for any date.
npm i western-signsWestern astrology data for signs, planets, houses and aspects, with translations, SVG symbols and the Sun's position for any date.
v2.0.0MIT
Western astrology data for signs, planets, houses and aspects, with translations, SVG symbols and the Sun's position for any date.
npm i western-signs2.0.0155e996
2.0.0 (2026-11-01) ⚠ BREAKING CHANGES Rename getSymbol stroke options Keep ids in i18n.label() Return sun position as properties Describe houses by horizon and meridian Rename id types Remove setLanguage() in favor of locale() Return ids and translate with i18n.label() Rename sign fields and add ids Remove interpretive house data Remove sign start and end dates Remove deprecated functions Features Accept a local date and time zone (2038102) Accept any string in get() (dc81606) Add aspects and houses.get() to zodiac (562542a) Add longitude range to signs (a383ec7) Add minor aspects, glyphs and harmonics (93d37fa) Add planet domicile and detriment (c867ce1) Add planet exaltation and fall (359750f) Add zodiac.dignities() (50a36f9) Add zodiac.signs.at() and degree() (aed267d) Describe houses by horizon and meridian (f13e0d7) Keep ids in i18n.label() (2de5ad6) Publish data as JSON (2b9282a) Remove deprecated functions (9b060ff) Remove interpretive house data (d7dea21) Remove setLanguage() in favor of locale() (898bead) Remove sign start and end dates (368b54b) Rename getSymbol stroke options (aa3f3a9) Rename id types (7d5682b) Rename sign fields and add ids (e77f427) Return ids and translate with i18n.label() (df6a292) Return sun position as properties (32d4bd0) Bug Fixes Build with Bun 1.4 (0dbf9f4)
View full release notes1.16.0baeaf1c
1.16.0 (2026-10-24) Features Accept a key in i18n.t() and deprecate the template form (84bdb14) Add traditional ruler to signs and houses (8884da4) Compute sun position with Meeus' algorithm (117ede1)
View full release notes1.15.076f8da7
1.15.0 (2026-10-08) Bug Fixes Return translated house keywords as arrays (0c78048) Features Add date-based sun sign lookup to zodiac API (964561e) Add unified zodiac API with locale support (d79c323)
View full release notes1.14.1e4e8240
1.14.1 (2026-09-25) Bug Fixes Rename astrology aspect assets (9505801) Rename house identifiers to use kebab-case (c5c82aa) Rename zodiac character constants (29fb10f) Standardize aspect naming (bfcaaf5) Use Signs type for zodiac sign fields (fb89352)
View full release notes1.14.0a2b6756
1.14.0 (2026-07-21) Bug Fixes Update conjunction icon path (c1b61d9) Update opposition icon path (3864c6f) Update quadrature icon path (994c05f) Update scorpio icon path (e0b7899) Features Support SVG data URL generation in browsers (5669fe0)
View full release notes1.13.616f0ae5
1.13.6 (2026-05-25) Bug Fixes Restore Bun bundler and pin pipeline version (dcd3dbb)
View full release notes1.13.55a7269b
1.13.5 (2026-05-25) Bug Fixes Replace bundler with Rolldown to fix CI builds (df512d9)
View full release notes1.13.4e72cb20
1.13.4 (2026-05-25) Bug Fixes Add build failure handling (ce2352c) Update build script to use import.meta.dir (d4c29c9)
View full release notes1.13.322abeea
1.13.3 (2026-05-25) Bug Fixes build: Update Bun runtime for release builds (3bcd349)
View full release notes1.13.2a045faa
1.13.2 (2026-05-25) Bug Fixes Add Language type to exports (430c57d) Add TypeScript type definitions to exports (e30a5e4) Update build configuration for optimized output (906dcd9)
View full release notes1.13.188143fe
1.13.1 (2026-05-25) Bug Fixes Relax typescript requirement to =5.0.0 (051e839)
View full release notes1.13.04e24c32
1.13.0 (2026-05-23) Bug Fixes Reorder planets in constants (bc38445) Features Add aspect data with type and quality metadata (50e7a3c) i18n: Enable translations with explicit locale imports (b305dbd) icons: Improve symbol assets size and performance (5729d16) icons: Refactor symbol generation to use path data (a5a3741) Performance Improvements Reorganize data and split bundle into chunks (f4d5198)
View full release notes1.12.2ae25322
1.12.2 (2026-04-06) Bug Fixes Update width without affecting stroke-width (1af30f8)
View full release notes1.12.1ad965eb
1.12.1 (2026-04-06) Bug Fixes Update type definitions and exports for symbol options (5c0164d)
View full release notes1.12.044de813
1.12.0 (2026-04-06) Features Add width and height options to symbol creation (8196a1c)
View full release notes1.11.1bf2774b
1.11.1 (2025-08-29) Bug Fixes Add missing ascendant entry to dictionaries (094cf73)
View full release notes1.11.0d33b615
1.11.0 (2025-08-27) Bug Fixes Refactor houseKeywords to individual strings by key (4b9ce5c) Update translations to use keyed titles (09b97ea) Features Add ascendant symbol and update types and tests (56d97c5) Add house names into house data and dictionaries (3da349c)
View full release notes1.10.1c7b19d8
1.10.1 (2025-08-10) Bug Fixes Use atob to decode base64 SVG strings (3407f96)
View full release notes1.10.0b520660
1.10.0 (2025-08-10) Bug Fixes Move dirname inside getSymbol (4082ad6) Set stroke-linejoin to miter in all SVG assets (85a540b) Simplify gemini.svg path elements (452f802) Features Add build script to embed SVG symbols (6c46da4) Refactor getSymbol to support method chaining (a5083f0)
View full release notes1.9.07e758e4
1.9.0 (2025-08-02) Bug Fixes Set default language to English in i18n module (2c1ae72) Features Add basic i18n support with language switching and tests (0d6ac53) Refactor ASPECTS to use named keys and add translations (828bdb1)
View full release notes1.8.17e282ca
1.8.1 (2025-07-29) Bug Fixes Adjust sun SVG path formatting (71f9898)
View full release notes1.8.053d8ffa
1.8.0 (2025-07-29) Bug Fixes Allow numeric strokeWidth in SymbolOptions (069e980) Handle non-browser environments in getSymbol (670cb0c) Handle unknown planets gracefully in getPlanet (a3840bd) Update glyph symbols in zodiac signs (c6220f9) Update SVG stroke color to use currentColor (20cccbe) Features Add getPlanet function with translation support (56e8d4d) Add planets SVGs and update symbol tests (67bc91a) Add SVG assets for various aspects (9c456a9)
View full release notes1.7.06bd1545
1.7.0 (2025-07-27) Features Add planet details and translations (5fd6f92) Add zodiac SVG assets and getSymbol utility (04da156)
View full release notes1.6.0a27baab
1.6.0 (2025-06-30) Features Add house details and translations (80ad3ab)
View full release notes1.5.0b1c5576
1.5.0 (2025-06-25) Features Add translations in Catalan (7e7e06d) Add TypeScript declaration generation with plugin (831188c)
View full release notes1.4.1bcd75a5
1.4.1 (2025-04-17) Bug Fixes docs: Add collapsible WordArt section (dce3aee)
View full release notes1.4.0d780ba5
1.4.0 (2024-12-10) Features Introduce astrological houses (0894e74)
View full release notes1.3.09e20f75
1.3.0 (2024-09-21) Bug Fixes data: Correct date ranges for signs (82bb180) Features methods: Add getSignByDate method with tests (7dfb74e)
View full release notes1.2.0f5b921c
1.2.0 (2024-09-19) Bug Fixes constants: Correct THROAT constant name (9e27833) Features data: Add startDate and endDate for signs (c352ea5)
View full release notes1.1.1ca6c501
1.1.1 (2024-08-18) Bug Fixes methods: Rename getAllSigns to getSigns (09fbb93)
View full release notesCommitted · western-signs
## [2.0.0](https://github.com/marcmarine/western-signs/compare/v1.16.0...v2.0.0) (2026-11-01) ### ⚠ BREAKING CHANGES * Rename getSymbol stroke options * Keep ids in i18n.label() * Return sun position as properties * Describe houses by horizon and meridian * Rename id types * Remove setLanguage() in favor of locale() * Return ids and translate with i18n.label() * Rename sign fields and add ids * Remove interpretive house data * Remove sign start and end dates * Remove deprecated functions ### Features * Accept a local date and time zone ([2038102](https://github.com/marcmarine/western-signs/commit/20381024f36320405d0f22301fb2f1598a1f113b)) * Accept any string in get() ([dc81606](https://github.com/marcmarine/western-signs/commit/dc8160607370b5e2b4cf883aeac31d934d82a62f)) * Add aspects and houses.get() to zodiac ([562542a](https://github.com/marcmarine/western-signs/commit/562542a9afe247423a278fdc412c7d88a2506fd5)) * Add longitude range to signs ([a383ec7](https://github.com/marcmarine/western-signs/commit/a383ec71ae37ce99cea0c825fefecd4fc0c07963)) * Add minor aspects, glyphs and harmonics ([93d37fa](https://github.com/marcmarine/western-signs/commit/93d37faecad51741c6915f199fd1dbbff96b90f7)) * Add planet domicile and detriment ([c867ce1](https://github.com/marcmarine/western-signs/commit/c867ce189f291b7acab1840562cbf3f5c967340c)) * Add planet exaltation and fall ([359750f](https://github.com/marcmarine/western-signs/commit/359750fa748c4a98279a56808b4b3e8c51eeb485)) * Add zodiac.dignities() ([50a36f9](https://github.com/marcmarine/western-signs/commit/50a36f987f45c76f0add3a0a22c8eaf23a2974b2)) * Add zodiac.signs.at() and degree() ([aed267d](https://github.com/marcmarine/western-signs/commit/aed267d1bd8a5706767c6b6d1821cdd56dadd2d7)) * Describe houses by horizon and meridian ([f13e0d7](https://github.com/marcmarine/western-signs/commit/f13e0d70224bca7f1eb88db796244440869a7fe3)) * Keep ids in i18n.label() ([2de5ad6](https://github.com/marcmarine/western-signs/commit/2de5ad6f28dd9ae757bd56469011ed2a64c0df4e)) * Publish data as JSON ([2b9282a](https://github.com/marcmarine/western-signs/commit/2b9282a0799cf99a1829036ebec87910d90b1465)) * Remove deprecated functions ([9b060ff](https://github.com/marcmarine/western-signs/commit/9b060ff2542721325c29f463720754af6a7ad509)) * Remove interpretive house data ([d7dea21](https://github.com/marcmarine/western-signs/commit/d7dea21cb8adf479870305b8d7352fa1b773ef2b)) * Remove setLanguage() in favor of locale() ([898bead](https://github.com/marcmarine/western-signs/commit/898bead38f16c92f5699b82b693ce3b59755ef1f)) * Remove sign start and end dates ([368b54b](https://github.com/marcmarine/western-signs/commit/368b54be7ae34deddf4a6a191c2c3b2547c3ed6d)) * Rename getSymbol stroke options ([aa3f3a9](https://github.com/marcmarine/western-signs/commit/aa3f3a9574de96ef01d2b218cb8388d87fc42f5b)) * Rename id types ([7d5682b](https://github.com/marcmarine/western-signs/commit/7d5682b506e0abcd3aeb53e297fe84ec5f106007)) * Rename sign fields and add ids ([e77f427](https://github.com/marcmarine/western-signs/commit/e77f42795585c4ad2329f88ee67927c521038760)) * Return ids and translate with i18n.label() ([df6a292](https://github.com/marcmarine/western-signs/commit/df6a292df0951bd45494e4b01fdf45a50b052adf)) * Return sun position as properties ([32d4bd0](https://github.com/marcmarine/western-signs/commit/32d4bd023a559d49dd897f73b91c886720999eb2)) ### Bug Fixes * Build with Bun 1.4 ([0dbf9f4](https://github.com/marcmarine/western-signs/commit/0dbf9f4c8ed8b2220f9d4f093b52aba15f7e7566))
Committed · western-signs
Committed · western-signs
Committed · western-signs
Committed · western-signs
Committed · western-signs
Committed · western-signs
Committed · western-signs
Committed · western-signs
Committed · western-signs
