Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/next
A javascript OOP toolkit for mobile.
https://github.com/afeiship/next
class es5 javascript javascript-library js-core next nx oop static tookit vampire
Last synced: 3 months ago
JSON representation
A javascript OOP toolkit for mobile.
- Host: GitHub
- URL: https://github.com/afeiship/next
- Owner: afeiship
- License: mit
- Created: 2016-02-27T16:37:04.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2024-09-26T00:59:49.000Z (4 months ago)
- Last Synced: 2024-10-12T11:02:22.237Z (3 months ago)
- Topics: class, es5, javascript, javascript-library, js-core, next, nx, oop, static, tookit, vampire
- Language: JavaScript
- Homepage:
- Size: 536 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