A javascript OOP toolkit for mobile & modern web.
npm install --save @jswork/nextimport nx from '@jswork/next'; const MyClass = nx.declare({ statics:{ init: function(){ console.log('hello next!') } } })<script type="text/javascript" src="https://unpkg.com/@jswork/next"></script> <script type="text/javascript"> (function (nx, global) { nx.declare('myApp', { statics: { init: function () { alert('hello next!'); } } }); }(nx, nx.GLOBAL)); </script>Code released under the MIT license.