Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javascript OOP library for client and server-side js (node.js)

is there any Javascript OOP library to easily work with classes, inherence and the like in a more class-based way to avoid prototypical OOP that works with JS both on the client (browser) and on the server (in my case Node.js, but generally that uses javascript core functions, so that can be used no matter the interpreter)?

Thanks.

like image 831
pistacchio Avatar asked Dec 05 '25 07:12

pistacchio


2 Answers

The Rightjs library has a server build you can download.

I think it has Node.js specifically in mind.

From the download page:

RightJS is also available as a server-side library. In this case it contains only the native JavaScript unit extensions and the Class, Observer, Options units along with all the non-DOM utility functions from the Util module.

Our server-side build follows the CommonJS principles and is ready for use with the node.js framework.

like image 97
user113716 Avatar answered Dec 07 '25 19:12

user113716


Check out

  • qxoo from Qooxdoo
  • JS.Class
like image 27
Gian Marco Avatar answered Dec 07 '25 19:12

Gian Marco



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!