All Versions
Latest Version
Avg Release Cycle
27 days
Latest Release
1398 days ago

Changelog History
Page 1

  • v2.4.4 Changes

    August 25, 2020
    • โšก๏ธ Update JSDOC for better DX.
    • โšก๏ธ Update devDependencies.
  • v2.4.3 Changes

    July 09, 2020
    • โšก๏ธ Update devDependencies
    • ๐Ÿ‘• Lint
    • If from equals to, return 100% directly (#12)
  • v2.4.2 Changes

    March 22, 2020
    • โšก๏ธ Update devDependencies
    • โšก๏ธ Optimize regex
    • ๐Ÿ‘Œ Improve type safety
    • โœ… Test when amount equals 0
  • v2.4.1 Changes

    March 10, 2020
    • Do not use named capture groups (they do not work in Firefox)
    • โšก๏ธ Update devDependencies
    • ๐Ÿ‘• Lint test files
  • v2.4.0 Changes

    February 22, 2020
    • ๐Ÿ“œ 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)
  • v2.3.1 Changes

    January 20, 2020
    • ๐Ÿ‘€ Export a parse function
    • ๐Ÿ“œ Document the new parse function
  • v2.3.0 Changes

    January 19, 2020
    • ๐Ÿ‘Œ 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
  • v2.2.0 Changes

    January 01, 2020
    • โž• Add basic parsing (#8)
    • โž• Add new tests related to basic parsing
    • โšก๏ธ Update README (improve docs, add TOC & additional examples)
    • โšก๏ธ Update devDependencies
  • v2.1.1 Changes

    December 20, 2019


    Huge thanks to @Richienb for helping!

  • v2.1.0 Changes

    December 20, 2019
    • Modularisation
      • Split functions into separate files for modularisation.
      • Documented all functions for future readability.
      • The Cashify class now accepts any of the 4 options as defaults and can be changed after initialisation.
      • The Options interface has been documented directly to avoid code duplication.
      • The convert function in the Cashify class proxies the non-constructor convert function to avoid code duplication.
      • Correctly define typings for rates object.
      • Since we're targeting Node.js v10+, we don't need to target ES5 in the tsconfig.json file. According to, we can safely target ES2018 (ES7).
      • Removed dom lib from the tsconfig.json since this code also works for Node which doesn't have those APIs.
      • Since we're using Ava, import typescript files directly for tests to avoid issues with polyfills not being used and to increase iteration.
      • Since there isn't a lockfile already in the repository, added a gitignore rule for this.
      • Removed types in the param definitions since in Typescript, they are already specified.
    • โšก๏ธ Update devDependencies


    Huge thanks to @Richienb for helping!