Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
gulp-file-to-json
Advanced tools
Readme
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 0 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.