open

Open stuff like URLs, files, executables. Cross-platform.

MIT License

Downloads
171.8M
Stars
3.1K
Committers
54

Bot releases are hidden (Show)

open -

Published by sindresorhus over 3 years ago

  • Fix the app.argument option (#237) e127ae8

https://github.com/sindresorhus/open/compare/v8.0.3...v8.0.4

open -

Published by sindresorhus over 3 years ago

  • Hide PowerShell window on Windows (#235) 53faf7f

https://github.com/sindresorhus/open/compare/v8.0.2...v8.0.3

open -

Published by sindresorhus over 3 years ago

  • Fix a regression in v8.0.0 (#232) 26ee3d2

https://github.com/sindresorhus/open/compare/v8.0.1...v8.0.2

open -

Published by sindresorhus over 3 years ago

  • Fix Node.js 12 compatibility (#229) 71777b1

https://github.com/sindresorhus/open/compare/v8.0.0...v8.0.1

open -

Published by sindresorhus over 3 years ago

Breaking

  • Require Node.js 12 cde5c79
  • Removed deprecated url option
  • The app option now accepts an object instead of a string/array:
 await open('https://sindresorhus.com', {
-	app: 'firefox'
+	app: {name: 'firefox'}
 });
 await open('https://sindresorhus.com', {
-	app: ['chrome', '--incognito']
+	app: {name: 'google chrome', arguments: '--incognito'}
 });

Improvements

  • Add open.apps constants, which lets easily open Chrome and Firefox without cross-platform issues

https://github.com/sindresorhus/open/compare/v7.4.2...v8.0.0

open -

Published by sindresorhus over 3 years ago

  • WSL: Fix mount point issue (#224) f4df68a

https://github.com/sindresorhus/open/compare/v7.4.1...v7.4.2

open -

Published by sindresorhus over 3 years ago

  • Windows: Fix error with forward slashes in path (#220) db8eb8f
  • WSL: Get drives mount point from wsl.conf (#219) 36e9964

https://github.com/sindresorhus/open/compare/v7.4.0...v7.4.1

open -

Published by sindresorhus over 3 years ago

open -

Published by sindresorhus almost 4 years ago

  • Fix support for WSL when Windows isn't mounted in /mnt/ (#210) a3bbadc

https://github.com/sindresorhus/open/compare/v7.3.0...v7.3.1

open -

Published by sindresorhus about 4 years ago

  • Support WSL configuration where Windows paths are not in PATH (#195) be0f794

https://github.com/sindresorhus/open/compare/v7.2.1...v7.3.0

open -

Published by sindresorhus about 4 years ago

  • Fix app option on Windows (#191) 9bcd285

https://github.com/sindresorhus/open/compare/v7.2.0...v7.2.1

open -

Published by sindresorhus about 4 years ago

  • Use PowerShell on Windows for improved reliability (#188) f7ca0d3

https://github.com/sindresorhus/open/compare/v7.1.0...v7.2.0

open -

Published by sindresorhus over 4 years ago

open -

Published by sindresorhus over 4 years ago

  • Fix double-encoding of URLs (#182) 48b6d0e

https://github.com/sindresorhus/open/compare/v7.0.3...v7.0.4

open -

Published by sindresorhus over 4 years ago

  • Fix query strings on WSL (#171) 1e716b8
  • Fix app option on Windows (#172) 30f4abe

https://github.com/sindresorhus/open/compare/v7.0.2...v7.0.3

open -

Published by sindresorhus over 4 years ago

  • Fix Docker in WSL2 for real (#168) 2c1647d

https://github.com/sindresorhus/open/compare/v7.0.1...v7.0.2

open -

Published by sindresorhus over 4 years ago

  • Fix Docker in WSL2 (#164) 417c326
  • Fix URLs in WSL (#166) d8a508b

https://github.com/sindresorhus/open/compare/v7.0.0...v7.0.1

open -

Published by sindresorhus about 5 years ago

Breaking

  • Correctly handle URL and path escaping on Windows (#146) 7ef15d2
    If you use open with URLs, you'll want to use the new {url: true} option.
    Read more.

Enhancements

  • Add support for WSL 2 (#150) 12333bf

https://github.com/sindresorhus/open/compare/v6.4.0...v7.0.0

open -

Published by sindresorhus over 5 years ago

  • Add executable check for local xdg-open (#140) 78fcc9e

https://github.com/sindresorhus/open/compare/v6.3.0...v6.4.0

open -

Published by sindresorhus over 5 years ago

  • Use the system xdg-open on Linux when open is bundled/packaged (#134) c69fd06

https://github.com/sindresorhus/open/compare/v6.2.0...v6.3.0