openurl

WebJar for openurl

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

openurl
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

openurl
WebJar for openurl
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/rauschma/openurl

Download openurl

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/openurl/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>openurl</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/openurl/
implementation 'org.webjars.npm:openurl:1.1.1'
// https://jarcasting.com/artifacts/org.webjars.npm/openurl/
implementation ("org.webjars.npm:openurl:1.1.1")
'org.webjars.npm:openurl:jar:1.1.1'
<dependency org="org.webjars.npm" name="openurl" rev="1.1.1">
  <artifact name="openurl" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='openurl', version='1.1.1')
)
libraryDependencies += "org.webjars.npm" % "openurl" % "1.1.1"
[org.webjars.npm/openurl "1.1.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

openurl – Node.js module for opening URLs

openurl is a Node.js module for opening a URL via the operating system. This will usually trigger actions such as:

  • http URLs: open the default browser
  • mailto URLs: open the default email client
  • file URLs: open a window showing the directory (on OS X)

Example interaction on the Node.js REPL:

> require("openurl").open("http://rauschma.de")
> require("openurl").open("mailto:[email protected]")

You can generate emails as follows:

require("openurl").mailto(["[email protected]", "[email protected]"],
    { subject: "Hello!", body: "This is\nan automatically sent email!\n" });

Install via npm:

npm install openurl

I’m not yet terribly familiar with implementing npm packages, so any feedback is welcome (especially experience reports on Windows and Linux, which I can’t test on).

Related reading:

Versions

Version
1.1.1