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

myanmar-baydin

v1.0.1

Published

A package to get zodiac signs and their details.

Readme

BayDin NPM Package

A package to get zodiac signs, Chaldean numerology, Myanmar names, and their details.

Installation

To install the package, run the following command:

npm install myanmar-baydin

Usage

Here's an example of how to use the BayDin package:

import MMBayDin from 'myanmar-baydin';

const baydin = new MMBayDin(new Date());
console.log(baydin.getBasic());
console.log(baydin.getZodiacSign());
console.log(baydin.getChaldeanNumerology("YourName"));
console.log(baydin.getMyanmarNames("မြန်မာအမည်"));

API

MMBayDin

constructor(date: Date)

Creates a new instance of the MMBayDin class.

  • date: The date for which you want to get the details.

getBasic(): object

Returns basic details including the Myanmar date and MaHaBote.

{
    year: number;
    month: string;
    moonPhase: string;
    date: string;
    day: string;
    sabbath: string;
    sabbatheve: string;
    yatyaza: string;
    pyathada: string;
    thamanyo: string;
    amyeittasote: string;
    warameittugyi: string;
    warameittunge: string;
    yatpote: string;
    thamaphyu: string;
    nagapor: string;
    yatyotema: string;
    mahayatkyan: string;
    shanyat: string;
    nagahle: string;
    mahabote:  "အဓိပတိ" | "အထွန်း" | "သိုက်" | "ရာဇာ" | "မရဏ" | "ဘင်္ဂ" | "ပုတိ";
    nakhat: string;
    thingyan: object;
    original: object;
}

getZodiacSign(): ZodiacSign | undefined

Returns the zodiac sign for the provided date.

Example

const baydin = MMBayDin(new Date());
const zodiacSign = baydin.getZodiacSign();
console.log(zodiacSign);
{
    name: "Aries",
    dateRange: "March 21 - April 19",
    startDate: new Date(2023, 2, 21),
    endDate: new Date(2023, 3, 19),
    element: "Fire",
    traits: ["Courageous", "Determined", "Confident"],
    luckyColors: ["Red", "White"],
    luckyNumbers: [1, 8, 17],
    compatibleSigns: ["Leo", "Sagittarius"],
    careerSuggestions: ["Entrepreneur", "Soldier", "Athlete"],
    healthTips: "Engage in regular physical activity to channel your energy positively.",
    sign: "Ram",
    preferedCrystals: ["Carnelian", "Garnet"],
    purpose: "To lead and inspire others with their passion and determination."
}

getChaldeanNumerology(EnglishName: string)

Returns the Chaldean numerology details for the provided English name.

Example

const baydin = MMBayDin(new Date());
const numerology = baydin.getChaldeanNumerology("John Doe");
console.log(numerology);
{
  number: 7,
  letters: [ 'O', 'Z' ],
  planet: 'Neptune',
  meanings: [
    'The shadow of two',
    'insight',
    'intuition',
    'intelligent',
    'curious'
  ]
}

getMyanmarNames(MyanmarName?: string)

Returns Myanmar names details including mintheinkha, fifth, patkhat, and whether the provided name is patkhat.

Example

const baydin = MMBayDin(new Date());
const myanmarNames = baydin.getMyanmarNames("အောင်လင်းထွန်း");
console.log(myanmarNames);
{
    mintheinkha: [ 'အင်္ဂါ', 'ဗုဒ္ဓဟူး', 'စနေ' ], // မင်းသိင်္ခအမည်ပေးနည်း
    fifth: [ 'စနေ', 'ဗုဒ္ဓဟူး' ],               // မွေးနံစ ပဥ္စပွတ်နံဆုံး အမည်ပေးနည်း
    patkhat: [                              // ပက္ခတ်မိသော အမည်တွဲများ
        [ 'စနေ', 'စနေ' ],
        [ 'အင်္ဂါ', 'ဗုဒ္ဓဟူး' ],
        [ 'သောကြာ', 'တနင်္ဂ‌နွေ' ],
        [ 'တနင်္လာ', 'ကြာသာပတေး' ],
        [ 'ကြာသာပတေး', 'တနင်္လာ' ],
        [ 'တနင်္ဂ‌နွေ', 'သောကြာ' ],
        [ 'ဗုဒ္ဓဟူး', 'အင်္ဂါ' ]
    ],
    isPatkhat: false                        // ထည့်သွင်းသောအမည် ပက္ခတ်မိ မမိ
}

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgements

Special thanks to all contributors and the open-source community.

Contact

For any questions or suggestions, please contact [email protected].