Skip to content

thednp/bootstrap.native

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
December 28, 2022 15:04
January 29, 2023 20:27
January 29, 2023 20:29
January 29, 2023 20:29
src
January 29, 2023 20:29
December 11, 2022 22:31
May 27, 2022 20:14
May 29, 2022 22:38
December 11, 2022 22:31
May 16, 2015 19:29
January 29, 2023 11:30
December 11, 2022 22:31
December 11, 2022 22:31
December 12, 2022 06:39
January 29, 2023 14:42

BSN

Coverage Status ci NPM Version jsDeliver typescript version eslint version cypress version vite version prettier version

The faster, lighter and more compact set of JavaScript components for Bootstrap 5, free from major dependecies such as jQuery, Popper. The bootstrap.native library is available on npm, CDN and comes packed with strong TypeScript definitions, Cypress powered tests and other goodies.

The library is around 39Kb minified and around 12Kb gZipped. See the demo for components guidelines and examples, or the Wiki/How to use on how to install and use the library.

Wiki

Check out the bootstrap.native Wiki pages, they're updated with almost every new commit:

  • Acknowledgements - there are similarities and differences with the original library, good to know for maximizing your workflow.
  • How to use - An in depth guide on how to use the library.
    • CDN Links - use CDN links available on jsdelivr
    • Locally Hosted - download and copy in your project assets/js folder, then use proper markup to enable BSN on your pages
    • ES6+ Example - modern application would like you to import BSN from "@thednp/bootstrap.native"
    • NPM Installation - just execute npm install @thednp/bootstrap.native or mark it as dependency and take it from there
    • Dynamic Content - use the library callbacks with your turbolinks:load, mount, load and similar events
    • RequireJS/CommonJS - NodeJS applications would like you to const BSN = require("@thednp/bootstrap.native")
    • Factory Methods - for NodeJS apps you need to have document and window in scope
  • Browser support - Enable legacy browsers support via polyfills.
  • FAQs - A short list of frequent asked questions regarding the use of the library.
  • About - Learn about the bootstrap.native project, goals and motivations.

Contributors

  • Full contributors list here. Thanks!

License

The BSN library is released under the MIT license.