Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more! Learn more →
Top 23 JavaScript JSON Projects
-
Project mention: It’s always the little details that throw me | reddit.com/r/learnjavascript | 2023-02-04
https://prettier.io/ is your friend
-
chinese-poetry
The most comprehensive database of Chinese poetry 🧶最全中华古诗词数据库, 唐宋两朝近一万四千古诗人, 接近5.5万首唐诗加26万宋诗. 两宋时期1564位词人,21050首词。
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
SheetJS js-xlsx
📗 SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs
xlsx.
-
Lowdb
Simple to use local JSON database. Use native JavaScript API to query. Written in TypeScript. (supports Node, Electron and the browser)
Project mention: go-store: Lightweight embedded database in pure Go inspired by Lowdb | reddit.com/r/golang | 2022-12-14I just finished the first stable version of go-store, a lightweight embeeded database written in pure Go. It was heavily inspired by lowdb. The motivation was that I needed something simple to store information for another project and that I wanted to try out Go's generics.
-
Using pino as a logger, for every request on the _server_ , a unique ID generated client side in the headers, so a log may be something like:
-
I took a quick look at that turquoise guide, seems ok if you’re able to follow it. I was going to suggest googling a JSON editor/formatter like this, you would open the file with that or paste the text and it will convert it to the tree structure that will make it a little easier to navigate. JSON is just a text file, and you can open it with notepad, but I wouldn’t recommend trying to search it that way. Better to use some kind of editor to get it into the tree structure.
-
People often forget about the environment, and I feel like a lot of the simpler services and applications could be configured through it easily.
For anything that requires more complex structures, JSON5 (https://json5.org/) has been gaining traction. It's basically JSON that allows a couple of more things, including comments and unquoted keys, if you're into that.
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
body-parser is a middleware that parses the body of incoming requests, and exposes the resulting object on req.body
-
-
Project mention: Can you recommend a React table components with virtualization and array indices (instead of key-value pairs)? | reddit.com/r/reactjs | 2023-01-22
We use Tabulator for a similar use case at my job, it has a virtual DOM to support thousands of rows pretty well. It's not React based, it's a vanilla JS library. There is a React wrapper here but I don't have experience with that.
-
-
Swagger is mentioned; see also the very useful and often used https://mholt.github.io/json-to-go/ .
-
Project mention: Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees | news.ycombinator.com | 2023-01-30
I use JSON schema to generate JSON-editing forms via json-editor: https://github.com/json-editor/json-editor
Then I can use the same schema in the backend to validate the data, both sent in via the form and directly with the application/json content-type. It's a pretty smooth flow, and reduces a lot of redundancy.
-
SurveyJS
Free Open-Source JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout that lets you load and run multiple web forms, or build your own self-hosted form management system, retaining all sensitive data on your servers. You have total freedom of choice as to the backend, because any server + database combination is fully compatible.
Project mention: I just released an open-source form builder built with Laravel | reddit.com/r/laravel | 2022-12-14Check out surveyjs/survey-library for Angular. Not exactly like this one from the thread but they have a survey creator to generate a config for their front end lib.
-
Project mention: typescript-json, 2x faster JSON stringify with only one line | reddit.com/r/typescript | 2022-04-20
-
Project mention: I teach high school Computer Science. What should I make sure they learn this year? | reddit.com/r/ProgrammerHumor | 2022-11-10
Here's a list of "Awesome JSON datasets": https://github.com/jdorfman/awesome-json-datasets
-
serialize-javascript
Serialize JavaScript to a superset of JSON that includes regular expressions and functions.
Project mention: Trying and failing to implement react redux persistence | reddit.com/r/gatsbyjs | 2022-02-19 and this is my config for the plugin: { resolve:gatsby-plugin-react-redux-persist, options: { // [required] - path to your createStore module pathToCreateStoreModule: './src/store', // [optional] - options passed toserialize-javascript // info: https://github.com/yahoo/serialize-javascript#options // will be merged with these defaults: serialize: { space: 0, // ifisJSONis set tofalse,evalis used to deserialize redux state, // otherwiseJSON.parseis used isJSON: true, unsafe: false, ignoreFunction: true, }, // [optional] - if true will clean up after itself on the client, default: cleanupOnClient: true, // [optional] - name of key onwindowwhere serialized state will be stored, default: windowKey: '__PRELOADED_STATE__', }, },
-
jsonform
Build forms from JSON Schema. Easily template-able. Compatible with Bootstrap 3 out of the box.
-
Project mention: I scraped +650K frontend jobs for 14 months and here are the Most Demanded Javascript Frontend Frameworks in this 2022 (From October 1, 2021 to November 30, 2022) | reddit.com/r/javascript | 2023-01-18
I'm hoping maybe the guy behind Neo.js and the Vue team can collab to put out an even faster framework that does more with the canvas as opposed to direct dom manipulations. As far as I can tell webGPU & wasm will reshape how things are done in the frontend and it may make sense to just render everything inside of a canvas.
-
Project mention: What's the best practice to fetch 10 random images from Cloud Storage to display to users? | reddit.com/r/webdev | 2022-04-08
However, if you have plans to increase the number of images, like to 500 for example, then I'd suggest using server-side pagination here. I'd also suggest using cursor-based pagination instead of offset-based for better performance. Github uses cursor-based pagination on stargazers page since the number of stars can get potentially huge for a repo.
-
Project mention: How should I test this function? Should I test all possibilities? Like hasDescription = true and hasExperience = true should return true. hasDescription = true and hasSkill = true should return false | reddit.com/r/webdev | 2022-09-20
If you find yourself needing to do alot of these profile matching functions I would recomend building either a mini-rules interpreter or using something like this https://github.com/CacheControl/json-rules-engine to do the matching for you.
-
fast-xml-parser
Validate XML, Parse XML and Build XML rapidly without C/C++ based libraries and no callback.
After experimenting with a few different XML parsers I settled on fast-xml-parser. It's fast, it's simple and it's well maintained. It also handles XML namespaces and attributes well. (This appears to be rare in XML parsers.)
-
Project mention: System language influences JSON decoding | reddit.com/r/iOSProgramming | 2023-02-02
Seems like date handling or decimal point differences are the most likely causes. I would paste your JSON into https://quicktype.io and see if the Swift code they spit out works under other languages.
-
Sonar
Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
JavaScript JSON related posts
- Scraping Apple App Store Product Info And Reviews with Python
- Scraping Apple App Store Search with Python
- Product Comparison App (JS Demo Project)
- Live Channels Deprecated?
- System language influences JSON decoding
- Fighting an itemized bill
- Ask HN: Who is hiring? (February 2023)
-
A note from our sponsor - Appwrite
appwrite.io | 5 Feb 2023
Index
What are some of the best open-source JSON projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | prettier | 44,726 |
2 | chinese-poetry | 38,718 |
3 | SheetJS js-xlsx | 32,141 |
4 | Lowdb | 18,997 |
5 | pino | 10,866 |
6 | jsoneditor | 10,136 |
7 | json5 | 5,677 |
8 | body-parser | 5,226 |
9 | form | 5,181 |
10 | Tabulator | 5,174 |
11 | jsondiffpatch | 4,281 |
12 | JSON-to-Go | 4,004 |
13 | json-editor | 3,559 |
14 | SurveyJS | 3,508 |
15 | fast-json-stringify | 3,121 |
16 | awesome-json-datasets | 2,735 |
17 | serialize-javascript | 2,647 |
18 | jsonform | 2,591 |
19 | neo | 2,580 |
20 | node-convict | 2,174 |
21 | json-rules-engine | 1,933 |
22 | fast-xml-parser | 1,796 |
23 | Paste JSON as Code • quicktype | 1,665 |