pluggable.js takes mins to add a plugin architecture in your JavaScript project

pluggable.js is a tiny library that lets you make your JS project extendable via plugins, while still keeping sensitive objects and data private through closures.

What is pluggable.js?

pluggable.js lets you make your JS project extendable via plugins, while still keeping sensitive objects and data private within es2015 modules or through closures.

It was originally written for converse.js, to provide a plugin architecture that allows 3rd party developers to extend and override private objects and backbone.js classes, but it does not require nor depend on either library.

Size and dependencies

pluggable.js depends on 8 lodash functions and provides a custom lodash build with only these functions in the 3rdparty/ directory.

Pluggable.js itself is only 2.5KB when minified and the custom lodash build is 26KB when minified (both without gzip compression).

Features

  1. Easy to use
  2. Minimal footprint and code integration
  3. Developer-friendly documentation
  4. Used in production-ready projects
  5. Developers can save a huge deal of time in creating plugins
  6. Open-source

License

pluggable.js is released under the MIT License.

Resources

Converse.js: An open-source XMPP client for building in-browser messaging apps
What is Converse.js?Converse.js is an open-source, free library that aids developers in creating browser-based chat clients. Converse.js is a library for XMPP which means you can connect to any public XMPP/ Japper servers, or use your own XMPP server as a messaging backend. It can be







Open-source Apps

9,500+

Medical Apps

500+

Lists

450+

Dev. Resources

900+

Read more