open-index/open-npm huggingface dataset:
npm package: @openpgp/asmcrypto.js
Description: Asm.js implementation of WebCrypto API
Author: Ádám Lippai
Latest version: 3.1.0

asmCrypto (openpgp.js fork)
=========

JavaScript implementation of AES cryptographic utilities with performance in mind.
As of v3, compatibility with upstream repo (now deprecated) is broken: non-AES functions have been removed, and legacy targets (ES5) are no longer supported.

This library is primarily needed as fallback for the WebCrypto API for AES-CFB (only implemented by Safari), as well as AES-GCM for 192-bit keys (not implemented by Chrome).

Build & Test
------------

Then download and build the stuff:

    git clone https://github.com/asmcrypto/asmcrypto.js.git
    cd asmcrypto.js/
    npm install

Running tests is always a good idea:

    npm test

Congratulations! Now you have your `asmcrypto.js` ready to use ☺
npm package: @openpgp/unbzip2-stream
Description: streaming unbzip2 implementation in pure javascript for node and browsers
Author: Jan Bölsche
Latest version: 2.0.0

[![npm version](https://badge.fury.io/js/@openpgp%2Funbzip2-stream.svg)](https://badge.fury.io/js/@openpgp%2Funbzip2-stream)

unbzip2-stream
===
streaming bzip2 decompressor in pure JS for Node and browsers.

In both environments, the library uses `TransformStream`s and `Uint8Array`s.

Usage
---

### Web
``` js
import unbzip2Stream from 'unbzip2-stream';

// decompress test.bz2 and output the result
const response = await fetch('./test.bz2');
const decompressedStream = unbzip2Stream(response.data);
for await(const chunk of decompressedStream) {
    console.log(chunk);
}
```

### Node
``` js
const unbzip2Stream = require('unbzip2-stream');
const fs = require('fs');

// decompress test.bz2 and output the result
let stream = fs.createReadStream('./test.bz2');
stream = stream.Readable.toWeb(stream);
stream = unbzip2Stream(stream);
stream = stream.Readable.fromWeb(stream);
stream.pipe(process.stdout);
```

Also see [test/browser/download.js](https://github.com/openpgpjs/unbzip2-stream/blob/master/test/browser/download.js) for a complete example of decompressing a file while downloading.

Tests
---
To run tests in Node:

    npm run test

To run tests in PhantomJS

    npm run browser-test

Additional Tests
----------------
There are two more tests that specifically test decompression of a very large file. Because I don't want to include large binary files in this repository, the files are created by running an npm script.

    npm run prepare-long-test

You can now

    npm run long-test

And to run a test in chrome that downloads and decompresses a large binary file

    npm run download-test

Open the browser's console to see the output.
npm package: @openpgp/wtr-test-runner-browserstack
Description: Browserstack launcher for Web Test Runner
Author: modern-web
Latest version: 0.8.1-patch.0

# Web Test Runner Browserstack

Browser launchers for web test runner to run tests remotely on [Browserstack](https://www.browserstack.com/).

See [our website](https://modern-web.dev/docs/test-runner/browser-launchers/browserstack/) for full documentation.
npm package: @openpgp/wtr-test-runner-core
Description: Web test runner core
Author: modern-web
Latest version: 0.13.4-patch.3

# Web Test Runner Core

Core package for Web Test Runner. Manages running the tests. Has a modular architecture, delegating most of the work to the separate parts and implementations. You will likely not use this package directly.

See [our website](https://modern-web.dev/docs/test-runner/overview/) for full documentation.