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

frtz

v0.4.3

Published

Access your FRITZ!Box configuration from the command line without using its web UI.

Downloads

11

Readme

Usage

$ npm install -g frtz

$ frtz setup # this saves your hostname, username and optionally password to the config file
$ frtz devices:list # list network devices

$ frtz --help devices:list
List both online and offline devices.

USAGE
  $ frtz devices:list

OPTIONS
  -P, --profile=profile    use a profile
  -h, --host=host          set hostname
  -p, --password=password  set password
  -s, --save               save output to dataDir
  -u, --user=user          set username
  -x, --extended           show extra columns
  --output=csv|json|yaml   output in a more machine friendly format

ALIASES
  $ frtz list
  $ frtz l

EXAMPLE
  $ frtz list -s -x -P work

Commands

frtz config:profiles

Lists the configured profiles

USAGE
  $ frtz config:profiles

OPTIONS
  -p, --showPassword  display password

ALIASES
  $ frtz listprofiles
  $ frtz profiles
  $ frtz lp

See code: src\commands\config\profiles.js

frtz config:show [TYPE]

Show the locations of config and cache files

USAGE
  $ frtz config:show [TYPE]

ARGUMENTS
  TYPE  (config|cache) [default: config] choose what to open

See code: src\commands\config\show.js

frtz devices:list

List both online and offline devices.

USAGE
  $ frtz devices:list

OPTIONS
  -P, --profile=profile    use a profile
  -h, --host=host          set hostname
  -p, --password=password  set password
  -s, --save               save output to dataDir
  -u, --username=username  set username
  -x, --extended           show extended output (ipv6, connection type)
  --active                 show only active devices
  --passive                show only passive devices

ALIASES
  $ frtz list
  $ frtz l

EXAMPLE
  $ frtz list -s -x -P work

See code: src\commands\devices\list.js

frtz devices:wake DEVICE

Wake a device from sleep with your FRITZ!Box

USAGE
  $ frtz devices:wake DEVICE

ARGUMENTS
  DEVICE  The device to wake. Can be IP address, hostname or mac address.

OPTIONS
  -P, --profile=profile    use a profile
  -h, --host=host          set hostname
  -p, --password=password  set password
  -u, --username=username  set username

ALIASES
  $ frtz wake
  $ frtz w

EXAMPLES
  $ frtz wake 127.0.0.1
  $ frtz w mycomputer

See code: src\commands\devices\wake.js

frtz help [COMMAND]

display help for frtz

USAGE
  $ frtz help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

frtz setup

Save configuration for fast access

USAGE
  $ frtz setup

OPTIONS
  -P, --profile=profile    save to a profile
  -h, --host=host          set hostname
  -p, --password=password  set password
  -u, --username=username  set username

DESCRIPTION
  Run the command without flags for interactive prompts or with flags to save them instantly.
  This saves:
  -Hostname
  -Username
  -Password (optional)

  You can also save it to a specific profile using -P.

See code: src\commands\setup.js