PHP 8.2.30
Preview: index.js Size: 609 B
/home/byroehnu/.trash/node_modules11/jws/index.js

/*global exports*/
var SignStream = require('./lib/sign-stream');
var VerifyStream = require('./lib/verify-stream');

var ALGORITHMS = [
  'HS256', 'HS384', 'HS512',
  'RS256', 'RS384', 'RS512',
  'PS256', 'PS384', 'PS512',
  'ES256', 'ES384', 'ES512'
];

exports.ALGORITHMS = ALGORITHMS;
exports.sign = SignStream.sign;
exports.verify = VerifyStream.verify;
exports.decode = VerifyStream.decode;
exports.isValid = VerifyStream.isValid;
exports.createSign = function createSign(opts) {
  return new SignStream(opts);
};
exports.createVerify = function createVerify(opts) {
  return new VerifyStream(opts);
};

Directory Contents

Dirs: 1 × Files: 6

Name Size Perms Modified Actions
lib DIR
- drwxr-xr-x 2026-02-03 15:06:14
Edit Download
2.03 KB lrw-r--r-- 2026-02-03 15:06:16
Edit Download
609 B lrw-r--r-- 2026-02-03 15:06:14
Edit Download
1.04 KB lrw-r--r-- 2026-02-03 15:06:12
Edit Download
66 B lrw-r--r-- 2026-02-03 15:06:18
Edit Download
671 B lrw-r--r-- 2026-02-03 15:06:14
Edit Download
6.77 KB lrw-r--r-- 2026-02-03 15:06:16
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).