# mgscarp-openinghours-serialize

> Serialize openinghours.

Latest version **0.0.1** (published 2015-09-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install mgscarp-openinghours-serialize
pnpm add mgscarp-openinghours-serialize
yarn add mgscarp-openinghours-serialize
bun add mgscarp-openinghours-serialize
```

## 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.0.1 |
| Published | 2015-09-10 |
| First published | 2015-09-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | antaranian |
| Keywords | schema, state |

## Links

- npm: https://www.npmjs.com/package/mgscarp-openinghours-serialize
- Repository: https://github.com/mgscarp/openinghours-serialize
- Issues: https://github.com/mgscarp/openinghours-serialize/issues
- npm.io page: https://npm.io/package/mgscarp-openinghours-serialize

## Dependencies (2)

- [lodash](https://npm.io/package/lodash.md) ^3.10.1
- [moment](https://npm.io/package/moment.md) ^2.10.6

## Alternatives

- [@reckona/mreact-store](https://npm.io/package/@reckona/mreact-store.md) — 976 weekly downloads
- [regular-state](https://npm.io/package/regular-state.md) — 410 weekly downloads
- [@pacote/flux-actions](https://npm.io/package/@pacote/flux-actions.md) — 65 weekly downloads
- [@pilotlab/lux-debug](https://npm.io/package/@pilotlab/lux-debug.md) — 39 weekly downloads
- [vue-persist-state](https://npm.io/package/vue-persist-state.md) — 19 weekly downloads

## Recent versions

- 0.0.1 (latest) — 2015-09-10

## README

# OpeningHours Serialize

Serialize `OpeningHours` to textual representation.

## Installation

~~~sh
$ npm install mgscarp-openinghours-serialize --save
~~~

## Usage

~~~js
var serialize = require('mgscarp-openinghours-serialize');

var data = [
        { from: 600, to: 840 },
        { from: 2040, to: 2280 },
        { from: 3480, to: 3720 }
    ];

// returns 'Mo-We 10:00-14:00'
serialize(data); 
~~~

## Tests

Run tests with Mocha

~~~sh
$ make test
~~~

### Check

- <https://schema.org/openingHours>
- <https://github.com/mgscarp/openinghours>

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