0.6.0 • Published 4 years ago
blessed-core v0.6.0
blessed-core
Refactor version of blessed, a fork of the blessed with refactor
I like blessed, it's a great framework,
It's a pity that its author does not maintain it anymore,
In searching, I also found several other fork repositories,
But it seems that everyone no longer maintains it.
Based on the spirit of research,
I built a repository base on original blessed,
I will change its javascript syntax slightly to support modern IDE,
And fixed its bugs within my ability,
Hope this helps someone who will use blessed in the future
Change & Todo List
- refactor
- object naming rules by upper-camel-case
- shortcut creation to namespace
blessed.new
- all classes to es6
- add testing
- unit test env - mocha & chai
- basic namespace test
- es6 class inherit test
- base functional test
- add examples
- base screen & program test
- simple app test
Blessed
A curses-like library with a high level terminal interface API for Node.js.
Install
$ npm install blessed-core
Migrate from original blessed
- the
blessed.new
namespace- change all creation functions from
blessed
root toblessed.new
change code from
let box = blessed.box
tolet box = blessed.new.box
- change all creation functions from
the
blessed.utils
namespace- change all
blessed.helpers
toblessed.utils
- keep utils functions in
blessed.utils
, not merge to root namespace
- change all
the
blessed.widget
namespace- keep all classes in
blessed.widget
, not merge to root namespace - merge shortcut creation function to
blessed.new
namespace
- keep all classes in
0.6.0
4 years ago