Gathering detailed insights and metrics for jsdoc-plugin-strip-outer-iife
Gathering detailed insights and metrics for jsdoc-plugin-strip-outer-iife
Gathering detailed insights and metrics for jsdoc-plugin-strip-outer-iife
Gathering detailed insights and metrics for jsdoc-plugin-strip-outer-iife
JSDoc plugin to filter out root-level IIFE before processing
npm install jsdoc-plugin-strip-outer-iife
Typescript
Module System
Min. Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
CC0-1.0 License
3 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Mar 16, 2014
Latest Version
0.0.2
Package Id
jsdoc-plugin-strip-outer-iife@0.0.2
Size
6.19 kB
NPM Version
1.3.14
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
jsdoc-plugin-strip-outer-iife - JSDoc plugin to filter out root-level IIFE before processing
mkdir node_modules
npm install jsdoc-plugin-strip-outer-iife
cp node_modules/jsdoc-plugin-strip-outer-iife/strip-outer-iife.js node_modules/jsdoc/plugins/
# create jsdoc.conf.json mentioning this plugin, see below
Sample JSDoc configuration file, e.g. jsdoc.conf.json
1{ "plugins": [ "plugins/strip-outer-iife.js" ] }
jsdoc --configure jsdoc.conf.json inputfile.js
This is a plugin for jsdoc using the jsdoc-plugins system to filter source code before it's seen by the main JSDoc parser to remove the common root-level IIFE's. The intent of this plugin is to:
All of these should get removed:
1(function(){ 2 // Whatever is in here gets saved. 3}());
1(function(){ 2 // Whatever is in here gets saved. 3})();
1(function(){ 2 // Whatever is in here gets saved. 3})(window);
1(function(){ 2 // Whatever is in here gets saved. 3}).call(this);
1/** 2 * It's okay to have comments here, these get preserved 3 */ 4// So do single line comments like this 5(function(){ 6 // Whatever is in here gets saved. 7}()); 8// It's also okay to have comments here -- also preserved
This module is licensed under CC0, a kind of internationally-aware "public domain" license, or more properly said: a declaration of my affirmative intent to waive the rights normally reserved under copyright law. You're free to copy, modify, sell for profit, etc, without any need to contact me, give me attribution, reproduce the license text, etc. See LICENSE for the full license text.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/3 approved changesets -- score normalized to 0
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
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
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