MCPcopy
hub / github.com/barbajs/barba

github.com/barbajs/barba @v2.10.3 sqlite

repository ↗ · DeepWiki ↗ · release v2.10.3 ↗
328 symbols 876 edges 143 files 128 documented · 39%
README

barba.js – Stability CircleCI Coverage Status Commitizen friendly Conventional Commits lerna License All Contributors Slack workspace

Create badass, fluid and smooth transitions between your website’s pages.

barbajs

Intro

Barba.js — aka Barba — is a small (7kb minified and compressed) and easy-to-use library that helps you create fluid and smooth transitions between your website's pages. It makes your website run like a SPA (Single Page Application) and help reduce the delay between your pages, minimize browser HTTP requests and enhance your user's web experience.

Features

Barba is user friendly, smart, extensible and futureproof. The library provides a bunch of useful features that will make your website shine like any other website, ever!

Documentation

Here you will find the documentation describing how to use the library.

  1. Website - official Barba website
  2. User guide - how to install and use the plugin
  3. Lessons, courses and videos - for in-depth learning
  4. Showcase - selected works made with Barba
  5. Developer API - by developers, for developers

[!NOTE] This guide assumes intermediate knowledge of HTML, CSS, and JavaScript. It is worth mentioning that all code examples use ES6+ syntax. If you are not comfortable with this syntax, we would encourage you to grasp the basics then come back.

In case of emergency, check the "legacy" code example.

Sponsor

If you like this library and want to give some recognition, it is now possible to become a Github sponsor and support this project by sponsoring BarbaJS maintainer on Github. Even if it's a small contribution, you participate in the effort of making open source projects maintained for anyone, and developers to be rewarded for their work/time.

Contribute

If you want to report a bug or request a new feature/improvement, please read the project contributors guidelines before.

Thanks for taking time to contribute to Barba :tada: :+1:

Contributors

Luigi De Rosa Luigi De Rosa 🤔 💻 📖 💬 🐛 ⚠️ 👀 🚇 Thierry Michel Thierry Michel 🤔 💻 📖 💬 🐛 ⚠️ 👀 🚇 Xavier Foucrier Xavier Foucrier 🤔 💻 📖 💬 ⚠️ 👀 🐛 🚇 Marco Grimaldi Marco Grimaldi 🎨 Petr TIchy Petr TIchy 📝 📹 Cody Marcoux Cody Marcoux 💬 Phil. Phil. 💬
Giorgio Finulli Giorgio Finulli 💬 Wouter Wouter 🐛 💬 Mike Wagz Mike Wagz 🤔 💬 ⚠️ Red Stapler Red Stapler 📹 Jérémy Levron Jérémy Levron 💬 Nguyen Van Anh Nguyen Van Anh 💻 Daniel Weber Daniel Weber 💻
Jean-Marie Porchet Jean-Marie Porchet 💻 James James 💻 Nicholas Nicholas 💻 Patrick Arminio Patrick Arminio 💻 A (from Sicily) A (from Sicily) 💻 Pavel Mazhuga Pavel Mazhuga<

Extension points exported contracts — how you extend this code

ITransitionOnce (Interface)
(no doc) [3 implementers]
packages/core/src/defs/transition.ts
ICssCallbacks (Interface)
(no doc)
packages/css/src/defs/index.ts
IPrefetchOptions (Interface)
(no doc)
packages/prefetch/src/defs/index.ts
IRoute (Interface)
(no doc)
packages/router/src/defs/index.ts
IBarbaPlugin (Interface)
(no doc) [3 implementers]
packages/core/src/defs/barba.ts
IRouteParsed (Interface)
(no doc)
packages/router/src/defs/index.ts
IRouteResolved (Interface)
* @module typings/core
packages/core/src/defs/schemas.ts
IRouteResolved (Interface)
(no doc)
packages/router/src/defs/index.ts

Core symbols most depended-on inside this repo

get
called by 104
packages/core/src/modules/Cache.ts
fn
called by 99
packages/core/__tests__/hooks/hooks.test.ts
resolve
called by 50
packages/core/src/modules/Store.ts
init
called by 47
packages/core/src/defs/barba.ts
do
called by 45
packages/core/src/hooks.ts
getHref
called by 25
packages/core/src/utils/dom.ts
info
called by 23
packages/core/src/modules/Logger.ts
add
called by 23
packages/core/src/modules/Store.ts

Shape

Method 160
Function 90
Class 42
Interface 35
Enum 1

Languages

TypeScript100%

Modules by API surface

packages/css/src/css.ts23 symbols
packages/core/src/utils/history.ts20 symbols
packages/core/src/core.ts20 symbols
packages/core/src/defs/transition.ts18 symbols
packages/core/src/modules/Transitions.ts17 symbols
packages/core/src/modules/Prevent.ts17 symbols
packages/core/src/utils/dom.ts16 symbols
packages/core/__web__/scripts/transitions/hooks.js13 symbols
packages/core/src/modules/Cache.ts12 symbols
packages/core/src/modules/Logger.ts11 symbols
packages/core/src/utils/url.ts10 symbols
packages/core/src/modules/Store.ts9 symbols

Dependencies from manifests, versioned

@commitlint/cli19.3.0 · 1×
@commitlint/config-conventional19.2.2 · 1×
@commitlint/config-lerna-scopes19.0.0 · 1×
@types/jest24.9.1 · 1×
@types/lodash4.17.7 · 1×
all-contributors-cli6.26.1 · 1×
babel-eslint10.1.0 · 1×
commitizen4.3.0 · 1×
commitlint-config-ccgls1.4.8 · 1×
coveralls3.1.1 · 1×
cypress13.13.2 · 1×
cz-ccgls0.4.6 · 1×

For agents

$ claude mcp add barba \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact