Skip to content

Commit 448a701

Browse files
committed
Readme & bump
1 parent 8061b0e commit 448a701

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ tns plugin add nativescript-downloader
1212

1313
## Usage
1414

15+
16+
```ts
17+
import { Downloader } from 'nativescript-downloader';
18+
Downloader.init() // <= Try calling this after the app launches to start the downloader service
19+
```
20+
1521
```ts
1622
import { Downloader } from 'nativescript-downloader';
1723
const downloader = new Downloader();

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-downloader",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "",
55
"main": "downloader",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)