isomorphic-webcrypto
dnt
isomorphic-webcrypto | dnt | |
---|---|---|
5 | 10 | |
114 | 1,164 | |
- | 1.5% | |
0.0 | 7.6 | |
9 months ago | 7 days ago | |
JavaScript | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
isomorphic-webcrypto
-
Secure documents best practices
End to end encryption, if possible: if your use cases allows it, try your best to implement end to end encryption. That means that, if the user uploads a file, it should be encrypted client side (in the browser) before uploading. You can derive the key from the user's password and/or security token (see below). Check here for some resources: https://www.w3.org/TR/WebCryptoAPI/.
-
Show HN: I store my critical secrets and document, and communicate privately
https://en.wikipedia.org/wiki/Argon2
> There is no reason not to use Argon2
In this case, the reason for not using Argon2 is that it's not available: https://www.w3.org/TR/WebCryptoAPI/
> Well if this product isn't for mass-market
This is a demo for self-contained HTML encrypted secrets. Do with it what you want.
-
Write once, run anywhere with Deno and Dnt
A TypeScript Hybrid Public Key Encryption (HPKE) implementation build on top of Web Cryptography API This module works on web browsers, Node.js, Deno and Cloudflare Workers
- Web Cryptography API
-
What are the ways to encrypt an image and a video in React Native?
I haven’t used it, but https://github.com/kevlened/isomorphic-webcrypto might be more along the lines of what you’re after
dnt
-
Creating an NPM Package in 2024 (Deno, dnt)
We are going to use dnt - Deno to Node Transform tool to build the npm package.
- Ryan Dahl: "our goal is to have Deno be the fastest JS runtime"
-
Build package for NPM & Deno
As already mentioned dnt might help you if you are willing to have deno as your primary development environment. I work in a project like this and the deno tooling is great. I don't even need a package.json since dnt will generate it for me.
-
How to build, test, and publish a TypeScript npm package in 2022
Build it in Deno and then use dnt to create an npm package. That way you support both JS runtimes: https://github.com/denoland/dnt
-
Write once, run anywhere with Deno and Dnt
Specifically, make my codebase be for Deno, use Deno built-in formatter, linter and testing, and use dnt (Deno to Node Transform) to generate an npm package containing ESM code and to test generated code. For testing in the browser, deploy the test content linked to the generated ESM code to Github Pages and use playwright/test. For Cloudflare Workers, use wrangler to set up a worker locally for testing. A schematic diagram is shown below.
- Fresh is a new full stack web framework for Deno
-
tsx: Node.js enhanced with esbuild to run TypeScript & ESM
I ended up building the library with Deno and compiling to Node.js CJS and ESM using https://github.com/denoland/dnt
-
Deno 1.20
Yes, TS code is compiled to run in browsers. You can compile and bundle using `deno bundle` if your project is developed in Deno. Since I'm using Deno for library development, I use the `dnt`[1] tool to compile them into ESM modules later consumed by esbuild in my Node-based projects/toolchains.
[1] https://github.com/denoland/dnt
-
How to compule/bundle code for nodejs?
Maybe this could help? https://github.com/denoland/dnt
What are some alternatives?
react-native-get-random-values - A small implementation of `getRandomValues` for React Native
klaro-js - Klaro Privacy Manager. An open-source, privacy-friendly & compliant consent manager for your website.
marko - A declarative, HTML-based language that makes building web apps fun
ts-runtime-comparison - Comparison of Node.js TypeScript runtimes
crypter - Crypto keys encryption tools
tsx - ⚡️ TypeScript Execute: Node.js enhanced to run TypeScript & ESM
cash - An absurdly small jQuery alternative for modern browsers.
undici - An HTTP/1.1 client, written from scratch for Node.js
portable-secret - Better privacy without special software
is-bun - Return true if you are running in Bun.
pass - 🔑 YubiKey-sealed Secrets-as-Code for git.
deno - A modern runtime for JavaScript and TypeScript.