open-index/open-npm huggingface dataset:
npm package: @fefortunato/jsrev
Description: JavaScript Source Map Reverser - Extract original source code for pentest/bounty reconnaissance
Author: Felipe Fortunato
Latest version: 1.0.0

# JSRev 🔓

**JavaScript Source Map Reverser** — Extract original source code from `.js.map` files for security testing and bug bounty reconnaissance.

```
     ╦╔═╗╦═╗╔═╗╦  ╦
     ║╚═╗╠╦╝║╣ ╚╗╔╝
    ╚╝╚═╝╩╚═╚═╝ ╚╝
```

## Install

```bash
npm install -g @fefortunato/jsrev
```

## Usage

```bash
# Extract single source map
jsrev app.js.map -o ./extracted

# Scan directory for all .map files
jsrev -d ./js/ -o ./sources

# Recursive scan of target website dump
jsrev -d ./target.com/ -r -o ./sources

# Pipe from curl
curl -s https://target.com/app.js.map | jsrev - -o ./out
```

## Options

| Option | Description |
|--------|-------------|
| `-h, --help` | Show help message |
| `-v, --version` | Show version |
| `-o, --output <path>` | Output directory (default: current) |
| `-d, --dir <path>` | Scan directory for .map files |
| `-r, --recursive` | Scan directories recursively |
| `-q, --quiet` | Suppress banner and progress |
| `--sourceRoot <path>` | Override sourceRoot field |

## Why?

Developers sometimes accidentally deploy source maps to production. This tool helps security researchers:

1. **Reconnaissance** — Understand the application's internal structure
2. **Code Review** — Find vulnerabilities in the original source
3. **Secret Discovery** — Locate hardcoded API keys, endpoints, etc.

## Example Output

```
[*] Scanning recursively for .map files in: ./target.com
[+] Found 5 source map file(s)
[*] Output directory: ./sources
──────────────────────────────────────────────────
[✓] main.js.map → 12 files extracted
[✓] vendor.js.map → 45 files extracted
[✓] polyfills.js.map → 3 files extracted
──────────────────────────────────────────────────
[*] Summary:
    ✓ Processed: 5/5 maps
    ✓ Extracted: 87 source files
    → Output: ./sources
```

## License

MIT
npm package: @fefortunato/unmap
Description: Unpack a JavaScript Source Map back into a filesystem structure
Author: Christopher Brown
Latest version: 1.2.0

# unmap

[![latest version published to npm](https://badge.fury.io/js/unmap.svg)](https://www.npmjs.com/package/unmap)

Unpack a JavaScript Source Map back into a filesystem structure.

```shell
npm install -g unmap
```

```console
Usage: unmap [options] lib.js.map [lib2.js.map [...]]

Options:
  --help               Print this help message
  --version            Print version
  --sourceRoot string  Override "sourceRoot" field
  --output path        Output directory (default: current directory)
```


## License

Copyright 2019–2020 Christopher Brown.
[MIT Licensed](https://chbrown.github.io/licenses/MIT/#2019-2020).
npm package: @fega/cartesian
Description: Computes the cartesian product of arrays provided by an array or an object, no dependencies
Author: Alex Indigo
Latest version: 1.0.0

# Cartesian
Computes the cartesian product of arrays provided by an array or an object

Is a clone of the cartesian packages, but this contains NO DEPENDENCIES.

## Install

```
npm install @fega/cartesian --save
```

## Examples

```javascript
var cartesian = require('@fega/cartesian');
```

### Array or arrays:

```javascript
cartesian([
  ['A', 'B', 'C'],
  ['M'],
  ['X', 'Y'],
  'Z'
]);

// =>
// [
//   [ 'A', 'M', 'X', 'Z' ],
//   [ 'A', 'M', 'Y', 'Z' ],
//   [ 'B', 'M', 'X', 'Z' ],
//   [ 'B', 'M', 'Y', 'Z' ],
//   [ 'C', 'M', 'X', 'Z' ],
//   [ 'C', 'M', 'Y', 'Z' ]
// ]
```

### Object with array properties:

```javascript
cartesian({
  cdn  : ['image1', 'image2'],
  path : '/dir',
  files: ['file1', 'file2', 'file3']
});

// =>
// [
//   { cdn: 'image1', path: '/dir', files: 'file1' },
//   { cdn: 'image1', path: '/dir', files: 'file2' },
//   { cdn: 'image1', path: '/dir', files: 'file3' },
//   { cdn: 'image2', path: '/dir', files: 'file1' },
//   { cdn: 'image2', path: '/dir', files: 'file2' },
//   { cdn: 'image2', path: '/dir', files: 'file3' }
// ]
```

For more examples check out [`test.js`](test.js).

## License

[MIT](LICENSE)
npm package: @fega/express-jwt-rotative-secrets
Description: express-jwt rotative secrets handler
Author: fega
Latest version: 1.0.0


# Express JWT FORTE

This is a wrapper of `express-jwt` but with some enhancements that ensures that you will be using a rotative-enabled key storage. 

```js
const jwt = require('@fega/express-jwt-forte');

app.use(jwt({
  secrets:{
    keyId1: secret1,
    keyId2: secret2,
  },
  ...express-jwt config
}))
```
npm package: @fega/key-store-generator
Description: Generates a set of keyids and secrets for jwt usage
Author: fega.hg@gmail.com
Latest version: 1.0.0

# quick key-store generator.

A quick cli HMAC keys for JWT implementations.

## Usage

```sh
npm i -g @fega/key-store-generator
# usage: key-store-generator <NumberOfKeys>
key-store-generator 4
# example output:
{ 
  "YKdD6sL7Hb": "ycNNpLJu+o1UmhxwapH4qqeikHNrFHrxwzeNbx2+c0nTFSdU1XGtpq/4Y5+i9QEz",
  "hHM2qYkVhZ": "ryzWLP89NE/H5p+VND2r7+3+e121WFD+naG2HmLOCBGatGsgrf4mRyCNSHh2XLFl",
  "+/GMrhwOa6": "c+vCFdsDfkOD1TQI4qddQlkJZUsQQXx7gh/8tb/EShhhG700eNKBbC1RTMBEEX5W",
  "USvp9X+i6+": "nQIUQlwsLvX7WdAo6TMi+0CIAUdAOWBeFV6/PO4BtMoOuhNOWCKMg1R1Uq9RPp5S"
}
```

## Licence

MIT