npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

asterwise

v0.2.3

Published

Official TypeScript SDK for the Asterwise API — Vedic and Western astrology, numerology, tarot, crystals, dreams. 115+ endpoints.

Downloads

633

Readme

asterwise

npm version Node

The official TypeScript library for Asterwise — Vedic + Western astrology, numerology, tarot, crystals, and dreams. 115+ endpoints. Ships in days.

Documentation · API Reference · Pricing · MCP server

Installation

npm install asterwise

Quickstart

import { createClient, createConfig, natalChart } from 'asterwise';

const client = createClient(createConfig({
  baseUrl: 'https://api.asterwise.com',
  headers: {
    Authorization: 'Bearer YOUR_API_KEY',
  },
}));

const result = await natalChart({
  client,
  body: {
    date: '1985-11-12',
    time: '06:45',
    location: 'Mumbai, India',
    ayanamsa: 'lahiri',
  },
});

console.log(result.data);

Get a free API key at asterwise.com.

What you can build

| Domain | Operations | |--------|------------| | Vedic astrology | 40 | | Matchmaking | 5 | | Western astrology | 17 | | Horoscope | 8 | | Numerology | 24 | | KP + Lal Kitab | 5 | | Tarot | 9 | | Crystals & dreams | 7 | | Utilities | 2 |

117 typed SDK methods across 13 API classes; marketed as 115+ REST endpoints.

What makes Asterwise different

  • Structured classical interpretations on every response
  • 5-level Vimshottari Dasha (Maha → Antar → Pratyantar → Sookshma → Prana) — most APIs return two
  • Rajju and Vedha as hard vetoes in matchmaking — not just point scores
  • HMAC-signed responses for auditability
  • MCP server with 100+ tools for Claude and Cursor integration

Examples

import {
  createClient,
  createConfig,
  westernNatalChart,
  lifePath,
  tarotThreeCard,
} from 'asterwise';

const client = createClient(createConfig({
  baseUrl: 'https://api.asterwise.com',
  headers: { Authorization: 'Bearer YOUR_API_KEY' },
}));

const western = await westernNatalChart({
  client,
  body: {
    date: '1985-11-12',
    time: '06:45',
    location: 'Mumbai, India',
  },
});

const path = await lifePath({
  client,
  query: { date: '1985-11-12' },
});

const spread = await tarotThreeCard({
  client,
  body: { question: 'What should I focus on this month?' },
});

Requirements

Node.js 18+. An API key from asterwise.com.

Documentation

Full API reference: docs.asterwise.com

Development

Regenerate from https://api.asterwise.com/openapi-sdk.json:

npm run generate

The scripts/post-generate.mjs hook re-exports createClient and createConfig from the package root after each generation.

Versioning: regenerate → bump version in package.jsonnpm install (sync lockfile) → update CHANGELOG.mdnpm run buildnpm publish.

Support

[email protected]

License

Commercial. See LICENSE.