npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@agrozyme/json-web-key

v0.0.0

Published

Convert key format for JWK

Downloads

5

Readme

Json Web Key

Convert key format for JWK Support algorithm: ES256, ES256K, ES384, ES512 Support key format: raw, pem, jwk

oclif Version Downloads/week License

Usage

$ npm install -g @agrozyme/json-web-key
$ json-web-key COMMAND
running command...
$ json-web-key (--version)
@agrozyme/json-web-key/0.0.0 win32-x64 node-v16.14.2
$ json-web-key --help [COMMAND]
USAGE
  $ json-web-key COMMAND
...

Commands

json-web-key help [COMMAND]

Display help for json-web-key.

USAGE
  $ json-web-key help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for json-web-key.

See code: @oclif/plugin-help

json-web-key keyPair

make keypair

USAGE
  $ json-web-key keyPair --type ES256|ES256K|ES384|ES512 [--debug]

FLAGS
  --debug          show error stack
  --type=<option>  (required)
                   <options: ES256|ES256K|ES384|ES512>

DESCRIPTION
  make keypair

See code: dist/commands/keyPair.ts

json-web-key privateKey:convert

convert raw private key to other format

USAGE
  $ json-web-key privateKey:convert --key <value> --format raw|jwk|pem --type ES256|ES256K|ES384|ES512 [--debug]

FLAGS
  --debug            show error stack
  --format=<option>  (required)
                     <options: raw|jwk|pem>
  --key=<value>      (required)
  --type=<option>    (required)
                     <options: ES256|ES256K|ES384|ES512>

DESCRIPTION
  convert raw private key to other format

See code: dist/commands/privateKey/convert.ts

json-web-key privateKey:export

export private key file to other format

USAGE
  $ json-web-key privateKey:export --fromFile <value> --toFile <value> --fromFormat raw|jwk|pem --toFormat raw|jwk|pem
    --type ES256|ES256K|ES384|ES512 [--debug]

FLAGS
  --debug                show error stack
  --fromFile=<value>     (required)
  --fromFormat=<option>  (required)
                         <options: raw|jwk|pem>
  --toFile=<value>       (required)
  --toFormat=<option>    (required)
                         <options: raw|jwk|pem>
  --type=<option>        (required)
                         <options: ES256|ES256K|ES384|ES512>

DESCRIPTION
  export private key file to other format

See code: dist/commands/privateKey/export.ts

json-web-key publicKey:convert

convert raw public key to other format

USAGE
  $ json-web-key publicKey:convert --key <value> --format raw|jwk|pem --type ES256|ES256K|ES384|ES512 [--debug]

FLAGS
  --debug            show error stack
  --format=<option>  (required)
                     <options: raw|jwk|pem>
  --key=<value>      (required)
  --type=<option>    (required)
                     <options: ES256|ES256K|ES384|ES512>

DESCRIPTION
  convert raw public key to other format

See code: dist/commands/publicKey/convert.ts

json-web-key publicKey:export

export public key file to other format

USAGE
  $ json-web-key publicKey:export --fromFile <value> --toFile <value> --fromFormat raw|jwk|pem --toFormat raw|jwk|pem
    --type ES256|ES256K|ES384|ES512 [--debug]

FLAGS
  --debug                show error stack
  --fromFile=<value>     (required)
  --fromFormat=<option>  (required)
                         <options: raw|jwk|pem>
  --toFile=<value>       (required)
  --toFormat=<option>    (required)
                         <options: raw|jwk|pem>
  --type=<option>        (required)
                         <options: ES256|ES256K|ES384|ES512>

DESCRIPTION
  export public key file to other format

See code: dist/commands/publicKey/export.ts