Skip to content

Commit c68428d

Browse files
committed
Edited readme and changelog
1 parent c245ea2 commit c68428d

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to the "haiti localities" extension will be documented in th
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

7+
## 1.0.4 - 26th July, 2020
8+
9+
### Enhancement
10+
11+
- Edited readme file
12+
713
## 1.0.0 - 26th July, 2020
814

915
### Initial version

README.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,38 @@ Via [npm](https://www.npmjs.com/):
2929
npm install @snippetify/haiti-localities
3030
```
3131

32-
In a browser:
32+
Via [yarn](https://yarnpkg.com/):
33+
34+
```bash
35+
yarn add @snippetify/haiti-localities
36+
```
37+
38+
**In a browser via a script tag:**
3339

3440
```html
35-
<script src="node_modules/@snippetify/haiti-localities/dist/haiti-localities.js"></script>
41+
<script src="haiti-localities.js"></script>
3642
```
3743

38-
In [Node.js](https://nodejs.org/):
44+
**CommonJS module require:**
3945

4046
```js
4147
const haitiLocalities = require("@snippetify/haiti-localities")
4248
```
4349

50+
**ES2015 module import:**
51+
52+
```js
53+
import haitiLocalities from "@snippetify/haiti-localities"
54+
```
55+
56+
**AMD module require:**
57+
58+
```js
59+
require(['haitiLocalities'], function (haitiLocalities) {
60+
// ...
61+
});
62+
```
63+
4464
## API
4565

4666
### `haitiLocalities.getCounties()`

0 commit comments

Comments
 (0)