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

smos-js

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smos-js

Javascript utility library for [SMoS](https://github.com/ChrisDinhNZ/SMoS)

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

SMoSNpm

Javascript utility library for SMoS

Install

npm install smos-js

Usage examples

import { Component } from '@angular/core';
import { SmosJsService } from 'smos-js'

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html'
})
export class AppComponent {

  constructor(private smosService: SmosJsService) {}

  public HandleIncomingHexString(hexString: string): SMoSObject | null {
    return this.smosService.DecodeMessageFromHexString(hexString);
  }

  public HandleOutgoingMessage(message: SMoSObject): string {
    return this.smosService.EncodeMessageToHexString(message);
  }

}

FAQs

Package last updated on 23 Mar 2021

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