New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

hansken-js

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hansken-js

The Hansken Javascript API

latest
Source
npmnpm
Version
0.14.0
Version published
Maintainers
0
Created
Source

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

Keywords

Hansken

FAQs

Package last updated on 31 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts