question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide JSON-format files

See original GitHub issue

Currently 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:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Kiliancommented, Nov 24, 2021

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

0reactions
Kiliancommented, Nov 24, 2021

Just published this as 1.4.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found