[![CircleCI](]( [![Build Status](](
Last updated a month ago by mayanklahiri .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install datasole 
SYNC missed versions from official npm registry.


CircleCI Build Status

Datasole, or data console, is a fast prototyping tool for realtime, full-stack Javascript web applications. Datasole handles the plumbing of keeping a server Javascript application in sync with many client Javascript applications, which includes:

  • Bundle client application using Webpack.
  • Serve client bundle in development (hot module replacement) and production (static build) mode.
  • Start and supervise the server application.
  • Allow the server application to mutate a shared model, and propagate these mutations to all connected clients.
  • Allow clients to trigger RPC-style actions in the server application, which can mutate the shared state.

Datasole is based on (and abstracts): Webpack, Express, and WebSockets (via the ws library).

Datasole works well with frontend frameworks that support reacting to mutations on a shared data model, such as Vue.

The following features are supported when developing a Datasole application:

  • Server application restart on source file changes
  • Asset bundling via Webpack, with hot module reloading
  • Templating languages: Pug, HTML
  • Stylesheet languages: CSS, Sass (SCSS), LessCSS
  • Image formats: SVG, GIF, PNG, JPG, ICO
  • .vue single-file Vue.js components.


npm install -g datasole

Datasole can also be used as a library without -g.


Help for each option: -h or --help


Start a new project by running datasole init in an empty directory.


Start a development webserver: datasole dev


Build a production version of the frontend: datasole build


Serve a production version of the frontend: datasole run (requires datasole build first)


The following environment variables affect Datasole's behavior.

Environment variable Default Description
DATASOLE_LOG_OUTPUT_PATH Path to write logs to, or stdout if blank
DATASOLE_LOG_FORMAT text text or json
DATASOLE_LOG_LEVEL_SYS info Datasole runtime logging level
DATASOLE_LOG_LEVEL_APP info User application logging level
DISABLE_COLORS false Strip ANSI color codes from log messages

The following logging levels are supported:

  • trace
  • debug
  • info
  • warn
  • error

Example projects

See the datasole-examples repository.

Package maintainer notes

  • Webpack is not in devDependencies because recursive devDependencies are not currently installed by npm, and Webpack is required for developing the client and server components of any project. In the future, Webpack and other large dev dependencies can be moved to devDependencies by requiring a global npm install of datasole for development.

Source Statistics

Statistic Value
Total lines of code 3437
Source lines 2536 (74%)
Comment lines 489
Installed node_modules size 199M

Current Tags

  • 0.3.4                                ...           latest (a month ago)

14 Versions

  • 0.3.4                                ...           a month ago
  • 0.3.3                                ...           a month ago
  • 0.3.2                                ...           3 months ago
  • 0.3.1                                ...           4 months ago
  • 0.3.0                                ...           4 months ago
  • 0.2.4                                ...           5 months ago
  • 0.2.3                                ...           5 months ago
  • 0.2.2                                ...           5 months ago
  • 0.2.1                                ...           5 months ago
  • 0.2.0                                ...           5 months ago
  • 0.1.3                                ...           6 months ago
  • 0.1.2                                ...           6 months ago
  • 0.1.1                                ...           6 months ago
  • 0.1.0                                ...           7 months ago
Maintainers (1)
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 57
Dependencies (44)
Dev Dependencies (5)
Dependents (0)

Copyright 2014 - 2016 © |