@bodleian/discovery-server-sdk

The JavaScript SDK for the Digital Bodleian Discovery Server.

Usage no npm install needed!

<script type="module">
  import bodleianDiscoveryServerSdk from 'https://cdn.skypack.dev/@bodleian/discovery-server-sdk';
</script>

README

discovery-server-sdk

A Javascript SDK for the Digital Bodleian Data/Discovery API.

How to Run the Application

Install Dependencies

  • npm install

Generate the Bundle File

  • npm run dev: This builds the bundle file once for use in development.
  • npm run prod: This builds a minified and optimized bundle file for use in production.
  • npm run watch: This builds the bundle file dynamically when a file changes.

Run Tests

  • npm run test

Generate the Documentation Files (JSDoc)

  • npm run docs: This generates the documentation. Note: Running npm run prod automatically generates the documentation.