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

ljgxwcocli

v1.0.1

Published

Command line interface for rapid LCUI development

Downloads

3

Readme

lcui-cli

GitHub Actions codecov

简介

(English/中文)

LCUI CLI 是一个能帮助你快速开发 LCUI 应用程序的工具,提供:

  • 项目脚手架。
  • 类似于 Webpack 的编译器,能靠加载器加载特定类型的文件并将其编译为 C 代码。现有以下加载器:
    • ts-loader:加载 JavaScript、TypeScript 文件,支持 JSX 语法。你可以像编写 React 组件一样编写 LCUI 部件。
    • css-loader:加载 CSS 文件,支持 CSS Modules 写法。
    • sass-loader: 加载 Sass/SCSS 文件并将其编译为 CSS。
    • json-loader:加载 JSON 文件,允许你以 JSON 格式描述界面。
    • xml-loader:加载 XML 文件,允许你以 XML 格式描述界面。
    • yaml-loader:加载 YAML 文件,允许你以 YAML 格式描述界面。

LCUI CLI 致力于将 LCUI 生态中的工具基础标准化。

安装

在安装这个工具之前,你需要在你的计算机上安装这些依赖:

之后,运行:

npm install -g @lcui/cli
# 或者
yarn global add @lcui/cli

使用

创建一个 LCUI 应用程序项目:

lcui create my-project

编译 src 目录内的所有文件:

lcui compile src

编译单个文件:

lcui compile src/pages/home/index.tsx

许可

MIT