Skip to content
JS
Package

magicast

Modify a JS/TS file and write back magically just like JSON!

v0.5.5, 11 Sept 2026MITESM onlyTypes: Bundled
$ npm install magicast

Key numbers

As of 25 Sept 2026
Weekly downloads
34.4m
+336% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
14 days ago
v0.5.5
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 46m (25 Aug 2026)Low 6m (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.

34,350,683 downloads last week, 162,498,923 in the last month. The 12-month change of +336% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
727 in total
Latest version
0.5.5, 11 Sept 202614 days ago
First published
15 Feb 2023
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
259

Major versions

  1. v0 first release 0.0.0, 15 Feb 2023

Recent releases

VersionPublished
0.5.511 Sept 2026
0.5.431 Jul 2026
0.5.314 May 2026
0.5.25 Feb 2026
0.5.130 Oct 2025
0.5.028 Oct 2025
0.4.027 Oct 2025
0.3.527 Aug 2024
0.3.412 Apr 2024
0.3.314 Jan 2024
0.3.211 Nov 2023
0.3.19 Nov 2023
0.3.015 Sept 2023
0.2.1114 Sept 2023
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
373 kB
Dependencies (3)
@babel/types@babel/parsersource-map-js
npm install magicast
  • jsDelivrhttps://cdn.jsdelivr.net/npm/magicast@0.5.5/
  • unpkghttps://unpkg.com/magicast@0.5.5/
  • esm.shhttps://esm.sh/magicast@0.5.5
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.