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

olight

v1.5.5

Published

> olight 是 Light2.0 工程的前端开发框架,在 vue2.x 的基础上提供了丰富的接口。

Downloads

422

Readme

olight 是 Light2.0 工程的前端开发框架,在 vue2.x 的基础上提供了丰富的接口。

安装

olight 无需单独安装,开发者只需安装 lighting-plugin-type-vue 插件即可,type-vue 插件会自动加载 olight 框架。

使用

全局引入:

import Light from "light";

也可以在视图中直接调用:

this.$light.log("mounted");

文档

了解更多 light 框架的信息,请点击这里

更新记录

v1.4.49

  1. #142437 Light.ajax()请求的地址不是https协议时打印警告信息
  2. #143355 weex-vue-render4light中rem的计算逻辑中使用screen.width的宽度

v1.4.48

  1. #136009【框架】增加Light.navigateBack()路由回退

v1.4.47

  1. 补充readme.markdown

v1.4.46

  1. 相对路径跳转功能实现

2017.05.02

  1. #35528【lighitng】【开发框架】【路由器】增加导航前置拦截器
  2. #35530【lighting】【开发框架】增加全局数据的支持
  3. #35532【lighting】【开发框架】增加全局数据的监听能力
  4. 事件埋点的问题,按照新规则变为log类型
  5. 将Light.fetch集成到light.ajax中

v1.4.8

  1. #61586【lighting】Vue Router支持history模式
  2. 将requireModule转移到light上作为light的API
  3. 增加设置挂载el的节点的入参
  4. 增加设置viewport的能力(JSN)
  5. 将light变量注入vue中,以this.$light方式调用
  6. 在$router中新增link属性来记录视图跳转的链路
  7. navigate方法支持跳转http路径和打开js资源
  8. 转化pageappear事件为viewappear事件
  9. ajax: jsn环境下调用stream.fetch