Skip to content

paulscherrerinstitute/databuffer-query-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

databuffer-query-js

JS client library for the Data API. The client library supports these API versions:

Change log

The change log is located here.

Installation

The npm package for databuffer-query-js is hosted on GitHub packages. You need to setup the npm project in which you want to use databuffer-query-js to use the GitHub packages npm package registry (instead of the default registry). To do that GitHub packages documentation recommends to create a file .npmrc in your npm project's root directory (next to package.json). This file should look something like this:

@paulscherrerinstitute:registry=npm.pkg.github.com

Now you can add databuffer-query-js to your project as a dependency:

npm install --save '@paulscherrerinstitute/databuffer-query-js'

Generate API documentation

If you want to generate the API documentation, get the source and run

npm run docs

Developers / Contributing

  • Install node.js (at least version 12, includes npm) -- if possible, we recommend to install node.js through nvm
  • Clone this repo
  • Install dependencies: npm install
  • Write tests
  • Write code
  • Run tests
  • Commit, push
  • Release new version
    • Run npm run release to get a preview of what will happen
    • Run npm run release:prod to automate the following
      • Update version in package.json
      • Update version in package-lock.json
      • Update CHANGELOG.md
      • Commit changes and tag them
    • Push the commits and tag: git push --follow-tags origin master
    • GitHub actions will publish the package

About

JS client library for the databuffer query API

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages