Skip to content
JS
Package

napi-macros

Set of utility macros to make writing N-API modules a little easier.

v2.2.2, 27 Dec 2022MITCommonJSTypes: None
$ npm install napi-macros

Key numbers

As of 25 Sept 2026
Weekly downloads
579.8k
+32% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v2.2.2
GitHub stars
65
7 forks
Open issues / PRs
4 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1m (28 Jul 2026)Low 235.6k (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.

579,824 downloads last week. The 12-month change of +32% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
018 in total
Latest version
2.2.2, 27 Dec 20223 years ago
First published
23 Feb 2018
Last push to GitHub
27 Dec 20221,367 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 20 Jun 2019
  2. v1 first release 1.0.0, 23 Feb 2018

Recent releases

VersionPublished
2.2.227 Dec 2022
2.2.127 Dec 2022
2.2.027 Dec 2022
2.1.114 Dec 2022
2.1.04 Nov 2022
2.0.020 Jun 2019
1.8.213 Dec 2018
1.8.131 Aug 2018
1.8.031 Aug 2018
1.7.08 Aug 2018
1.6.06 Aug 2018
1.5.05 Aug 2018
1.4.123 Jul 2018
1.4.013 Jul 2018
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
16 kB
Dependencies (0)
None
npm install napi-macros
  • jsDelivrhttps://cdn.jsdelivr.net/npm/napi-macros@2.2.2/
  • unpkghttps://unpkg.com/napi-macros@2.2.2/
  • esm.shhttps://esm.sh/napi-macros@2.2.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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