- Core calculations (Life Path, Expression, Soul Urge, Birthday) - Advanced numbers (Maturity, Personality, Hidden Passion, Karmic Lessons) - Timing cycles and optimal days finder - Compatibility analysis and name optimizer - Telos integration for personal development - Professional PDF report generation - Profile management system - Security fix: Add .claude/ to .gitignore 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
192 lines
8 KiB
TypeScript
Executable file
192 lines
8 KiB
TypeScript
Executable file
#!/usr/bin/env bun
|
|
/**
|
|
* Advanced Numerology Numbers
|
|
*
|
|
* Calculate and display additional numerology numbers beyond the core 4:
|
|
* - Maturity Number (who you become after 40)
|
|
* - Personality Number (how others see you)
|
|
* - Hidden Passion Number (your secret talent)
|
|
* - Karmic Lessons (numbers missing from your name)
|
|
* - Balance Number (how you handle crisis)
|
|
*
|
|
* Usage:
|
|
* bun advanced-numbers.ts --name "John Doe" --birthdate "5/13/1982"
|
|
* bun advanced-numbers.ts --name "Jane Smith" --birthdate "11/22/1990" --detailed
|
|
*/
|
|
|
|
import { calculateCoreNumbers, calculateAdditionalNumbers } from './core-calculator';
|
|
import {
|
|
maturityMeanings,
|
|
personalityMeanings,
|
|
hiddenPassionMeanings,
|
|
karmicLessonMeanings,
|
|
balanceMeanings
|
|
} from './additional-meanings';
|
|
|
|
// Parse command line arguments
|
|
const args = process.argv.slice(2);
|
|
let name = '';
|
|
let birthdate = '';
|
|
let detailed = false;
|
|
|
|
for (let i = 0; i < args.length; i++) {
|
|
if ((args[i] === '--name' || args[i] === '-n') && args[i + 1]) {
|
|
name = args[i + 1];
|
|
i++;
|
|
} else if ((args[i] === '--birthdate' || args[i] === '-b') && args[i + 1]) {
|
|
birthdate = args[i + 1];
|
|
i++;
|
|
} else if (args[i] === '--detailed' || args[i] === '-d') {
|
|
detailed = true;
|
|
} else if (args[i] === '--help' || args[i] === '-h') {
|
|
console.log(`
|
|
Advanced Numerology Numbers
|
|
|
|
Calculate additional numerology numbers beyond the core 4:
|
|
- Maturity Number: Who you become in your mature years (after age 40)
|
|
- Personality Number: How others see you (your outer mask)
|
|
- Hidden Passion Number: Your deepest hidden talent
|
|
- Karmic Lessons: Areas you're here to develop (missing numbers)
|
|
- Balance Number: How you handle crisis and stress
|
|
|
|
USAGE:
|
|
bun advanced-numbers.ts --name "Your Name" --birthdate "mm/dd/yyyy" [OPTIONS]
|
|
|
|
OPTIONS:
|
|
-n, --name NAME Your full name [required]
|
|
-b, --birthdate DATE Your birthdate (mm/dd/yyyy) [required]
|
|
-d, --detailed Show detailed interpretations
|
|
-h, --help Show this help message
|
|
|
|
EXAMPLES:
|
|
# Basic calculation
|
|
bun advanced-numbers.ts -n "John Doe" -b "5/13/1982"
|
|
|
|
# Detailed interpretations
|
|
bun advanced-numbers.ts -n "Jane Smith" -b "11/22/1990" --detailed
|
|
|
|
NUMBER EXPLANATIONS:
|
|
Maturity Number = Life Path + Expression
|
|
Personality Number = Sum of consonants in full name
|
|
Hidden Passion = Most frequently occurring number in name
|
|
Karmic Lessons = Numbers 1-9 that DON'T appear in your name
|
|
Balance Number = Sum of first letter of each name part
|
|
`);
|
|
process.exit(0);
|
|
}
|
|
}
|
|
|
|
if (!name || !birthdate) {
|
|
console.error('Error: Both --name and --birthdate are required');
|
|
console.error('Try: bun advanced-numbers.ts --help');
|
|
process.exit(1);
|
|
}
|
|
|
|
// Calculate numbers
|
|
const coreNumbers = calculateCoreNumbers(name, birthdate);
|
|
const additionalNumbers = calculateAdditionalNumbers(name, coreNumbers);
|
|
|
|
// Display results
|
|
console.log(`\n═══════════════════════════════════════════════════════════════`);
|
|
console.log(` ADVANCED NUMEROLOGY NUMBERS`);
|
|
console.log(`═══════════════════════════════════════════════════════════════\n`);
|
|
|
|
console.log(`Name: ${name}`);
|
|
console.log(`Birthdate: ${birthdate}\n`);
|
|
|
|
console.log(`═══════════════════════════════════════════════════════════════`);
|
|
console.log(`ADDITIONAL NUMBERS`);
|
|
console.log(`═══════════════════════════════════════════════════════════════\n`);
|
|
|
|
// 1. Maturity Number
|
|
const maturityMeaning = maturityMeanings[additionalNumbers.maturity];
|
|
console.log(`1. 🌟 MATURITY NUMBER: ${additionalNumbers.maturity}`);
|
|
console.log(` (Life Path ${coreNumbers.lifePath} + Expression ${coreNumbers.expression} = ${additionalNumbers.maturity})`);
|
|
console.log(` Keywords: ${maturityMeaning.keywords.join(', ')}`);
|
|
console.log(` ${maturityMeaning.description}`);
|
|
if (detailed) {
|
|
console.log(`\n 💡 Full Meaning:`);
|
|
console.log(` ${maturityMeaning.interpretation}\n`);
|
|
} else {
|
|
console.log('');
|
|
}
|
|
|
|
// 2. Personality Number
|
|
const personalityMeaning = personalityMeanings[additionalNumbers.personality];
|
|
console.log(`2. 🎭 PERSONALITY NUMBER: ${additionalNumbers.personality}`);
|
|
console.log(` (Consonants in your name)`);
|
|
console.log(` Keywords: ${personalityMeaning.keywords.join(', ')}`);
|
|
console.log(` ${personalityMeaning.description}`);
|
|
if (detailed) {
|
|
console.log(`\n 💡 Full Meaning:`);
|
|
console.log(` ${personalityMeaning.interpretation}\n`);
|
|
} else {
|
|
console.log('');
|
|
}
|
|
|
|
// 3. Hidden Passion Number
|
|
if (additionalNumbers.hiddenPassion) {
|
|
const hiddenPassionMeaning = hiddenPassionMeanings[additionalNumbers.hiddenPassion];
|
|
console.log(`3. 🔥 HIDDEN PASSION NUMBER: ${additionalNumbers.hiddenPassion}`);
|
|
console.log(` (Appears ${additionalNumbers.hiddenPassionCount} times in your name)`);
|
|
console.log(` Keywords: ${hiddenPassionMeaning.keywords.join(', ')}`);
|
|
console.log(` ${hiddenPassionMeaning.description}`);
|
|
if (detailed) {
|
|
console.log(`\n 💡 Full Meaning:`);
|
|
console.log(` ${hiddenPassionMeaning.interpretation}\n`);
|
|
} else {
|
|
console.log('');
|
|
}
|
|
} else {
|
|
console.log(`3. 🔥 HIDDEN PASSION NUMBER: None`);
|
|
console.log(` (No number dominates your name)\n`);
|
|
}
|
|
|
|
// 4. Karmic Lessons
|
|
console.log(`4. ⚠️ KARMIC LESSONS: ${additionalNumbers.karmicLessons.length > 0 ? additionalNumbers.karmicLessons.join(', ') : 'None'}`);
|
|
if (additionalNumbers.karmicLessons.length > 0) {
|
|
console.log(` (Numbers missing from your name - areas to develop)\n`);
|
|
|
|
additionalNumbers.karmicLessons.forEach((lesson, index) => {
|
|
const lessonMeaning = karmicLessonMeanings[lesson];
|
|
console.log(` ${String.fromCharCode(97 + index)}) Number ${lesson}: ${lessonMeaning.keywords.join(', ')}`);
|
|
console.log(` ${lessonMeaning.description}`);
|
|
if (detailed) {
|
|
console.log(` 💡 ${lessonMeaning.interpretation}`);
|
|
}
|
|
console.log('');
|
|
});
|
|
} else {
|
|
console.log(` (All numbers 1-9 present - no specific karmic lessons)\n`);
|
|
}
|
|
|
|
// 5. Balance Number
|
|
const balanceMeaning = balanceMeanings[additionalNumbers.balance];
|
|
console.log(`5. ⚖️ BALANCE NUMBER: ${additionalNumbers.balance}`);
|
|
console.log(` (First letter of each name part)`);
|
|
console.log(` Keywords: ${balanceMeaning.keywords.join(', ')}`);
|
|
console.log(` ${balanceMeaning.description}`);
|
|
if (detailed) {
|
|
console.log(`\n 💡 Full Meaning:`);
|
|
console.log(` ${balanceMeaning.interpretation}\n`);
|
|
} else {
|
|
console.log('');
|
|
}
|
|
|
|
console.log(`═══════════════════════════════════════════════════════════════`);
|
|
console.log(`QUICK REFERENCE`);
|
|
console.log(`═══════════════════════════════════════════════════════════════\n`);
|
|
|
|
console.log(`Maturity (${additionalNumbers.maturity}): ${maturityMeaning.keywords.slice(0, 3).join(', ')}`);
|
|
console.log(`Personality (${additionalNumbers.personality}): ${personalityMeaning.keywords.slice(0, 3).join(', ')}`);
|
|
if (additionalNumbers.hiddenPassion) {
|
|
const hp = hiddenPassionMeanings[additionalNumbers.hiddenPassion];
|
|
console.log(`Hidden Passion (${additionalNumbers.hiddenPassion}): ${hp.keywords.slice(0, 3).join(', ')}`);
|
|
}
|
|
console.log(`Balance (${additionalNumbers.balance}): ${balanceMeaning.keywords.slice(0, 3).join(', ')}`);
|
|
|
|
if (additionalNumbers.karmicLessons.length > 0) {
|
|
console.log(`\nKarmic Lessons: Work on ${additionalNumbers.karmicLessons.map(n => karmicLessonMeanings[n].keywords[0]).join(', ')}`);
|
|
}
|
|
|
|
console.log(`\n💡 Use --detailed flag for full interpretations\n`);
|