@babel/plugin-transform-typescript 8.x
Use @babel/plugin-transform-typescript 8.0.0 with Babel 8 to strip and transform TypeScript syntax.
- For
@babel/plugin-transform-typescript@8.0.1- Verified
- 2026-09-08, 4 examples executed
- Package
@modootoday/pmcp-babel-plugin-transform-typescript@8.0.0
What it covers
- Scope
- Basic transformation
- Babel 8 typed class fields
- `const enum` optimization
- Options and configuration mistakes
- CommonJS `import = require` caveat
- Does not cover
One example from this skill
This is the skill's own text, not a summary of it. It runs: that is what verifying means here.
import assert from "node:assert/strict";
import { transformSync } from "@babel/core";
import transformTypeScript from "@babel/plugin-transform-typescript";
const result = transformSync("const value: number = 0;", {
plugins: [transformTypeScript],
});
assert.ok(result?.code);
assert.match(result.code, /const value = 0/);
assert.doesNotMatch(result.code, /: number/);
What it did in the sandbox
Verifying this skill meant installing the package and running code against it with no route out. Nothing was observed. The full ledger lists every package examined, including the ones that never became a skill.
Nothing observed is not a finding of safety. It means one run, under one policy, produced nothing to report.
Getting it
With a subscription:
npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-babel-plugin-transform-typescript
It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.