The real power of a tool like unpkg is the fact that the files hosted at those URLs can be very heavily cached (npm doesn't allow published packages to be changed). So unpkg is also sponsored by Cloudflare which is an awesome CDN and serves 95% of unpkg's traffic from the cache, making unpkg extremely fast. The real power of a tool like unpkg is the fact that the files hosted at those URLs can be very heavily cached (npm doesn't allow published packages to be changed). So unpkg is also sponsored by Cloudflare which is an awesome CDN and serves 95% of unpkg's traffic from the cache, making unpkg extremely fast.
Download Bootstrap to get the compiled CSS and JavaScript, source code, or include it with your favorite package managers like npm, RubyGems, and more.
New version available - Material Design for Bootstrap 5
Material Design 2.0 + latest Bootstrap 5 based on plain JavaScript (but works also with jQuery). 500+ material UI components, super simple, 1 minute installation, free templates & much more
Free DownloadCompiled CSS and JS
Download ready-to-use compiled code for Bootstrap v4.1.1 to easily drop into your project, which includes:
- Compiled and minified CSS bundles (see CSS files comparison)
- Compiled and minified JavaScript plugins
Unpkg Bootstrap 4
This doesn’t include documentation, source files, or any optional JavaScript dependencies (jQuery and Popper.js).
Source files
Compile Bootstrap with your own asset pipeline by downloading our source Sass, JavaScript, and documentation files. This option requires some additional tooling:
- Sass compiler (Libsass or Ruby Sass is supported) for compiling your CSS.
- Autoprefixer for CSS vendor prefixing
Should you require build tools, they are included for developing Bootstrap and its docs, but they’re likely unsuitable for your own purposes.
BootstrapCDN
Skip the download with BootstrapCDN to deliver cached version of Bootstrap’s compiled CSS and JS to your project.
If you’re using our compiled JavaScript, don’t forget to include CDN versions of jQuery and Popper.js before it.
Package managers
Pull in Bootstrap’s source files into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will require a Sass compiler and Autoprefixer for a setup that matches our official compiled versions.
npm
Install Bootstrap Material Design in your Node.js powered apps with the npm package:
Unpkg D3
require('bootstrap-material-design')
will load all of Bootstrap Material Design’s jQuery plugins onto the jQuery object. The bootstrap-material-design
module itself does not export anything. You can manually load Bootstrap’s jQuery plugins individually by loading the /js/*.js
files under the package’s top-level directory.
Bootstrap Material Design’s package.json
contains some additional metadata under the following keys:
sass
- path to Bootstrap Material Design’s main Sass source filestyle
- path to Bootstrap Material Design’s non-minified CSS that’s been precompiled using the default settings (no customization)
Compatibility
Socket.IO does support IE9 and above. IE 6/7/8 are not supported anymore.
Browser compatibility is tested thanks to the awesome Sauce Labs platform:
Release notes
The release notes of each version can be found in GitHub.
Installation
Standalone build
Dr fone free full version. By default, the Socket.IO server exposes a client bundle at /socket.io/socket.io.js
.
io
will be registered as a global variable:
Unpkg Vue
If you don’t need this (see other options below), you can disable the functionality on the server side:
From a CDN
You can also include the client bundle from a CDN:
Socket.IO is also available from other CDN like jsDelivr and unpkg.
There are several bundles available:
Name | Size | Description |
---|---|---|
socket.io.js | 19.8 kB min+gzip | Production version, with debug |
socket.io.slim.js | 15.6 kB min+gzip | Production version, without debug |
socket.io.dev.js | 38.5 kB gzip | Unminified version, with debug |
The debug package allows to print debug information to the console. You can find more information here.
During development, we recommend to use the socket.io.dev.js
bundle. By setting localStorage.debug = 'socket.io-client:socket'
, any event received by the client will be printed to the console.
For production, please use the socket.io.slim.js
bundle, which is an optimized build excluding the debug package.
From NPM
The Socket.IO client is compatible with bundlers like webpack or browserify.
The client can also be run from Node.js.
Note: for the reasons cited above, you may want to exclude debug from your browser bundle. With webpack, you can use webpack-remove-debug.