diff --git a/.travis.yml b/.travis.yml index 5db325c..cea9e7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,7 @@ node_js: - "8.6.0" before_install: - npm install coveralls - - npm install mocha-lcov-reporter -script: npm run-script coveralls +after_success: npm run coveralls branches: only: - master diff --git a/README.md b/README.md index 42f580a..c3cb419 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,10 @@ require(['your/path/sha256.js'], function(sha256) { // ... }); ``` +or TypeScript +```TypeScript +import { sha256, sha224 } from 'js-sha256'; +``` ## Example ```JavaScript sha256(''); // e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855