# lws-myword

> `local-web-server` middleware to serve MyWord document requests.

Latest version **0.1.0** (published 2018-02-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install lws-myword
pnpm add lws-myword
yarn add lws-myword
bun add lws-myword
```

## 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 | 2018-02-11 |
| First published | 2018-02-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=7.6 |
| Dependencies | 0 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Rick Workman |
| Maintainers | ridgeworks |
| Keywords | lws, myword |

## Links

- npm: https://www.npmjs.com/package/lws-myword
- Repository: https://github.com/ridgeworks/lws-myword
- Homepage: https://github.com/ridgeworks/lws-myword#readme
- Issues: https://github.com/ridgeworks/lws-myword/issues
- npm.io page: https://npm.io/package/lws-myword

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2018-02-11

## README

# lws-myword
An npm package implementing a middleware layer for `local-web-server' running on Node.js which dynamically builds an HTML host for URLs referencing MyWord documents.

### Installation

After installing and testing `local-web-server` for Node.js:

	npm install -g lws-myword

### Usage

Insert `lws-myword` or `myword` to the middleware stack before `static``, e.g.,

	ws --stack myword static index

Hint: use the `ws` command line parameter `-h` to verify proper middleware configuration.

`lws-myword` implements two command line parameters:
+`myword.dir		`- directory containing `lib/` from MyWord release, defaults to `/myword`.
+`myword.scripts	`- additional scripts to be loaded; relative URLs from `myword.dir`.

Example:

	ws --myword.dir /myword/dist --myword.scripts CustomElements/custom-elements.min.js --stack myword static index

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