Cashify Versions Save

💸 Lightweight currency conversion library, successor of money.js

3.0.1

2 years ago
  • Fix: move @types/big.js to dependencies (see #19).

3.0.0

2 years ago
  • BREAKING: the package is now ESM-only and thus requires Node.js v14 or higher.
  • Added big.js integration (see #17).
  • Improved the test suite.
  • Minor size reduction.
  • Improved type safety.
  • Improve docs readability.
  • The error messages are now more succinct.

2.5.0

3 years ago
  • Fix: the parser now handles the expression '0' correctly.
  • Better TypeScript types.
  • Update dependencies.

2.4.4

3 years ago
  • Update JSDOC for better DX.
  • Update devDependencies.

2.4.3

3 years ago
  • Update devDependencies
  • Lint
  • If from equals to, return 100% directly (#12)

2.4.2

4 years ago
  • Update devDependencies
  • Optimize regex
  • Improve type safety
  • Test when amount equals 0

2.4.1

4 years ago
  • Do not use named capture groups (they do not work in Firefox)
  • Update devDependencies
  • Lint test files

2.4.0

4 years ago
  • Parsing: allow different expression separating keywords (in and as)
  • Update parsing docs
  • Add new parsing tests
  • Update devDependencies
  • Fix previous tests (ava >=3.0.0)

2.3.1

4 years ago
  • Export a parse function
  • Document the new parse function

2.3.0

4 years ago
  • Support full & basic parsing
  • Make to argument optional
  • Change error message (when from and/or to currency is missing)
  • Add additional tests for parsing
  • Update documentation
  • Update devDependencies