sfn
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Service Framework for NodeJS

An easy and elegant distributed service framework for Node.js

For documentation, please visit sfnjs.com.

Easy and Elegant

SFN provides a set of friendly and elegant APIs, you can use them to build an expressive application very quickly, just focus on your own logic and design, and the framework will automatically handle everything that remains for you.

Distributed Design

SFN supports auto-scaling and service discovery, it allows you developing in one machine, and separate services whenever and wherever. The system will auto-redirect traffics, and distributively deploy without any modification.

Hot Reloading Modules

SFN provides a module solution that allows you, after modifying a source file, immediately hot-reload the module and functions without rebooting the process. And when deploying, restarting remote service will not break the application.


Run Test

SFN currently doesn't provide any unit test of the framework (but dependency modules do), the only way to test it is simply cloning the repository from GitHub to your computer, install all the dependencies and run the built-in documentation website.

git clone https://github.com/hyurl/sfn
mkdir ./node_modules
ln -s ./sfn ./node_modules/sfn # some modules require sfn in node_modules
cd sfn
npm install
tsc
node dist

Package Sidebar

Install

npm i sfn

Weekly Downloads

34

Version

1.1.0

License

MIT

Unpacked Size

638 kB

Total Files

70

Last publish

Collaborators

  • ayonli