# world-exchanges

> Get opening and closing times of world exchanges.

Latest version **0.0.1** (published 2015-05-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install world-exchanges
pnpm add world-exchanges
yarn add world-exchanges
bun add world-exchanges
```

## 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-05-28 |
| First published | 2015-05-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Miguel Mota |
| Maintainers | miguelmota |
| Keywords | function, compose, flow, backflow |

## Links

- npm: https://www.npmjs.com/package/world-exchanges
- Repository: https://github.com/miguelmota/world-exchanges
- Issues: https://github.com/miguelmota/world-exchanges/issues
- npm.io page: https://npm.io/package/world-exchanges

## Recent versions

- 0.0.1 (latest) — 2015-05-28

## README

# world-exchanges

> Get opening and closing times of world exchanges.

Data from *[List of stock exchange opening times](https://en.wikipedia.org/wiki/List_of_stock_exchange_opening_times)* Wikipedia page.

[![NPM](https://nodei.co/npm/world-exchanges.png)](https://nodei.co/npm/world-exchanges)

# Install

```bash
npm install world-exchanges
```

# Usage

```javascript
var worldExchanges = require('world-exchanges');

console.log(new Date()); // "Thu May 28 2015 13:43:31 GMT-0700 (PDT)"
console.log(worldExchanges('NYSE').isOpen(/* optional Date */)); // false
console.log(worldExchanges('NYSE').isClosed(/* optional Date */)); // true
console.log(worldExchanges('NYSE').getOpenTime()); // "2015-05-28T14:30:00.000Z" (always in GMT)
console.log(worldExchanges('NYSE').getCloseTime()); // "2015-05-28T21:00:00.000Z" (always in GMT)
console.log(worldExchanges('NYSE').getTimezone()); // "EST"
console.log(worldExchanges('NYSE').getTimezoneDelta()); // "-5"
console.log(worldExchanges('NYSE').getName()); // "New York Stock Exchange (NYSE)"
console.log(worldExchanges.getList()); // ['AMS', 'ASE', 'ASX', 'BCBA', ...]
```

# Test

```bash
npm test
```

Crawl Wikipedia page and save data to JSON file.

```bash
npm run-script crawl
```

# License

MIT

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