Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including js-kernel with all npm packages installed. Try it out:

var jsKernel = require("js-kernel")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

js-kernel v0.2.2

A kernel for your javascript app

JS Kernel

A kernel for your javascript app


import {build} from 'js-kernel';

const kernel = build({
    // Are we in development or production
    development: true,
    // Initial Redux State
    initialState: {},
    // Redux Reducer
    reducer: (state, action) => state,
    // React Router Routes
    routes: [],
    // Redux Middleware
    middleware: [],
    // Redux Store Enhancers
    enhancers: [],
    // Where to store the router state
    selectLocationState: state => state.router
}, {});

// Render app
kernel.render({
    // Element to render to
    element: document.getElementById('root')
});

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free