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

frost-bridge

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frost-bridge

This little library is used to communicate with a [FROST-server](https://github.com/FraunhoferIOSB/FROST-Server) to store IOT-related information, following SensorThings OGC standards.

latest
npmnpm
Version
1.0.26
Version published
Maintainers
1
Created
Source

FROST-bridge

This little library is used to communicate with a FROST-server to store IOT-related information, following SensorThings OGC standards.

Configuration

You can edit the server URL in lib/config/network.ts. For testing, we use the FROST-Server all-in-one Docker image.

Build

Before building, you need to install dependencies with npm install.
Then, run npm run build.

Tests

There are different tests configurations within this project, all of them compile library before running tests.

npm run test

Contains basic tests of the project, excluding load charge tests.

npm run test:all

Runs all tests of the library, including load charge tests.

npm run test:verbose

Runs all tests with a (very) verbose output, printing all actions and calls from the library, very helpful when you don't understand what it is doing exactly.

npm run test:webpack

Does not run tests, but rather launches internal.js, which is used to test the compiled version of the library.

Architecture

Entities used in this project are of two different categories:

  • strains, containing minimal information required to create the entity on the server;
  • server, which map SensorThings OGC entities.

Class diagram of the library

FAQs

Package last updated on 24 Jan 2020

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