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

ctx-old

v1.4.1

Published

Front-end package management, publish tools for CI & automation

Downloads

33

Readme

 _____   _____   _____   _____   _____  __    __ 
/  ___| /  _  \ |  _  \ |_   _| | ____| \ \  / / 
| |     | | | | | |_| |   | |   | |__    \ \/ /  
| |     | | | | |  _  /   | |   |  __|    }  {   
| |___  | |_| | | | \ \   | |   | |___   / /\ \  
\_____| \_____/ |_|  \_\  |_|   |_____| /_/  \_\ 

Cortex 是一个静态文件打包及发布工具。使用 Cortex 的项目,能够使用预设的滤镜及过滤规则进行打包,也可以根据自身的需要,在项目中进行灵活的配置。

安装及程序升级

见文档 doc/install.md

使用帮助

doc/usage.md

程序打包

ctx package [options]

只要指定了一个项目,Cortex 每次都会将这个项目打包到该项目的 .cortex/build/build-<timestamp> 文件夹中。

ctx package 包含多个参数,其中包括一些必要参数,他们是:

-e, --env		(必选)指定发布的环境。对一个名为 <config>.json 的配置文件,cortex 会尝试读取 <config>.<env>.json 的文件。该文件的优先级较低,若出现同名参数,可能会被显式指定的参数覆盖。对于点评来说,可选的参数有 'alpha', 'qa'(beta), 'product'

-c, --cwd		(可选)指定需要打包的项目所在的目录。若这个参数没有指定目录或者该参数的值为 `.`,则 Cortex 会使用当前工作目录

代码上传

ctx upload [options]

(未完待续)