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

ksuid-edge

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ksuid-edge

Edge and browser-compatible KSUID generator

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

ksuid-edge

A drop-in replacement for the excellent ksuid module for environments that don't have Buffer or node:util.

Installation

$ pnpm add ksuid-edge

Usage

The API should be 1:1 compatible with ksuid. Check out their usage instructions here for a more detailed run-through of the API.

import KSUID from 'ksuid';

const ksuidFromSync = KSUID.randomSync();
console.log(ksuidFromSync.toString()) // "KSUID { 2T9QkbWRq71cvp0KeN5YZJo9Kpu }"

Keywords

ksuid

FAQs

Package last updated on 27 Jul 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