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

skylarkjs

v0.9.7

Published

An Elegant JavaScript Library and HTML5 Application Framework.

Downloads

13

Readme

skylark.js

An unified framework for building modern html5 applications across web and desktop. http://www.skylarkjs.org

Introduction

Skylark.js is an unified framework for building modern html5 applications across web and desktop, including the runtime library and many development tools.

summary

  • Concise
    Skylark.js framework is very simple and powerful, the code is only 7k (core library,gzip) or 22k (including a powerful utility library), and easy to read and easy to debug.
  • Anywhere
    Skyalrk.js application is archived a single .slax file. The slax archive can be deployed to web server, and you can also run it directly on the local desktop.
  • Integratable
    Skylark.js core framework focus functional structure of an application, easy to integrate with jquery, backbone, vue, react and other popular UI framework.
  • Unified
    Skylark.js is easy to unify other framework resources. Using skylark-jquery, jquery plugins and applications can run directly on skylarkjs without jquery.
    In addition, there are skylark-backbone, skylark-vue (in developping) and so on.
  • Configable
    All constituent elements of the application (such as paths, plugins, dependents, and so on) are configed in slax-config.json file.
  • Modular
    Highly modular with very little opinion of how things should be done, removing bloat and unecessary overhead.

browser compatibility

Skylark.js supports all browsers that are ES5-compliant (IE8 and below are not supported).

Ecosystem

| Project | Description | Integration | |---------|--------|-------------| | skylark-langx   | javaScript language extension library| built-in on skylarkjs runtime| | skylark-router   |frontend routing framework| built-in on skylarkjs runtime| | skylark-spa   |html5 single page application framework| built-in on skylarkjs runtime| | skylark-utils   |javascript dom utility library| built-in on skylarkjs runtime(full build version)| | skylark-slax-browser|official desktop browser for running skylark slax application|built-in on skylarkjs development tools| | skylark-slax-nodeserver|official node server for running the skylark slax application|built-in on skylarkjs development tools| | skylark-jquery|an extension library fully compatible with jquery api|optional, installed by the developer as needed| | skylark-backbone|an extension library fully compatible with backbone api|optional, installed by the developer as needed|

Runtime

architecture

architecture

different builds

| | build | Description | |---------|--------|-------------| | full | skylarkjs.js | included skylark-utils | | core | skylarkjs-core.js | not included skylark-utils | | full (development) | uncompressed/skylarkjs.js | included skylark-utils | | core (development)| uncompressed/skylarkjs-core.js | not included skylark-utils |

installation

There are multiple ways to install the skylark-router library.

  • cdn
    http://registry.skylarkjs.org/packages/skylarkjs/v0.9.6/skylarkjs.js or
    http://registry.skylarkjs.org/packages/skylarkjs/v0.9.6/uncompressed/skylarkjs.js
  • bower
    bower install skylarkjs
  • skylark.js development tool

usage

  • Using the skylarkjs library for a AMD module.
<script type="text/javascript" 
            src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.3/require.min.js"
            data-main="http://registry.skylarkjs.org/packages/skylarkjs/v0.9.3/uncompressed/skylarkjs.js">
</script>
<script>
  require(["skylarkjs"],funciton(skylarkjs){
  skylarkjs.xxx();
  });
</script>

Developping

installation

Skylark.js sdk is released as npm package, so first make sure the nodejs and npm have been installed.

npm install skylarkjs -g

China:

ELECTRON_MIRROR=https://npm.taobao.org/mirrors/electron/ npm install skylarkjs -g --verbose

quick start

  • enter into the workspace root directory
  • create skylark slax application skeleton
sjs create slaxApp1 --routes home:/,view1:/view1,view2:/view2
  • build application
npm run build
  • deploy application
npm run deploy
  • run the application as desktop application
npm run browse

desktopapp

  • start server to run the slax application
npm run serve

webapp

Documentation

Stay In Touch

Bugs and feature requests

Have a bug or a feature request? Please first search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

License

The code is released under the MIT License.