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

universal-notification

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universal-notification

The JavaScript implementation of [UniversalNotification] with the CLI program for creating UniversalNotification.

latest
Source
npmnpm
Version
0.1.11
Version published
Maintainers
1
Created
Source

universal-notification

The JavaScript implementation of UniversalNotification with the CLI program for creating UniversalNotification.

Install

npm install --save universal-notification
# or
yarn add universal-notification

API

createUniversalNotification

function createUniversalNotification(
  params: {
    title?: unknown
    message?: unknown
    iconUrl?: unknown
    imageUrl?: unknown
    url?: unknown
  }
): UniversalNotification

parseUniversalNotification

function parseUniversalNotification(text: string): UniversalNotification | null

validateUniversalNotification

function validateUniversalNotification(data: unknown): void 

CLI

Install

npm install -g universal-notification
# or
yarn global add universal-notification

Install from source

yarn install
yarn build
yarn global add "file:$(pwd)"

Usage

universal-notification --help

FAQs

Package last updated on 10 Dec 2023

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