My talk for the BrisJS meetup in May 2019 about Data-Forge Notebook, a cross-platform desktop application built with Electron.
Data-Forge Notebook is a notebook-style application for data transformation, visualization and analysis in JavaScript and TypeScript.
http://www.data-forge-notebook.com/
6. My problem
“Why am I doing my data analysis in Python?
What I really want is to run this code in a
JavaScript production environment!”
- Ash, some time years ago
11. Data-Forge
Notebook Features
● No configuration, no setup, no extra
installs
● Just start coding
● Runs your code in an embedded Node.js
● Supports JavaScript and TypeScript
● Automatically installs npm libraries that
you use
● Visualize JavaScript data types and
JSON
● Preview tabular data
● Render charts
● Render HTML
● Export code for production use
● Export to an interactive web page
● Capture to PNG, PDF and markdown
15. Why Electron? ● Just because JavaScript
● Cross platform
● Leverage my web tech skills
● Native menus + integrations
● Easy to get started
● Easy to build an installer
● Good support, docs,
community, ecosystem
● Crash reporting
● Automatic updating
16. Anatomy of an
Electron app
Electron quick start
https://github.com/ashleydavis/electron-quick-start
21. Platform-specific
code
const os = require('os');
const isMacOS = os.platform() === "darwin";
if (isMacOS) {
// Something different for MacOS.
}
else {
// Running on Windows or Linux.
}