Skip to content

Commit 68ffecd

Browse files
committed
update README and travis config
1 parent 3204c37 commit 68ffecd

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ node_js:
44
- "8.6.0"
55
before_install:
66
- npm install coveralls
7-
- npm install mocha-lcov-reporter
8-
script: npm run-script coveralls
7+
after_success: npm run coveralls
98
branches:
109
only:
1110
- master

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ require(['your/path/sha256.js'], function(sha256) {
6363
// ...
6464
});
6565
```
66+
or TypeScript
67+
```TypeScript
68+
import { sha256, sha224 } from 'js-sha256';
69+
```
6670
## Example
6771
```JavaScript
6872
sha256(''); // e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

0 commit comments

Comments
 (0)