JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8278709
  • Score
    100M100P100Q286695F
  • License MIT

A better opn. Reuse the same tab on Chrome for 👨‍💻.

Package Exports

  • better-opn

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (better-opn) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

better-opn

A better opn. Reuse the same tab on Chrome for 👨‍💻. Inspire by create-react-app

Install

$ yarn add better-opn

$ npm install better-opn

Usage

If you wish to overwrite the default browser, override BROWSER environment variable to your desire browser name (name is platform dependent).

const opn = require('better-opn');

opn('http://localhost:3000');

Author