Gathering detailed insights and metrics for karma-typescript-es6-transform
Gathering detailed insights and metrics for karma-typescript-es6-transform
Gathering detailed insights and metrics for karma-typescript-es6-transform
Gathering detailed insights and metrics for karma-typescript-es6-transform
@zitterorg/magni-eos
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
@crabas0npm/sunt-quos-alias
Transform your data as it pass by, synchronously.
@a-2-c-2-anpm/ad-deleniti-tempore
[](https://github.com/a-2-c-2-anpm/ad-deleniti-tempore/actions/workflows/xvfb-ci.yml) [
JavaScript (5.06%)
Shell (0.61%)
CSS (0.09%)
Sass (0.07%)
SCSS (0.07%)
Less (0.06%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
312 Stars
1,229 Commits
107 Forks
5 Watchers
85 Branches
32 Contributors
Updated on May 29, 2025
Latest Version
5.5.4
Package Id
karma-typescript-es6-transform@5.5.4
Unpacked Size
12.89 kB
Size
4.28 kB
File Count
5
NPM Version
6.14.12
Node Version
10.24.1
Published on
May 01, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Karma-Typescript :heart: ES2015
This plugin uses the Babel compiler to transform ES2015 (aka ES6) code to ES5 syntax, making the code browser compatible when running tests with karma-typescript.
$ npm install --save-dev karma-typescript-es6-transform
In the karma-typescript
section of karma.conf.js
:
1karmaTypescriptConfig: { 2 bundlerOptions: { 3 transforms: [ 4 require("karma-typescript-es6-transform")() 5 ] 6 } 7}
By default, the options presets: [["@babel/preset-env"]]
and filename: TransformContext.filename
are passed to the Babel compiler.
Custom options can be passed to the compiler in the first argument when calling the plugin:
1karmaTypescriptConfig: { 2 bundlerOptions: { 3 transforms: [ 4 require("karma-typescript-es6-transform")({ 5 presets: [ 6 ["@babel/preset-env", { 7 targets: { 8 chrome: "60" 9 } 10 }] 11 ] 12 }) 13 ] 14 } 15}
Passing custom presets
or filename
options will override the default settings.
The javascript code passed to the plugin is statically analyzed by recursively traversing
the AST, looking for these ES2015 keywords: class
, const
, export
, import
, let
.
If any keyword or a fat arrow function is found the code will be transformed to ES5 syntax.
This software is licensed with the MIT license.
© 2016-2021 Erik Barke, Monounity
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 2/10 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
101 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More