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

tieens

v3.1.1

Published

- Ổn định. - LiveScript 1.6.0

Downloads

67

Readme

1.0.0

  • Ổn định.
  • LiveScript 1.6.0

1.0.1

  • Viết lại hàm repeatString$, import$.

1.0.2

  • Sửa cú pháp range, tránh tạo ra mã quá lớn, vd: [44 to 1263].
  • Đoạn mã sửa đổi:
    • gốc: ||"["===t[e-1][0]&&"STRNUM"===t[e+1][0]&&("]"===
    • sửa: ||""===t[e-1][0]&&"STRNUM"===t[e+1][0]&&(""===

1.0.3

  • Cú pháp range ký tự không hoạt động đúng, vui lòng không sử dụng, vd: [\a to \z].

1.0.4

  • Thêm fontawesome và các phông chữ liên quan.

1.0.5

  • Viết lại hàm import$, toán tử <<< bây giờ chính là Object.assign, còn <<<< thì kiểm tra hasOwnProperty mỗi phần tử.
  • Viết lại hàm repeatArray$.

1.0.6

  • Thêm thư viện popper-max-size-modifier.

1.0.7

  • Sửa thư viện popper-max-size-modifier, đoạn detectOverflow.

1.0.8

  • Sửa thư viện popper-max-size-modifier, thêm vào window.

1.0.9

  • Thêm thư viện js-yaml, cho phép giá trị yes, no như boolean.

1.1.0

  • Thêm thư viện pug.

1.1.1

  • Thêm thư viện bro-fs, sửa thông tin trả về của hàm fs.stat.

1.1.2

  • Viết lại thư viện LiveScript, phiên bản 1.6.1, vẫn như lúc đầu nhưng không dùng arrow function nữa, cú pháp range ký tự bây giờ compile bình thường nhưng tránh dùng vì có thể tạo ra mã khá lớn.

1.1.5

  • Gọi livescript.go() tự động sau khi onload.

2.0.2

  • LiveScript: thêm bigint; nội suy gồm @; sửa hàm in$; regex flag từ gimy sang gimsuy; compilePow trả về ** thay vì Math.pow; thêm toán tử //, chia làm tròn floor; cú pháp heregex bây giờ là /// thay vì //, không bỏ qua khoảng trắng trừ các khoảng trắng bắt đầu comment.
  • Thêm tập tin livescript.sublime-syntax.

2.0.4

  • LiveScript: dùng ES6 spread khi có thể khi compile params; dùng hàm repeatString$, repeatArray$ khi số lần lặp >= 2.

2.0.5

  • LiveScript: destruct tham số Arr hoặc Obj trong hàm sẽ tự động gán giá trị mặc định là [] hoặc {}.

2.0.6

  • Update livescript.sublime-syntax, sửa đoạn cú pháp regex.

2.0.9

  • Update livescript.sublime-syntax.
  • Thêm boot.min.js, dùng để tải tập tin index.ls và index.styl.
  • Sửa hàm livescript.go từ onload sang DOMContentLoaded.

2.1.0

  • LiveScript: sửa hàm deheregex compile lỗi cú pháp heregex ký tự xuống dòng ở cuối.
  • Update livescript.sublime-syntax, toán tử not:=, and:=, or:=.

2.2.0

  • LiveScript: biên dịch ~> thành hàm mũi tên =>, tại đoạn string interpolation compile biến với @ (vd: "str #@v") chỉ biết làm compile thành "this." k biết làm compile thành "this$.", vì compile thành => nên cú pháp vd ((a, ...b, c) !~>) sẽ k sử dụng đc, vì nó compile sử dụng arguments; sửa arrayFrom$ từ function thành hàm mũi tên.

2.2.1

  • Thêm tập tin stylus.sublime-syntax.
  • Thêm tập tin pug.sublime-syntax.

3.0.0

  • Loại bỏ toán tử // chia làm tròn floor.
  • Cú pháp heregex bây giờ quay lại cú pháp ban đầu, dùng // thay vì ///.
  • Cập nhật cú pháp livescript.sublime-syntax.

3.0.1

  • Sửa hàm clone$, dùng Object.create.
  • Sửa hàm arrayFrom$, thêm tham số 0 vào slice.

3.0.2

  • Sửa lại hàm clone$, dùng Object.assign.

3.1.0

  • Bỏ compile hàm import thành import$, import sẽ có chức năng như trong js.

3.1.1

  • Thêm flag d cho regex (gimsuy -> dgimsuy).
  • Compress livescript.min.js với ecma 8, unsafe_methods, unsafe_proto.