Skip to content
JS
Package

restructure

Declaratively encode and decode binary data

v3.0.2, 14 Jun 2024MITESM + CommonJSTypes: None
$ npm install restructure

Key numbers

As of 25 Sept 2026
Weekly downloads
10m
+300% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v3.0.2
GitHub stars
146
37 forks
Open issues / PRs
10 / 3
Contributors
-
Commits, last 52 weeks
2

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 12.7m (25 Aug 2026)Low 2.1m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

9,974,998 downloads last week, 47,415,008 in the last month. The 12-month change of +300% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
026 in total
Latest version
3.0.2, 14 Jun 20242 years ago
First published
12 May 2014
Last push to GitHub
3 Sept 202622 days before the snapshot
Repository archived
No
Open issues
10
Open pull requests
3
Commits, last 52 weeks
2
Dependents on npm
49

Major versions

  1. v3 first release 3.0.0, 18 Jun 2022
  2. v2 first release 2.0.0, 17 Nov 2019
  3. v1 first release 1.0.0, 17 Jun 2019
  4. v0 first release 0.1.0, 12 May 2014

Recent releases

VersionPublished
3.0.214 Jun 2024
3.0.19 Mar 2024
3.0.018 Jun 2022
2.0.120 May 2022
2.0.017 Nov 2019
1.0.017 Jun 2019
0.5.41 May 2017
0.5.34 Sept 2016
0.5.24 Sept 2016
0.5.12 May 2016
0.5.012 Jul 2015
0.4.022 Jun 2015
0.3.223 Mar 2015
0.3.19 Mar 2015
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
199 kB
Dependencies (0)
None
npm install restructure
  • jsDelivrhttps://cdn.jsdelivr.net/npm/restructure@3.0.2/
  • unpkghttps://unpkg.com/restructure@3.0.2/
  • esm.shhttps://esm.sh/restructure@3.0.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.