Strictify
browserify v2 plugin for enforcing strict mode
Install / Use
/learn @jsdf/StrictifyREADME
strictify
browserify v2 plugin for enforcing strict mode
adds "use strict"; to the top of every module in bundle output
example
given some files :
neat-module.js:
function doStuff() {
}
install strictify:
$ npm install strictify
when you compile your app, pass -t strictify to browserify:
$ browserify -t strictify neat-module.js > bundle.js
bundle.js output:
// browserify bundle wrapper omitted
"use strict";
function doStuff() {
}
opts
exclude: array of file extensions to exclude. defaults to ['json']
install
With npm do:
npm install strictify
license
MIT
Related Skills
node-connect
341.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.4kCommit, push, and open a PR
