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 1,000,000+ packages pre-installed, including knockstrap with all npm packages installed. Try it out:

var knockstrap = require("knockstrap")

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

knockstrap v1.4.0

Knockout bindings to Twitter Bootstrap 3

Knockstrap Build Status


Knockstrap is binding library for Knockout.js, which provides bindings to Twitter Bootstrap widgets

Supported widgets:

  • Modal
  • Tooltip
  • Popover
  • Alert
  • Progress
  • Toggle button
  • Radio button
  • Checkbox button
  • Carousel
  • Pagination
  • Pager




  • jQuery (Any compatible with Bootstrap 3 version)
  • Twitter Bootstrap 3 (CSS and JavaScript)
  • Knockout.js (>=2.3.0)


NuGet | Bower | npm


Building using grunt:

Install node.js and grunt plugin.

Install all grunt plugins:

npm install

Then you can build project with:


Also, you can specify custom build and temp directories:

grunt -buildPath=D:/custom/build -tempPath=D:/custom/temp

To build examples use:

grunt examples

Also, you can specify custom examples directory:

grunt -examplesPath=D:/custom/examples

To run unit-tests, use:

grunt jasmine

To run building, tests and minification, use:

grunt release 

License: MIT License

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