Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.42 KB

npx.md

File metadata and controls

32 lines (21 loc) · 1.42 KB

npx(1)

Examples

npx alex README.md                                   # check text for insensitive or inconsiderate writing
cat README.md | npx alex

npx http-server                                      # run a static web server in your current directory
npx json-server data.json                            # run a mock REST API server
echo -e "\033[33m hello" | npx strip-ansi-cli        # remove terminal color codes from piped text

npx sort-package-json                                # sort your package.json keys
npx nsp check                                        # scan your npm project for vulnerabilities and security alerts
npx npm-check                                        # interactively update npm dependencies
npx npm-check --skip-unused --update

npx figlet-cli text                                  # ascii text generator
echo hello | npx lolcatjs                            # colorful rainbow text

PlantUML

npx --package node-plantuml puml generate --unicode --text "A -> B: Hello"

Export medium stories

npx mediumexporter \<medium-url> > file.md            # export a medium story to markdown
npx mediumexporter \<medium-url> | glow -             # export a medium story to terminal

Make any web page a desktop application

npx nativefier web.whatsapp.com
npx nativefier teams.microsoft.com --internal-urls '(.*?)' -n "Microsoft Teams" -p linux