Gathering detailed insights and metrics for @types/surma__rollup-plugin-off-main-thread
Gathering detailed insights and metrics for @types/surma__rollup-plugin-off-main-thread
Gathering detailed insights and metrics for @types/surma__rollup-plugin-off-main-thread
Gathering detailed insights and metrics for @types/surma__rollup-plugin-off-main-thread
The repository for high quality TypeScript type definitions.
npm install @types/surma__rollup-plugin-off-main-thread
Typescript
Module System
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,040 Stars
89,741 Commits
30,435 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 15, 2025
Latest Version
2.2.3
Package Id
@types/surma__rollup-plugin-off-main-thread@2.2.3
Unpacked Size
5.32 kB
Size
2.12 kB
File Count
5
Published on
Nov 07, 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
1
npm install --save @types/surma__rollup-plugin-off-main-thread
This package contains type definitions for @surma/rollup-plugin-off-main-thread (https://github.com/surma/rollup-plugin-off-main-thread).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/surma__rollup-plugin-off-main-thread.
1import { Plugin, RenderedChunk } from "rollup"; 2 3interface OffMainThreadOptions { 4 /** 5 * A string containing the EJS template for the amd loader. 6 * If `undefined`, OMT will use `loader.ejs`. 7 */ 8 loader?: string; 9 /** 10 * Use `fetch()` + `eval()` to load dependencies instead of `<script>` tags 11 * and `importScripts()`. _This is not CSP compliant, but is required if you 12 * want to use dynamic imports in ServiceWorker_. 13 * @default false 14 */ 15 useEval?: boolean; 16 /** 17 * Function name to use instead of AMD’s `define`. 18 * @default 'define' 19 */ 20 amdFunctionName?: string; 21 /** 22 * A function that determines whether the loader code should be prepended to a 23 * certain chunk. Should return true if the load is supposed to be prepended. 24 */ 25 prependLoader?: (chunk: RenderedChunk, workerFiles: string[]) => boolean; 26 /** 27 * The scheme used when importing workers as a URL. 28 * @default 'omt' 29 */ 30 urlLoaderScheme?: string; 31 /** 32 * Silence the warning about ESM being badly supported in workers. 33 * @default false 34 */ 35 silenceESMWorkerWarning?: boolean; 36} 37 38/** 39 * Use Rollup with workers and ES6 modules _today_. 40 */ 41declare function OMT(opts?: OffMainThreadOptions): Plugin; 42 43export = OMT; 44
These definitions were written by Tiger Oakes.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-14
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