Skip to content
JS
Package

typescript-parser

Parser for typescript (and javascript) files, that compiles those files and generates a human understandable AST.

v2.6.1, 31 Aug 2018MITCommonJSTypes: BundledParsers and serialisersTypeScript tooling
$ npm install typescript-parser

Key numbers

As of 25 Sept 2026
Weekly downloads
21.6k
+25% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
8 years ago
v2.6.1
GitHub stars
149
42 forks
Open issues / PRs
20 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60kSept 2025Mar 2026Sept 2026High 41k (14 Jul 2026)Low 9.4k (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.

21,619 downloads last week, 100,328 in the last month. The 12-month change of +25% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.6.1, 31 Aug 20188 years ago
First published
-
Last push to GitHub
15 Apr 2024892 days before the snapshot
Repository archived
No
Open issues
20
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
68

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
169 kB
Dependencies (4)
tsliblodashlodash-estypescript
npm install typescript-parser
  • jsDelivrhttps://cdn.jsdelivr.net/npm/typescript-parser@2.6.1/
  • unpkghttps://unpkg.com/typescript-parser@2.6.1/
  • esm.shhttps://esm.sh/typescript-parser@2.6.1
PackageWeekly downloadsGzipLast releaseModuleComparison
unbash8.7m-23 days agoESM only-
@chevrotain/regexp-to-ast3.5m-1 month agoESM only-
edn-data186.8k-2 months agoCommonJS-
connection-string-parser5.7k-5 years agoCommonJS-
yuku-parser2.9m-1 day agoESM only-
@stacksjs/ts-xml18k-1 month agoESM only-
bnf-parser39.7k-2 years agoESM only-
onesixty10.2k-6 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.