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 gluten with all npm packages installed. Try it out:

var gluten = require("gluten")

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

gluten v2.1.0

Javascript builder for components

Gluten

Gluten \ˈglü-tən\ is a great utility to help you build modular apps.

Usage

Just run glue or gluten command inside a directory with your top-level package.

Configuration

All your modules are configured through the package.json.

{
  "name": "you-module-name"
  "main": "index.js",
  "style": "index.css"
}

Features

Gluten uses browserify to compile your JS files and rework-npm for your CSS files.

There are several rework transformers that are used by default:

  • autoprefixer — vendor prefixes
  • rework-vars — css variables supports
  • rework-calccalc()
  • rework-color-function — easy color modifications

License

The MIT License

Metadata

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