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

binaryops

v0.1.0

Published

The command line client for BinaryOps.io

Downloads

7

Readme

BINARYOPS CLI

This is the official command line tool for BinaryOps.io. Use it to manage your BinaryOps.io APIs.

This tool is currently pre-release with alpha version. We will release a beta version soon.

Installing

To install the Binaryops CLI, simply npm install it globally.

$ npm install -g binaryops

Usage

Using the CLI is easy. This is the usage info we are intending to implement in the first beta release.

Usage: binaryops [options] [command]

Commands:

init Prompt for username and CLI token

Options:

-h, --help output usage information

-V, --version output the version number

-f, --filename [filename] the API definition file to be uploaded.

-a, --apicode [apicode] the API Code for the definition file to be uploaded.

-r, --runlocal [runlocal] the runlocal config file to be used for local execution of the server code.

-d, --debugbrk [debugbrk] Run the server code locally using the debug-brk flag on the node process.

Examples:

$ binaryops init

$ binaryops -f myApi.json -a abc123

$ binaryops --filename myApi.json --apicode abc123

To run a serverside function locally:

$ binaryops --runlocal localConfig.json

To debug a serverside function locally:

$ binaryops --runlocal localConfig.json --debugbrk

sample content for a localConfig.json:

{
	"api_code"    :"abs123",
	"tenant_code" : "tnt456",
	"functionFile"    : "<relative_path><serveside_function-file>.js",
	"args"        : {<your JSON object to be passed in to the function}");
}

Account Setup

To start, you may need an account. Visit BinaryOps.io and follow the links to signup for an account. All you need is a valid email address. When you are logged in, navigate to the User Profile page and obtain your cli token. You need the token for the init command.

$ binaryops init

Documentation

Please go to the BinaryOps.io documentation for the complete and up to date reference material.

License

Copyright (c) BinaryOps Software Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.