Gathering detailed insights and metrics for grunt-resource2json
Gathering detailed insights and metrics for grunt-resource2json
Gathering detailed insights and metrics for grunt-resource2json
Gathering detailed insights and metrics for grunt-resource2json
Converting resource files (RESX) into JSON for jquery-lang and other localization tools, which depends on JSON
npm install grunt-resource2json
Typescript
Module System
Min. Node Version
Node Version
NPM Version
64.1
Supply Chain
89.6
Quality
71.4
Maintenance
50
Vulnerability
98.6
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
15 Commits
2 Watchers
8 Branches
1 Contributors
Updated on Jan 04, 2021
Latest Version
0.1.3
Package Id
grunt-resource2json@0.1.3
Unpacked Size
39.13 kB
Size
6.60 kB
File Count
17
NPM Version
6.4.1
Node Version
10.14.2
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
4
Converting resource files (RESX) into JSON for jquery-lang and other localization tools, which depends on JSON.
See post Localization with resource files in JavaScript web apps for more information.
This plugin requires Grunt ~0.4.5
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
1npm install grunt-resource2json --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
1grunt.loadNpmTasks('grunt-resource2json');
In your project's Gruntfile, add a section named resource2json
to the data object passed into grunt.initConfig()
.
1grunt.initConfig({ 2 resource2json: { 3 convert: { 4 options: { 5 format: "jquery-lang" 6 }, 7 files: [ 8 { 9 input: "test/fixtures/Resource.resx", 10 output: "temp/jquery-lang.en.json" 11 }, 12 { 13 input: "test/fixtures/Resource.de-DE.resx", 14 output: "temp/jquery-lang.de.json" 15 }, 16 { 17 input: "test/fixtures/Resource.es-ES.resx", 18 output: "temp/jquery-lang.es.json" 19 } 20 ] 21 } 22 });
Defines the format of the output JSON. Currently available:
Please feel free and implement your own format and send a Pull Request.
Path to the RESX file to convert
Path to the output JSON file
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
12.06.2020, Version 0.1.0
12.06.2020, Version 0.1.2
14.06.2020, Version 0.1.3
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/13 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
28 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More