Stately.js icon indicating copy to clipboard operation
Stately.js copied to clipboard

Stately.js as a Node.js module

Open synaptiko opened this issue 14 years ago • 4 comments

Hi,

it would be great if this is written as Node.js module and installable throught NPM. Are you planning it in future?

Btw. there is similar project to yours which has this support: https://github.com/ifandelse/machina.js

synaptiko avatar Oct 12 '12 16:10 synaptiko

Hey Jiří,

if I get some time, I'll try to give it some Node.js love. At the moment I would be happy if at least someone fiddles a bit with Stately.js.

Yes, there are several similar projects out there and some strongly inspired Stately.js. In general I prefer the "declarative syntax" to model the states and try to keep it simple without much options. Maybe I'll compile a list of similar projects and publish it here on a wiki page to collect some more inspiration.

Flo

fschaefer avatar Oct 12 '12 16:10 fschaefer

Pull request sent.

Thanks for library Florian. I like your FSM style, and the sample documentation is great!

rowanu avatar Oct 13 '12 21:10 rowanu

Thank you, rowanu!

fschaefer avatar Oct 14 '12 09:10 fschaefer

I close this right now. npm support should be given through the provided package.json file.

fschaefer avatar Oct 15 '12 16:10 fschaefer