# chrome-app

> start a simple chrome app from node

Latest version **0.1.0** (published 2014-10-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install chrome-app
pnpm add chrome-app
yarn add chrome-app
bun add chrome-app
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-10-08 |
| First published | 2014-10-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tom MacWright |
| Maintainers | tmcw |
| Keywords | chrome, app, start, binary |

## Links

- npm: https://www.npmjs.com/package/chrome-app
- Repository: https://github.com/tmcw/chrome-app
- Issues: https://github.com/tmcw/chrome-app/issues
- npm.io page: https://npm.io/package/chrome-app

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2014-10-08
- 0.0.0 — 2014-10-06

## README

# chrome-app

Launch a no-UI Chrome App from nodejs. Extracted
from Rod Vagg's [morkdown](https://github.com/rvagg/morkdown) project.

## install

    npm install --save chrome-app

## example

```js
http.createServer(function(request, response) {
  response.writeHead(200, {"Content-Type": "text/plain"});
  response.end("Hello World\n");
}).listen(null, function(err, res) {
  chromeApp(this.address().address + ':' + this.address().port);
});
```

## api

```js
chromeApp(url, [name])
```

Given a URL, open a new Chrome window with that URL as an app. The window
will close when the process exits, and the process will exit when the window
is closed.

`name`, if given, is a string representing a directory under `~` where Chrome's
user data will be stored. In practical terms, it's your app name.

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