Javascript conversion/ETL library? [closed] - javascript

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm considering creating a new Open Source library in Javascript to handle common data format conversions, but I would love to avoid re-inventing the wheel if possible. Is there an existing library that has the following features?
Modular loaders to read input from different data formats (e.g. XML, CSV, JSON, SQL dump, fixed-width text, potentially some binary formats, custom formats, etc)
Data loaded into a Javascript data structure and optional custom transform functions applied
Modular exporters/emitters to output to different data formats (as above)
I know various libraries that can handle some of these data types, but usually in specific circumstances or combinations, and without the modular input/output structure I'm imagining.
Does a Javascript data format conversion library currently exist?

Related

Approaches to C++/Javascript communication for scientific visualization [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have a scientific simulation package written in C++, with poor visualization capabilities---it's hard to see what the simulation is actually doing at any one time. I would like to create a Javascript/WebGL based viewer, which would exchange data AJAX-style with the C++ simulation as it runs and visualize the results. The visualization data would comprise a few kilobytes of floating point data, and would be sent every few seconds. Communication would need to be bidirectional so that the user could specify what information is required to be visualized.
My question: what are the available libraries/technologies to be using on both sides (in the C++ application, and in the Javascript) to exchange this data?
Note: I see that similar questions to this (none of them a duplicate) have been asked and closed. I think my question is a valid one---certainly my need is genuine---and surely this is the best place to get answers. So, if there's some more productive way I should be phrasing my question, please let me know and I will do that.
One possibility is to use WebSockets for the communication. The Qt library includes support for a WebSocket server which the JavaScript client could connect to, after which bidirectional communication is possible. This also allows the exchange of binary data, which should allow you to send floating point data from the C++ side and use it at the JavaScript side as e.g. a Float32Array.

Minify Javascript to Early Edition [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
How can I convert minimized java script to early Edition?
Is any software or website for this work?
Thank u for hints.
No, there is no software to unminify javascript you can minify it but reversing is not possible, if you are creating your own javascript code then you must keep both javascript versions minified and unminified for future reference.
And if you are using a javascript library or framework then both versions (minified and unminified) will be available on that site.
JavaScript cannot be "unminified". The purpose of minification is to represent the original javascript in the least number of characters. However it is a one way transformation since there are no clues in the minified version that can lead you back to the original content.
Ex: the variable myLongVariableName can be minified to just a since the JavaScriupt interpreter doesn't care about human readable variable names. However, after it's been mapped to a there is no way to map it back to myLongVariableName

Persist data on server with JavaScript? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'd like to create a small JS, HTML & CSS-only web application for my personal use with some kind of MVC-framework (like ember.js). My big requirement is that I want to persist the data permanently on the server where I run the web-application.
Is that achievable and what are good frameworks for it?
If something needs to run on the server I want it to be lightweight and easy to setup.
I need to be able to query the data. After a while there will be a few thousand rows in the database. Joins etc. won't be required.
It's highly possible, but you'll need somethign running on the server to swallow the data.
Typically you have serverside code which interacts with your data store to prevent users from manipulating your databases.
You can stick with JSON/Javascript and use CouchDB: http://couchdb.apache.org/.
It allows you to read/write data directly from Javascript, so you don't have to write server side code.
Other ideas to stay in the JSON/Javascript world - you can write from client side to a Node.js machine that writes to Mongo. Pure JSON/Javascript all the way down.

Cross-browser JS standardizer [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a library which makes all browser's JS interfaces comply to W3C standards?
For example, one that will add addEventListener to IE8, based on attachEvent.
EDIT 2022. core-js was created a year after this question. I guess it wasn't that much off-topic, huh?
Every modern javascript framework offers you methods to even out these inconsistencies in the browsers js implementation (like jQuery's on handles addEventListener/attachEvent). Most of these frameworks however don't use the approach to alter the host objects (which is considered problematic) but their methods internally map to the according functions available in the specific browser.
I suggest you try one of those many popular frameworks (like e.g. jQuery, MooTools or Dojo to name only a few of the more popular ones).
I suggest to NOT use a framework which alters the host objects directly (as some of them tried in the earlier days and later discovered that this causes many problems).

Parse human readable dates with JS? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm working on a web project that uses Django, jQuery and Google App Engine.
I need an option to parse raw, human readable date texts into JavaScript Date objects.
I found this library - http://code.google.com/p/parsedatetime/ which will allow me to parse strings such as "tomorrow at noon" or "in 5 minuts" to epoch time. The drawback is that its a python library, thus requiring me to use AJAX to send a request to convert the string for me to the server.
Is there a JavaScript library that will allow for a similar functionality that I can use to parse the string on the client-side?
Thanks
Try this: http://www.datejs.com/
Checkout moment.js: http://momentjs.com/docs/

Categories