Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Minimal plugin framework for node.js and browsers.

License

NotificationsYou must be signed in to change notification settings

cappslock/pluggo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Broadway but smaller

What is this?

Pluggo is a stupidly-named plugin library for Node.js and web browsers. You could also refer to it as a "dependency injection" or "inversion of control" library if you are feeling jaunty.

It's based on the parts of thebroadway interface which I personally found myself using and functions more or less as a drop-in replacement.

It doesnot implement thedetach function in broadway's plugin interface.

So why would I use this instead of broadway?

If you're using broadway in server code that you never plan on sharing with a browser, then you shouldn't.

If you'rebrowserifying broadway though, you'll find that it clocks in at 243K, 56K when gzipped. Pluggo implements the same plugin interface with 0 dependencies and about 40 lines of code.

API

Seebroadway's API docs and pretend that the parts about detach and name aren't there. Congratulations, you have mastered Pluggo!

About

Minimal plugin framework for node.js and browsers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp