Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
gulp-file-to-json
Advanced tools
Gulp plugin to convert a file and its MD5 hash value into a JSON representation.
Gulp plugin to convert a file and its MD5 hash value into a JSON representation.
npm install --save-dev gulp-file-to-json
Transform example.css
:
body {color: olive;}
Into example.json
:
{
"md5": "d8fba0d7a4fcb4a293d22ff3361d5a70",
"value": "body {color: olive;}"
}
Using gulpfile.js
:
var gulp = require('gulp');
var file2json = require('gulp-file-to-json');
gulp.task('json-file', function () {
return gulp.src('example/example.css')
.pipe(file2json())
.pipe(gulp.dest('example'));
});
Inspired by font-store (Base64 encodes web fonts to cache in LocalStorage for high performance).
MIT © 2016 Vast.com, Inc.
FAQs
Gulp plugin to convert a file and its MD5 hash value into a JSON representation.
The npm package gulp-file-to-json receives a total of 9 weekly downloads. As such, gulp-file-to-json popularity was classified as not popular.
We found that gulp-file-to-json demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.