Skip to content

v2.0.0

Compare
Choose a tag to compare
@papb papb released this 29 May 06:14
· 4 commits to master since this release

Breaking Changes

  • Changed the way you import the package and the method name:

    • JavaScript:

      - const jsonToExcel = require('@papb/json-excel');
      + const { exportJsonToExcel } = require('@papb/json-excel');
    • TypeScript:

      - import jsonToExcel = require('@papb/json-excel');
      + import { exportJsonToExcel } from '@papb/json-excel';
  • Changed the order of arguments in the export function (the path is the first argument now):

    - await jsonToExcel(sheets, pathToFile, options);
    + await exportJsonToExcel(pathToFile, sheets, options);

Features

Commits

  • Update package.json release script 55aaa22
  • Prepare for 2.0.0 de99331
  • Update dependencies & fix linting 40b92f8
  • Fix files in package.json 7c1070a
  • Add some keywords 1f6d6b8
  • Refactor and add support for browsers 09ba048
  • Fix CI badge in readme 454354f

v1.2.1...v2.0.0