
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
browserify transform to eval modules before exporting.
npm i --save evalify
stolen from mmckegg/web-audio-school.
given a module:
// cats.js
var catNames = require('cat-names')
var cats = []
for (var i = 0; i < 10; i++) {
cats.push(catNames.random())
}
module.exports = cats
compile using browserify
using -t [ evalify -f '**/cats.js' ]
browserify ./cats.js -t [ evalify -f '**/cats.js' ]
cats.js
file is transformed to
module.exports = ["Cali","Rascal","Jack","Jasmine","Kitty","Nala","Jack","Cookie","Jack","Buster"]
evalify
is a browserify transform with the following options:
files
(f
): a list of minimatch
paths to determine whether to evaluate a given file.using the browserify
cli:
browserify entry.js -t [ evalify -f '**/to-eval.js' ]
using your package.json
:
"browserify": {
"transform": [
["evalify", { files: [ "**/to-eval.js" ] } ]
]
}
ISC
FAQs
browserify transform to eval modules before exporting
The npm package evalify receives a total of 9 weekly downloads. As such, evalify popularity was classified as not popular.
We found that evalify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.