https://github.com/afeiship/next
A javascript OOP toolkit for mobile & modern web.
https://github.com/afeiship/next
class es5 javascript javascript-library js-core next nx oop static tookit vampire
Last synced: 2 months ago
JSON representation
A javascript OOP toolkit for mobile & modern web.
- Host: GitHub
- URL: https://github.com/afeiship/next
- Owner: afeiship
- License: mit
- Created: 2016-02-27T16:37:04.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-12-21T13:46:34.000Z (10 months ago)
- Last Synced: 2025-01-06T08:08:24.331Z (10 months ago)
- Topics: class, es5, javascript, javascript-library, js-core, next, nx, oop, static, tookit, vampire
- Language: JavaScript
- Homepage:
- Size: 559 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next
> A javascript OOP toolkit for mobile & modern web.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```shell
npm install --save @jswork/next
```
## node
```js
import nx from '@jswork/next';
const MyClass = nx.declare({
statics:{
init: function(){
console.log('hello next!')
}
}
})
```
## browser
```html
(function (nx, global) {
nx.declare('myApp', {
statics: {
init: function () {
alert('hello next!');
}
}
});
}(nx, nx.GLOBAL));
```
## license
Code released under [the MIT license](https://github.com/afeiship/next/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/next
[version-url]: https://npmjs.org/package/@jswork/next
[license-image]: https://img.shields.io/npm/l/@jswork/next
[license-url]: https://github.com/afeiship/next/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next
[size-url]: https://github.com/afeiship/next/blob/master/dist/index.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/next
[download-url]: https://www.npmjs.com/package/@jswork/next