# applink

> Open apps with a URI Scheme from a webpage

Latest version **0.1.0** (published 2015-02-01) · 0 weekly downloads

## Install

```sh
npm install applink
pnpm add applink
yarn add applink
bun add applink
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2015-02-01 |
| First published | 2015-02-01 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Mathieu Triay |
| Maintainers | mathieuloutre |

## Links

- npm: https://www.npmjs.com/package/applink
- Repository: https://github.com/MathieuLoutre/applink
- Homepage: http://github.com/MathieuLoutre/applink/
- Issues: https://github.com/MathieuLoutre/applink/issues
- npm.io page: https://npm.io/package/applink

## Recent versions

- 0.1.0 (latest) — 2015-02-01

## README

# AppLink

> Open apps with a URI Scheme from a webpage

AppLink allows you to open apps with a URI Scheme from a webpage instead of for instance opening widgets. Useful for Facebook, Tiwtter, Pinterest sharing.

## Usage

Install using bower: `bower install applink`  
Or using npm: `npm install applink`  
Or just by downloading the [tarball](https://github.com/MathieuLoutre/applink/archive/master.zip)

```js

	var twitter = new AppLink()

	twitter.open({
		error: function () {
			window.open(encodeURI("https://twitter.com/intent/tweet?text=Look at this awesome thing"), "_blank", "toolbar=0,personalbar=0,resizable,scrollbars,status,width=550,height=450,top=" + Math.round((screen.height - 450)/2) + ",left=" + Math.round((screen.width - 550)/2))
		},
		success: function () {},
		nativeURL: encodeURI("twitter://post?message=Look at this awesome thing")
	})

```

## TODO

- Testing

## Changelog

- 0.1.0 - First release

---
_Source: https://npm.io/package/applink · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
