ksuid-edge
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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 }"

Readme

Keywords

Package Sidebar

Install

npm i ksuid-edge

Weekly Downloads

61

Version

0.0.4

License

MIT

Unpacked Size

17.8 kB

Total Files

12

Last publish

Collaborators

  • sophiabits