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

@ftajs/cli

v0.0.4

Published

A CLI for FTA Product by AMH-Group

Downloads

11

Readme

ftajs cli

ftajs cli

--fork from napi/cli 处理 ftajs 使用在多平台 分发二进制产物的问题

oclif CircleCI GitHub license

Usage

$ npm install -g @ftajs/cli
$ ftajs COMMAND
running command...
$ ftajs (--version)
@ftajs/cli/0.0.4 darwin-arm64 node-v16.19.1
$ ftajs --help [COMMAND]
USAGE
  $ ftajs COMMAND
...

Commands

ftajs artifacts

处理下载下来的 Artifacts

USAGE
  $ ftajs artifacts [-c <value>] [--package-json-path <value>] [-o <value>] [--npm-dir <value>]

FLAGS
  -c, --cwd=<value>                [default: /Users/qiczhang/Documents/ymm2021/fta/cli-ftajs] The working directory of
                                   where napi command will be executed in
  -o, --output-dir=<value>         [default: ./artifacts] Path to the folder where all built `.node` files put
      --npm-dir=<value>            [default: npm] Path to the folder where the npm packages put
      --package-json-path=<value>  [default: package.json] Path to `package.json`

DESCRIPTION
  处理下载下来的 Artifacts

EXAMPLES
  $ ftajs artifacts
  artifacts successfully processed!

See code: src/commands/artifacts/index.ts

ftajs help [COMMAND]

display help for ftajs

USAGE
  $ ftajs help [COMMAND] [--all]

ARGUMENTS
  COMMAND  command to show help for

FLAGS
  --all  see all commands in CLI

DESCRIPTION
  display help for ftajs

See code: @oclif/plugin-help

ftajs prepublish

更新 package.json 文件并 将 二进制组件 复制到每个平台的包中。

USAGE
  $ ftajs prepublish [-c <value>] [--package-json-path <value>] [--config-path <value>] [-p <value>] [-t
    <value>] [--gh-release] [--gh-release-name <value>] [--gh-release-id <value>] [--dry-run]

FLAGS
  -c, --cwd=<value>                [default: /Users/qiczhang/Documents/ymm2021/fta/cli-ftajs] The working directory of
                                   where napi command will be executed in
  -p, --npm-dir=<value>            [default: npm] Path to the folder where the npm packages put
  -t, --tag-style=<value>          [default: lerna] git tag style, `npm` or `lerna`
      --config-path=<value>        Path to `napi` config json file
      --dry-run                    Dry run without touching file system
      --gh-release                 Whether create GitHub release
      --gh-release-id=<value>      Existing GitHub release id
      --gh-release-name=<value>    GitHub release name
      --package-json-path=<value>  [default: package.json] Path to `package.json`

DESCRIPTION
  更新 package.json 文件并 将 二进制组件 复制到每个平台的包中。

EXAMPLES
  $ ftajs prepublish -c ./ -p ./npm -t npm

See code: src/commands/prepublish/index.ts