Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 912 Bytes

File metadata and controls

36 lines (26 loc) · 912 Bytes

Contribution

In order to contribute to the improvement of the project, below you will find the project development flow. Before being able to open a PR with changes to be applied or bug fixes to be solved, it is necessary to open an issue and explain the reason and a possible solution. You can open each PR by forking the project and creating the PR directly from your project to the project of our library.

Main rules:

  • Open issue
  • Create PR from forked project
  • Link your PR to the issue

Init

npm install

Run tests

npm run test

Build

npm run build

ESM - CJS

This library is exported to support both ESM and CJS usage. To ensure a good output on ESM we need to add the extension on exports and imports with '.js'. This is necessary and also recommended by Typescript maintainers to generate code that works in environments where ESM can be used.