Skip to content
JS
Package

key-encoder

Library for encoding ECDSA private keys to PEM, DER and raw hex formats

v2.0.3, 17 Oct 2019MITCommonJSTypes: NoneBlockchain and Web3
$ npm install key-encoder

Key numbers

As of 25 Sept 2026
Weekly downloads
25.4k
-35% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
6 years ago
v2.0.3
GitHub stars
47
27 forks
Open issues / PRs
5 / 8
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 75.2k (7 Apr 2026)Low 19.7k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

25,439 downloads last week, 128,982 in the last month. The 12-month change of -35% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.3, 17 Oct 20196 years ago
First published
-
Last push to GitHub
11 Mar 2025562 days before the snapshot
Repository archived
Yes
Open issues
5
Open pull requests
8
Commits, last 52 weeks
0
Dependents on npm
106

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
34 kB
Dependencies (4)
bn.jsasn1.jselliptic@types/elliptic
npm install key-encoder
  • jsDelivrhttps://cdn.jsdelivr.net/npm/key-encoder@2.0.3/
  • unpkghttps://unpkg.com/key-encoder@2.0.3/
  • esm.shhttps://esm.sh/key-encoder@2.0.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.