Skip to content

NetherlandsForensicInstitute/hansken-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hansken Javascript Client

Installation

Install via NPM:

npm install hansken-js

Usage

import {HanskenClient} from './src/hansken-js.js';

const hansken = new HanskenClient('/gatekeeper', '/keystore');
hansken.projects().then((projects) => {
    projects.forEach((project) => {
        document.write(`<li><a href="project-images.html?projectId=${project.id}">${project.name}</a>`);
    });
});

Examples

Start examples with node examples/app.js

Development

nvm install 14.21.3
npm install --global gulp@4.0.2

Start demo server: node examples/app.js

Build project: gulp

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •