Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@clevertech.biz/browse

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clevertech.biz/browse

Command line utility to open links found in package.json

  • 0.1.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
11
increased by266.67%
Maintainers
1
Weekly downloads
 
Created
Source

Browse

Command line utility to open links found in package.json

Usage

Put in your package.json file a bunch of links with any tree strcuture you prefer. The leaves must be URLs.

{
  "browse": {
    "website": "https://example.com/",
    "sentry": "https://sentry.example.com/example/project-name/",
    "development": {
      "server": {
        "api": "https://api-dev.example.com/",
        "frontend": "https://dev-dev.example.com/"
      },
      "sumologic": {
        "api": "https://www.sumologic.com/whatever",
        "cms": "https://www.sumologic.com/whatever",
        "frontend": "https://www.sumologic.com/whatever"
      }
    }
  }
}

Now you have a few options:

Using npx

Just run this in the directory where your package.json file is:

npx github:clevertech/browse [path]

Installing locally

Install by using either:

npm install @clevertech.biz/browse -D
yarn install @clevertech.biz/browse -D

Add a local script in your package.json:

{
  "scripts": {
    "browse": "browse"
  }
}

Then run:

npm/yarn run browse [path]

Installing globally

npm/yarn install @clevertech.biz/browse -g

Then just run

browse [path]

Autocomplete

browse works in two different ways. If you don't provide any command line argument it will print all available links and an autocomplete interface.

If you provide the path, it will open the link right away.

FAQs

Package last updated on 22 Nov 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc