I am looking for a JavaScript framework that works without a browser, and without Node. I need a system to organise some JS AppleScripts that are growing in size, so I am looking for something like AngularJS's factories, services, etc.
Because I am only looking for a small part of something like AngularJS, I would have no problem trying to make one myself. I'm sure it will be a lot of fun :). But is there anything out there that already exists?