Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
You will need node v0.10.21 and npm v1.3.11 (comes with node) or a more recent version in order to start using it.
Once you have node
and npm
on your machine, install with:
$ npm install -g fingi
Or just add sudo
if you need root access:
$ sudo npm install -g fingi
This should installs you a fingi
script in your $PATH
. The script also creates a
lmdb database at $HOME/.fingi
for storing device credentitals for convenience.
Remove the $HOME/.fingi
folder from your machine to start over with a fresh
installation.
Uninstalls by simply removing the module from your global install:
$ npm rm -g fingi
You can switch between staging and production environment by exporting a NODE_ENV
environment variable before running the command:
$ NODE_ENV=staging fingi connect cli-test # connects cli-test to staging node
$ NODE_ENV=production fingi connect cli-test # connects cli-test to production node
Or you can set the env
configuration key directly so the CLI use the given
environment by default.
$ fingi set env production # always works with production configuration.
Shows the help, obviously.
Sends an HTTP register POST message to the Fingi Operational Services server to obtain
authentication information for the specified device-id
. The device must be added to the
FOS first before this call will work.
Afterwards, the command will saves the returned authorization token and secret for you automatically for use with other commands.
Alternatively, you can set the authorization token and secret to use with the specified
device-id
directly by using this command.
Connects to the Fingi messsaging hub over an SSL connection. If a device-id
is specified
and there is authorization information saved for it previously, then an IDENTIIFY
line
is constructed and sent automatically for you to authorizes the connection as soon as it
is established.
Omit the device-id
to connects manually or experiment in unauthorized connection mode.
After the connection is established, typing into STDIN will send it directly to the hub.
Type QUIT
to terminate the connection.
Shows everything that's saved into your local database.
Shows information about device-id
or the specified key
that is saved in your local
database.
Prints the raw value of the specified key
from your local database.
Saves the given value to the specified key
in your local database. value
is
automatically converted to JSON when possible.
Removes a key from your local database. You can use this to remove information about device you no longer need or to reset configuration to default, for example.
MIT. See the LICENSE file for the full text.
FAQs
Official Fingi CLI tool.
We found that fingi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.