/ c4f / front / node_modules / uncrypto /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]dist/8 months ago -  
[   ]LICENSE8 months ago1.1K 
[TXT]README.md8 months ago2.3K 
[   ]package.json8 months ago1.9K 
README.md

uncrypto

npm version npm downloads Github Actions Codecov

This library provides a single api to use web-crypto and Subtle Crypto in both Node.js using Crypto Module and Web targets using Web Crypto API using Conditional Exports.

Requirements:

Usage

Install package:

# npm
npm install uncrypto

# yarn
yarn add uncrypto

# pnpm
pnpm install uncrypto

Import:

// ESM
import { subtle, randomUUID, getRandomValues } from "uncrypto";

// CommonJS
const { subtle, randomUUID, getRandomValues } = require("uncrypto");

Development

License

Made with 💛

Published under MIT License.

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80