Skip to content

alexagep/numerology-npm

Repository files navigation

NumerolJS NPM Module

A library to convert birthdate to numerology number. Can be used to study of numbers, such as the figures in a birth date, and of their supposed influence on human affairs.

Install

For npm users:

npm i numeroljs

For yarn users:

yarn add numeroljs

Usage

you can use this library for calculation in persian or gregorian dates, it converts itself in a correct way

var numerol = require('numeroljs');

const numerolInstance = new numerol.Numeroljs();

numerolInstance.handle('1989/05/22'); // 9
numerolInstance.handle('1368/04/07', 'jalali'); // 7

either you can write in american format you can also use two date separators ('/' or '-')

import { Numeroljs } from 'numeroljs';

const numerolInstance = new Numeroljs();

console.log(numerolInstance.handle('1989-22-05')); // 9
console.log(numerolInstance.handle('1368-04-07', 'jalali')); // 7

you can use convertName method to calculate chaldean Numerology number of your name

import { Numeroljs } from '../../lib/index.js';

const numerolInstance = new Numeroljs();


console.log(numerolInstance.convertName('John Doe')); // 7

🤝 Contribution

I will be grateful for any help you can provide to make this project better. Thank you to all the people who already contributed to NumerolJS!

Contributors

License

numeroljs is released under the MIT license.

Keywords

Numeroljs, Numerology

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published