@bygdle/genshin-damage-calc-core
TypeScript icon, indicating that this package has built-in type declarations

4.22.1 • Public • Published

genshin-damage-calc

Advanced damage calculator for genshin impact. Core library.

Application at: https://niuweb.github.io/genshin-damage-calc/v4

Github repo at: https://github.com/NiuWeb/genshin-damage-calc

This is the core library of the calculator, it contains all the maths and logic, characters, weapons, etc. If you want to use the entire calculator webapp, you should clone the main repo.

Instead, if you only need the core library to use the calculator in your own project, you can install the core library as a npm package:

npm install @bygdle/genshin-damage-calc-core

It exports both CommonJS and ES modules, so you can import it in your project like this:

import { genshin } from '@bygdle/genshin-damage-calc-core'

or

const { genshin } = require('@bygdle/genshin-damage-calc-core')

Package Sidebar

Install

npm i @bygdle/genshin-damage-calc-core

Weekly Downloads

2

Version

4.22.1

License

MIT

Unpacked Size

8.38 MB

Total Files

1651

Last publish

Collaborators

  • bygdle