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

@unified-ux/cli

v2.0.0

Published

CLI for developing, documenting and wrapping Unified UX components

Downloads

164

Readme

@unified-ux/cli

CLI for developing, documenting and wrapping Unified UX components

oclif Version Downloads/week License

Usage

$ npm install -g @unified-ux/cli
$ uux COMMAND
running command...
$ uux (-v|--version|version)
@unified-ux/cli/2.0.0 linux-x64 node-v12.18.4
$ uux --help [COMMAND]
USAGE
  $ uux COMMAND
...

Commands

uux doc [INPUT]

Generates web component documentation via mustache templates

USAGE
  $ uux doc [INPUT]

OPTIONS
  -d, --outDir=outDir      Specify the output directory for the documentation, by default this will be the same as the
                           found component, the outFile will default to the component name

  -h, --help               show CLI help

  -j, --json               Outputs json instead of docs

  -o, --outFile=outFile    [default: README.md] Specify the output file for the documentation, by default this will be a
                           markdown file of README.md

  -t, --template=template  Specify the mustache template file for the documentation, if not provided a default template
                           will be used

EXAMPLES
  $ uux doc ../packages/web/src
  $ uux doc ../packages/web/src --template blueprint.mustache --outFile README.md

uux generate [SCHEMATIC] [NAME]

Generates and/or modifies files based on a schematic.

USAGE
  $ uux generate [SCHEMATIC] [NAME]

OPTIONS
  -f, --force                        Using force will override any folders and files that already exist.
  -h, --help                         show CLI help
  -p, --prefix=prefix                The prefix to apply to the generated component selector.
  --folderPath=folderPath            For a new component, puts the generated files in the specified folder
  --storyFolderPath=storyFolderPath  For a new component, puts the generated story file only in specified folder

EXAMPLES
  $ uux generate component my-text-field
  $ uux generate library my-library

uux help [COMMAND]

display help for uux

USAGE
  $ uux help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

uux maestro [INPUT]

Generate Unified UX components in a Maestro Component library

USAGE
  $ uux maestro [INPUT]

OPTIONS
  -h, --help           show CLI help
  -o, --output=output  Output directory
  -z, --zip=zip        Archive as a Maestro Library Zip file

EXAMPLE
  $ uux maestro "packages/web/src/**/*.ts" --output "packages/maestro/src" --zip dist

uux sass [INPUT]

Render sass into a template, used for importable style modules in components

USAGE
  $ uux sass [INPUT]

OPTIONS
  -h, --help               show CLI help
  -s, --suffix=suffix      [default: -css.ts] Output file suffix, default is "css.ts"
  -t, --template=template  Template file to use, must use `<% content %>` as delimiter

EXAMPLE
  $ uux sass "packages/web/src/!(theme)/*.scss" --template sass-template.js --suffix css.ts