Provide JSON-format files
See original GitHub issueCurrently this library only provide JavaScript files which is generated JSON.stringify, but it’s inconvenient for using those data in non-Node.js projects even in non-JavaScript projects.
I think it would be better to provide JSON files besides the current JavaScript files.
For additional context: I’m working on a Rust-based Browserslist, and so far the only way to read those data is to strip the starting module.exports = and the ending ; then parse the rest string as JSON. If this library can provide JSON files directly, reading those data can be easy.
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
What is a JSON file? - File Format Docs
JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. JSON...
Read more >JSON Tutorial: Learn with Simple File Format EXAMPLE
JSON Tutorial for beginners: JSON stands for JavaScript Object Notation, JSON is a file format used to store information in an organized and ......
Read more >JSON Introduction - W3Schools
JSON is a text format for storing and transporting data. JSON is "self-describing" and ... The JSON format was originally specified by Douglas...
Read more >What is the JSON format? - Planet Crust
The JSON format is a lightweight, text-based data file interchange format used to store, transport and transmit structured data over the web ...
Read more >Working with JSON - Learn web development | MDN
In this article, we've given you a simple guide to using JSON in your programs, including how to create and parse JSON, and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Gimme 10 minutes and I’ll have it in, Or do you have specific needs for the JSON?
Just published this as 1.4.0