A JavaScript/TypeScript API wrapper for Dataverse.
Module available as js-dataverse
at https://www.npmjs.com/package/js-dataverse
This package is built using node v19
, so it is recommended to use that version.
Make sure that you install all the project dependencies:
npm install
In order to build the project, we need to run the following command:
npm run build
the build generated will be placed in dist
folder.
npm run test
npm run test:unit
npm run test:integration
npm run test:coverage
npm run format
Running a linting check on the code:
npm run lint
Fix linting checks on the code:
npm run lint:fix
Automated publishing of versions could be automated when merging to master. Below are the steps that would be required to publish a new version:
- Run tests and checks
- Build the project
- Commit changes
- Upgrade npm version
- Publish,
npm publish
We love contributors! Please see CONTRIBUTING.md.