
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
grunt-fontmin-ex
Advanced tools
Subset Fonts Maker
grunt plugin to minimize CJK fonts
ttf, ttc, otf, woff, woff2
ttf, woff, woff2
npm install grunt-fontmin-ex --save-dev
grunt.initConfig({
fontmin: {
options: {
dest: 'www-bin/fonts/', // default './'
basedir: 'fonts/' // default './'
types: ['ttf','woff','woff2'] // default
},
'{Source-hans*.otf}': {
/* getText: (html) => string_of_characters_to_include
* if not specified, use html-to-text
*/
getText: getBody,
src: 'www-bin/**/*.html'
},
'cn-cursive.ttf': {
getText: getHeadings,
src: 'www-bin/**/*.html'
}
}
})
grunt.loadNpmTasks('grunt-fontmin')
./
./
*Array*
.basedir
, pattern of fonts to minimizegrunt.file.expand()
Gruntfile
html-to-text
undefined
css
)You can't change output filename
You are responsible to get proper license of fonts you minify!
or consider free fonts
MIT (C) wacky6 MIT (C) tamaina
FAQs
grunt plugin to minimize CJK font
The npm package grunt-fontmin-ex receives a total of 4 weekly downloads. As such, grunt-fontmin-ex popularity was classified as not popular.
We found that grunt-fontmin-ex 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.