Skip to content

GPortas/dataverse-client-javascript

 
 

Repository files navigation

dataverse-client-javascript

npm

A JavaScript/TypeScript API wrapper for Dataverse.

NPM

Module available as js-dataverse at https://www.npmjs.com/package/js-dataverse

Getting Started

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

Build project

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.

Tests

Run all tests

npm run test

Run unit tests

npm run test:unit

Run integration tests

npm run test:integration

Run test coverage

npm run test:coverage

Format and lint

Run formatter

npm run format

Run linter

Running a linting check on the code:

npm run lint

Fix linting checks on the code:

npm run lint:fix

Publishing new version

Automated publishing of versions could be automated when merging to master. Below are the steps that would be required to publish a new version:

  1. Run tests and checks
  2. Build the project
  3. Commit changes
  4. Upgrade npm version
  5. Publish, npm publish

Contributing

We love contributors! Please see CONTRIBUTING.md.

About

A Dataverse client for JavaScript and TypeScript

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 97.4%
  • JavaScript 2.6%