Open stuff like URLs, files, executables. Cross-platform.
MIT License
Bot releases are visible (Hide)
app.argument
option (#237) e127ae8https://github.com/sindresorhus/open/compare/v8.0.3...v8.0.4
https://github.com/sindresorhus/open/compare/v8.0.2...v8.0.3
https://github.com/sindresorhus/open/compare/v8.0.1...v8.0.2
https://github.com/sindresorhus/open/compare/v8.0.0...v8.0.1
url
optionapp
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'}
});
open.apps
constants, which lets easily open Chrome and Firefox without cross-platform issueshttps://github.com/sindresorhus/open/compare/v7.4.2...v8.0.0
https://github.com/sindresorhus/open/compare/v7.4.1...v7.4.2
https://github.com/sindresorhus/open/compare/v7.4.0...v7.4.1
wslu
(#217) 315a480https://github.com/sindresorhus/open/compare/v7.3.1...v7.4.0
/mnt/
(#210) a3bbadchttps://github.com/sindresorhus/open/compare/v7.3.0...v7.3.1
https://github.com/sindresorhus/open/compare/v7.2.1...v7.3.0
app
option on Windows (#191) 9bcd285https://github.com/sindresorhus/open/compare/v7.2.0...v7.2.1
https://github.com/sindresorhus/open/compare/v7.1.0...v7.2.0
allowNonzeroExitCode
option (#176) e009765https://github.com/sindresorhus/open/compare/v7.0.4...v7.1.0
https://github.com/sindresorhus/open/compare/v7.0.3...v7.0.4
app
option on Windows (#172) 30f4abehttps://github.com/sindresorhus/open/compare/v7.0.2...v7.0.3
https://github.com/sindresorhus/open/compare/v7.0.1...v7.0.2
https://github.com/sindresorhus/open/compare/v7.0.0...v7.0.1
open
with URLs, you'll want to use the new {url: true}
option.https://github.com/sindresorhus/open/compare/v6.4.0...v7.0.0
https://github.com/sindresorhus/open/compare/v6.3.0...v6.4.0
xdg-open
on Linux when open
is bundled/packaged (#134) c69fd06https://github.com/sindresorhus/open/compare/v6.2.0...v6.3.0