JSDK is the most comprehensive TypeScript framework, like JDK.
npm install jsdk-offical
src="https://img.shields.io/badge/license-MIT-blue"
alt="License: MIT">
src="https://img.shields.io/badge/version-v2.7.0-brightgreen"
alt="Version: 2.7.0">
JSDK 2.0+ is the most comprehensive TS/JS framework, including lots of features, frameworks and tools from the bottom to top layers. It is very suitable to be the cornerstone of any JS library, like JDK for Java.
It supports such following features:
Annotation, Reflection, AOP, Component & Dependency Injection, Thread, Timer, Unit-Test, Event-Bus, Animations, 2D-Drawing, Application Framework. A group of advanced widgets and more powerful tools are also provided.
JSDK can greatly help you to develop libraries, components, widgets, applications and even games.
Github: https://github.com/fengboyue/jsdk/releasesor via npm:
``shell`
npm install jsdk-offical -g
html
`
Load your required library (or JS/CSS files) in TS/JS code and call its API:
`javascript
///
JS.imports([
'$jsunit' //Suppose you need to load jsunit library for unit-test
]).then(()=>{
TestRunner.addTests([
......
]);
TestRunner.run();
});
``ES6 and TypeScript 2.0+.If you touch JSDK for the first time, you need to have these following basic knowledge:
> ES6 core features : class definition / multiline string / arrow function / new native APIs / Promise etc.
>
> TypeScript 2.0+ syntax and compilation parameters.
>
> VSCode: installation, configuration, creation and compilation of projects.
Remarks
If you only use JSDK in ordinary JS projects, you do not need to learn TypeScript and VSCode.*
It is strongly recommended to use JSDK in TS projects, which will make all features of JSDK effective.*
If you need to run JSDK on a browser that does not support ES6, please load Babel or es6-shim before using JSDK.*
JSDK Guides
JSDK Self-Tests
JSDK Examples
JSDK API Docs
{JSDK-INSTALL} directory.http://localhost/jsdk/ to refer to your {JSDK-INSTALL}.