npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jsdk-offical

v2.7.0

Published

JSDK is the most comprehensive TypeScript framework, like JDK.

Downloads

190

Readme

JavaScript Develpment Kit

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:

JSDK can greatly help you to develop libraries, components, widgets, applications and even games.

Download

Via Github: https://github.com/fengboyue/jsdk/releases

or via npm:

npm install jsdk-offical -g

Usage

Load the core file and global config file of JSDK in HTML:

<script src="{PROJECT-URL}/libs/jsdk/{JSDK-VERSION}/jscore.min.js"></script><!-- ziped: 4kb -->
<script src="{PROJECT-URL}/libs/jsdk/{JSDK-VERSION}/jsdk-config.js"></script><!-- unziped: 5kb -->

Load your required library (or JS/CSS files) in TS/JS code and call its API:

/// <reference path="../libs/jsdk/{JSDK-VERSION}/jsdk.d.ts" /> 
JS.imports([
    '$jsunit' //Suppose you need to load jsunit library for unit-test
]).then(()=>{
    TestRunner.addTests([
        ......
    ]);
    TestRunner.run();
});
  • For JSDK libraries, please read the chapter "Library Management"

Basic knowledge

JSDK 2.0+ was written in 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.

Online Resources

You can visit the following online resources on Github to know more:

Local Resources

You can launch a http server on your PC to visit these resources quickly.

  1. Suppose you download and unzip JSDK to the {JSDK-INSTALL} directory.
  2. Run a http server and set your server path http://localhost/jsdk/ to refer to your {JSDK-INSTALL}.
  3. Open your browser and visit the URL.

License

JSDK is licensed under the MIT license since version 2.0.

  • Other open source libraries include in JSDK's releases are licensed under their stated licenses

Updates

v2.7.0 - Milestone

  • Update "jscore" for micro kernel.
  • Update "jsan" for new tween and frame animations.
  • New tool classes such as CssTool, Images, Objects.
  • Fix some bugs.

Old Versions

The 0.X versions of JSDK was no longer upgraded and maintained. Please use the latest version.